NoSeries subtraction

Hello
I need a do subtraction for a NoSeriesManagemet.For Exapmle LNo.GetNextNo(‘DOC’,0D,TRUE); this is start with DOC0001 END with DOC9999 but ı need Subtraction NoSeries,it has to be DOC0002,DOC0002,DOC0001…

How I Can Do This?

Thanks

I would add a checkbox to the number series that signifies whether it adds or subtracts. I would make it so it cannot be changed after the number series has been used, in an effort to better control reusing numbers. And then I would modify the No Series Management functions to take that check box into account (search the forums for DECSTR, it’s a function you would have to write that does the opposite of INCSTR).