I see that there are alot of conversations about mass creating records from a different object but I am having a hard time taking all the different JS snippets and making them work for my case. Any help would be greatly appreciated!
I have an object entitled Upsell__c that connects items to a parent item. This is to create “packages” to sell. In the Upsell__c object you have two lookups to the Item__c object. One lookup for the main item and the other lookup for the child item.
On a Skuid page I have a table connected to the Items__c object with a draw showing any upsell or “child” items.
I need to be able to add all of these items to the CustomerQuotationLine__c object with one button. The caveat is not all parent items will have a child. Currently I can add the “main” or “parent” item through the action framework but that is just creating one row. I need to create a row for the parent and all its children.
For example if Item A has 3 child items. I need to be able to create 4 new rows on the CustomerQuotationLine__c object.
Question
Mass Create Records for parent" and all "children" of a record"

Translate
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.