Perhaps this method can help you with this: Using Call API and Glide API to add rows to related tables. Also...JSON Object!
In it I’m using Call API and Glide API to create a parent record and a number of related records with one action.
Perhaps this method can help you with this: Using Call API and Glide API to add rows to related tables. Also...JSON Object!
In it I’m using Call API and Glide API to create a parent record and a number of related records with one action.