How can we allow a Dynamics AX form to allow saving data on the grid to two independent tables:

When I click on +New it always adds the row to the first grid. We are looking for a way to add row independently for each grid on this form.
Copyright © 2021 Jogjafile Inc.
Your
+Newbutton is most likely acommand buttonand has a single associated DataSource or inherited DataSource. So when you click+New, it can only do the single one.See: https://learn.microsoft.com/en-us/dynamicsax-2012/developer/action-pane-button-overview
So you need to write some code or add a second
Command Buttonwith a different DataSource if you want the button to do two new records at the same time.