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

Get a table ID in SQL - D365

Hi select ID from SysTableIdView where  SysTableIdView .Name = 'CustTable' Regards,