Hi all,
I am using this code in order to get the next value of the number sequence associated with the smmActivityNumber:
ns = NumberSeq::newGetNum(smmParameters::numRefActivityNumber());
ns.used();
smmActivityNumber = ns.num();
This code is located inside a loop, so for every loop it should get the next number in the sequence. Unfortunately, this is not the case and it is always getting the first number in the sequence (ABC-00000).
As far as I know, the smmActivityNumber EDT comes out-of-the-box with Microsoft Dynamics AX 2012. I loaded the modules through a job by using the class NumberSeqModuleGeneral and then went to Organization Administration --> Generate.
However, the problem still persists. How can I solve this please? Thanks
*This post is locked for comments
I have the same question (0)