Monday, 22 July 2019

Get the Next custom number Sequence ax7/365 x++



NumberSequenceTable numt;
        NumberSequenceReference numR;
        NumberSeq num;
     
     

        select numt where numt.NumberSequence ==  'Number Sequence ID';
        select numR where numR.NumberSequenceId == numt.RecId;
        // NumberseqDatatype datatype = NumberseqDatatype::construct();
     
        num = NumberSeq::newGetNum(numR);
        num.parmMakeDecisionLater(true);

        return num.num();


No comments:

Post a Comment