I need to add a new master record (order) then order details for that new order with a single click. What is the best approach to this?
I was going to have a form where you enter details for the master record, then another form to enter the order details, click a single button and it adds the master record first, gets the ID from that entered record and then adds the detail records and use the ID from the master record created.
Any easier or more structured approach?
I was going to have a form where you enter details for the master record, then another form to enter the order details, click a single button and it adds the master record first, gets the ID from that entered record and then adds the detail records and use the ID from the master record created.
Any easier or more structured approach?