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

Popular posts from this blog

Customization on Sales invoice Report in D365 F&O

75) COC - Create a coc of the table modified method

46) D365 FO: SHAREPOINT FILE UPLOAD USING X++