Dynamically Update Subform via Deluge
Currently I have a main form for Orders, a subform for the Model information and a Product form for each individual asset. The order form has the Model Form as a subform and the Model form has a serial number field which is multiline. I have a script, that works properly, to create an entry into the Product form for each serial entry. On the model form I have a sub form linked to the Product Form. After the script runs the subform in model form never updates. In my script I have assigned a lookup field back to the Model Form ID which gets assigned when the record gets created. In red is the linked field, but I cannot get it to show on the subform in Model Form.
for each serial in serials
{
insert into Product_Form
[
Added_User = zoho.loginuser
Asset_Tag = ""
Hostname = hostname.get(i)
Manufacturer = input.Manufacturer
Model = input.Model
Model_Form = input.ID
Product = input.Product
Serial_Number = serial
Type = input.Type
]
i = (i + 1);
}