Monday, October 4, 2021

Reset Number sequence using x++

Reset Number sequence using x++


    NumberSequenceTable numseqtable; ttsbegin; //numseqtable = NumberSequenceTable::find(SalesParameters::numRefMyId().NumberSequence); select forupdate numseqtable where numseqtable.Recid == //RecId value\\; if (numseqtable ) { numseqtable.NextRec = numseqtable.Lowest; numseqtable.update(); } ttscommit;


Keep daxing!!


No comments:

Post a Comment