Dear All,
Greetings. Hope all are safe
Sorry if this sounds a common sense question but i m stuck
I have two customized table(header and line table) in AX 2012
A new form is dveloped where the dataource is the header and line table
I have a button on form which will explicit change the status at line level
Say header mainmachine is TEST001, Status-Open
Line(grid level) will be Test001,submachine1,Status-CLosed
Test001.submachine2,status-submitted
When the button on form is clicked, it will make the status of all line as Closed. I want the header status to be closed too as all the lines asscoiated with header are closed.
I tried but the code don't work, Also putting the code in execute query method of line datasource do not work too.