Reset a NumberSequence in AX2012
Today I want to show you a quick and dirty way, to reset a given NumberSequence in AX2012 per X++ code.
What happens here, is that we select the number sequence from the NumberSequenceTable and set the NextRec field to the value from the Lowest field. The NextRec holds the next value of the number sequence, Lowest the lowest value of the sequence.
In the screenshot below, you can see the NextRec value before the reset and then the value after.