During development you may encounter one of these. This usually leaves your Ax session in an unusable state that you can’t close properly. However, there’s no need to get out the big guns ... Read More
There are methods in AX which allow to encrypt and decrypt data easily. Those methods are WinAPIServer::cryptProtectData() for encryption and WinAPIServer::cryptUnProtectData() for decryption. As inpu... Read More
static void Jimmy_FindoutFolderSubFiles(Args _args) { /***** The functions is used to find out specified the folder for all the files Worte by Jimmy on Nov. 25th 2010 */ System.IO.DirectoryInfo D... Read More
static void Jimmy_FileTextIoWriteRead(Args _args) { TextIo txIoRead,txIoWrite; FileIOPermission fioPermission; container ConData; int xx,LenD... Read More
The following X++ code is tested in Dynamics AX 2009 development environment!Wrote by : Jimmy Nov 24th 2010 Read More
static void Jimmy_priceDiscTableFromMOQ(Args _args) { priceDiscTable priceDiscTable; test test; int i; ; ttsbegin; test.selectForUpdate(true); while se... Read More
static void Jimmy_resetUserData(Args _args) { DialogButton button; SysLastValue sysLastValue; Dialog Dialog = new Dialog("@SYS70748"); DialogField dlg = Dialog.a... Read More
When we use the Dynamics AX to send email, sometimes we will run into an CDO.Message issue with error message Method ‘send’ in COM object of class ‘CDO.Message’ returned error code 0×80040211 (unknown) which means: unknown.The error codes listed below are really useful when troubleshooting the i Read More
1)Method 1 useing X++ Code creating Number sequence module. wrote by Jimmypublic static void Jimmy_NumberSequences(){ NumberSequenceTable numberSequenceTable; NumberSequenceReference numberSequenceReference; NumberSequenceCode NumberSequence = "WHS_PDJ"; Name Txt = "PO Delivery Journa Read More
/***Our client asked for a job to remove the identical copy from VAR layer.For some unknown reason, some AOT objects are touched in VAR layer but actually are identical copy. When the developer compar... Read More