I am trying to use the Update Value button for populating several new subtable records at once.
My case use is a form for handling deliveries, where a subtable lists all the documents needed for such delivery, as a sort of checklist.
My goal is when hitting the button several subtable records should be created, each with a different value in the Document type field. i.e. a delivery checklist would include:
- pertaining purchase order
- pertaining sale order
- pertaining purchase invoice
- pertaining sale invoice
- pertaining certificate of origin
- pertaining bill of lading
Each of these values should be automatically populated in a new subtable record (within the same subtable) so that checklist would be done automatically and no document check forgotten.
Currently, when I create an Update Value button and I list there multiple occurrences of the same subtable field, with multiple values, only the last one gets saved in the button action.