
Hi guys,
I have a form which contain header and detail and have developed it similar like Sales Order form which has main grid then we can click to see detail, it will show the header and details per items.
Issue is, at the front, when it is just main grid, I have a button (at top action pane) to update this header and detail. After the button is click which mean the process is done, I notice the information that I updated in header (main grid) is auto-refresh, which is good, but when I click inside, in the details view per item, I notice the information in details are not updated. I have to click refresh button then the details shows correctly.
How to make the details also refresh ?
Thanks,
Hi ShaqAX,
You are calling button on the action pane to update header and details right?
From there you need to refresh the caller datasource - Most probably that menu item on the action pane will be class I guess.
Refer to the below link for refreshing form caller datasource from class.
https://allaboutdynamic.com/2018/07/08/d365-ax7refresh-caller-form-datasource-from-a-class/
Thanks,
Girish S.