Need help with Deluge syntax for invoice item_custom_fields

Need help with Deluge syntax for invoice item_custom_fields

I need to set the value of an Invoice item_custom_fields 

The api_name is "cf_logo" and the value is from a custom picklist.

1. How can I get a list of all the "selected_option_id" values for the custom field "cf_logo"? 
2. What is the complete PUT syntax to add it to my line Items map

Here's my attempt which fails
  1. // Make another map for the invoice line items
  2. invoice_item = Map();
  3. // The ID stored in the Deal subform is the zcrm_product_id. Use this to find the item_id in books.
  4. itemid = element.get("Product").get("id");
  5. zcrm_product_id = zoho.books.getRecords("Items",books_organization_ID,"zcrm_product_id=" + itemid,"books_items_all").toMap();

  6. // Assemble the Invoice line item
  7. invoice_item.put("item_id",zcrm_product_id.Get("items").get(0).toMap().get("item_id"));
  8. invoice_item.put("quantity",item.get("Quantity").toString());
  9. custom_fields = list();
  10. custom_field_size = map();
  11. custom_field_size.put("Size", "cf_size");
  12. custom_field_size.put("value", ifnull("2274626000003483460",""));
  13. custom_fields.add(custom_field_size);
  14. invoice_item.put(custom_fields);





                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                              Zoho TeamInbox Resources

                                                Zoho DataPrep Resources



                                                  Zoho CRM Plus Resources

                                                    Zoho Books Resources


                                                      Zoho Subscriptions Resources

                                                        Zoho Projects Resources


                                                          Zoho Sprints Resources


                                                            Qntrl Resources


                                                              Zoho Creator Resources


                                                                Zoho WorkDrive Resources



                                                                  Zoho Campaigns Resources

                                                                    Zoho CRM Resources

                                                                    • CRM Community Learning Series

                                                                      CRM Community Learning Series


                                                                    • Tips

                                                                      Tips

                                                                    • Functions

                                                                      Functions

                                                                    • Meetups

                                                                      Meetups

                                                                    • Kbase

                                                                      Kbase

                                                                    • Resources

                                                                      Resources

                                                                    • Digest

                                                                      Digest

                                                                    • CRM Marketplace

                                                                      CRM Marketplace

                                                                    • MVP Corner

                                                                      MVP Corner

                                                                    





                                                                    




                                                                        Design. Discuss. Deliver.

                                                                        Create visually engaging stories with Zoho Show.

                                                                        Get Started Now