code example
static void TIDF_getNextNumberSequenceWithoutUpdate(Args _args) { NumberSequenceTable numberSequenceTable; numberSequenceTable = numberSequenceTable::findByNaturalKey('TIDFGC01'); info(strFmt("%1",NumberSeq::numInsertFormat(numberSequenceTable.NextRec,numberSequenceTable.Format))); }
Thanks alot. Its really a helpfull blog,
if any want to explore this more kindly check:
https://360dynamics.blogspot.com/2017/11/ax-2012-returning-positive-next.html