59) D365 FO – GENERATE NEXT NUMBER SEQUENCE IN X++ USING NUMBERSEQ CLASS
Requirement – D365 FO – GENERATE NEXT NUMBER SEQUENCE IN X++ USING NUMBERSEQ CLASS
NumberSeq numberSeq
;
ttsbegin;
numberSeq = NumberSeq::newGetNumFromId(NumberSequenceTable::findByNaturalKey('TS_11-3').RecId);
info(numberSeq.num());
ttscommit;
Comments
Post a Comment