Related questions
How to invoke a menu item from code in AX 2012
I have some custom code in PurchTable "Register" menuitem's clicked method, Now I need to run the Register command from code after a buttons function has been perfomed.
My question is that how can I call the Register command from …
Axapta: Convert utcDateTime to date
What is the best way to convert a utcDateTime value to a date type so I can use the global datetime functions on it?
int timeDiff;
date _now = systemdateget();
;
select firstOnly myUTCDateTime from _myTable
timeDiff = Global::yearDiff(_now, _myTable.myUTCDateTime);
…