Subform field actions not working in parent form

Subform field actions not working in parent form

I am creating a sales order form that will have a subform, called products, that has a lookup field that searches ZOHO CRM-Products.  The products form also has a quantity field and a price field.

I added a field action to the lookup field that populates the price field with the price of the product selected using this:

  1. crmResp = zoho.crm.getRecordById("Products", input.Product_ID);
  2. x = crmResp.get("Unit Price");
  3. input.Price = x;

This works fine.  However, when I access the the subform through the main form, called sales order, the field action does not execute.  Does anybody know how to make the same action (populating the price field of the product selected) when the subform is accessed through a parent form