I am trying to insert a new record in ProjTable for our external application using proxy class. I have written a method in X++ that generates a ProjID that follows the number sequence format.
ttsbegin;
this.ProjId = NumberSeq::newGetNum(ProjParameters::numRefProjId()).num();
ttsCommit;
However, this only creates a numbersequence that starts from 0 and does not follow the number in NextRec in Numbersequencetable. How would I able to solve this?
*This post is locked for comments
I have the same question (0)