How can I get "Product Details" products from Sales Orders by script?

How can I get "Product Details" products from Sales Orders by script?

I want to get by script the products that are written on Product Details at Sales Orders, but i don't know how...
I mean something like this:

sale = zoho.crm.getRecordById("SalesOrders","2143556000000143206");
products=map();
products.put("Products Name", sal.get("Products Name"));
products.put("Unit Price", sal.get("Unit Price"));
products.put("Quantity", sal.get("Quantity"));

Any answer?? 
Thanks.