Reputation: 21
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.
Upvotes: 0
Views: 961
Reputation: 11544
Your +New
button is most likely a command button
and 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 Button
with a different DataSource if you want the button to do two new records at the same time.
Upvotes: 1