Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Wednesday, May 7, 2014

Code to call number sequence in Dynamic AX

Hi,

NumberSeq   num;
num = NumberSeq::newGetNum(DNAxaptaModule::ModularID());
//DNAxaptaModule is the table that number seq presents
AxaptaModule.DNModularID  = num.num();
//AxaptaModule is the local variable for the same above table

Regards,

No comments:

Post a Comment

How find size of recordsortedlist in D365/AX 2012

Hi, This is the continuity of the previous article where we are now getting the size of recordsortedlist . if(recordsortedlist.len() >1) ...