Hey guys,
In Deluge, I'm getting all my items from Zoho Books into a map. And now I want to insert all Item Names into a dropdown list in the form onLoad(). How can I do that?
I know I can add stuff to my dropdown list doing this:
- Dropdown:ui.add("Item_name");
I'm getting the items likes this:
- myMap = zoho.books.getRecords("Items", "123456789", "name");
I'm doing info myMap and it returns this:
- {"code":0,"message":"success","page_context":"{\"per_page\":200,\"sort_column\":\"name\",\"custom_fields\":\"[]\",\"applied_filter\":\"Status.All\",\"has_more_page\":false,\"page\":1,\"report_name\":\"Itens\",\"sort_order\":\"A\"}","items":"[{\"created_time\":\"2017-02-21T11:52:03+0000\",\"reorder_level\":\"\",\"last_modified_time\":\"2017-02-21T11:52:03+0000\",\"item_id\":\"571662000000056054\",\"item_type\":\"sales_and_purchases\",\"tax_name\":\"\",\"is_linked_with_zohocrm\":false,\"purchase_rate\":1.23,\"description\":\"\",\"item_name\":\"Farinha Teste\",\"has_attachment\":false,\"source\":\"user\",\"zcrm_product_id\":\"\",\"tax_id\":\"\",\"purchase_description\":\"\",\"image_name\":\"\",\"product_type\":\"goods\",\"purchase_account_id\":\"571662000000034003\",\"purchase_account_name\":\"Custo de produtos vendidos\",\"rate\":10,\"name\":\"Farinha Teste\",\"tax_percentage\":0,\"sku\":\"\",\"status\":\"active\"}]"}
How idea how to do this?