Alfasith AX

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

Sunday, September 13, 2015

Code to call Number sequence in AX 2012

Hi,

// You may use in initValue of the table or datasource or for insert the records using the codes.
NumberSeq numberSeq;
numberSeq = NumberSeq::newGetNum(DpayHRM::EdtName());
print  num.num(); // instead of print you may assign to the table.

Regards,

No comments:

Post a Comment

SQL code to upate one Legal entity banner to all the legal entity in D365

 Hi, update companyimage set  companyimage.Image  = companyimageA.Image  from  ( select Image from companyimage where dataAreaid = 'USF...