Hi All,
I have created one action button(change log) in 'Sales order page' and I have written the below code in 'on action' action trigger.
RecRef.GETTABLE(Rec);
ChangeLogEntry.SETRANGE("Record ID",RecRef.RECORDID);
ChangeLogEntries.SETTABLEVIEW(ChangeLogEntry);
ChangeLogEntries.RUN;
While i am clicking the action button in any sales order, only it filtered the sales header changes and shown. But i want to show the both sales header and sales line changes.
Can you guide me to proceed further?
Thanks in advance,
Jacob.A
0
Answers
Should (did not try it) work but is most likely really inefficient. But since you ChangeLog T36 and T37 efficiency isn't your primary concern anyway i figure
/Wisa
Thanks for your suggestion.
RecRef.GETTABLE(Rec);
ChangeLogEntry.SETRANGE("Primary Key Field 2 Value",Rec."No.");
ChangeLogEntries.SETTABLEVIEW(ChangeLogEntry);
ChangeLogEntries.RUN;
The above code works as per your suggestion.