I'm tasked with creating a layout that allows users to create a new order. I've written script for this task, however, I can't get it to account for buttons. Neither the "Add_Order_Line" or "Delete_Order_Line" work. Moreover, I'm not sure how to configure a process that saves the entire record (and subsequent related records) and confirms with the user that the order has been saved. I've attached screenshots of my work
Any input is greatly appreciated!





In the relationship graph make sure that you have allow creation of records in this table checked[UI of where the setting is]. This script outlines what's required and the rest you should be able to manage. enter image description here