static void setnum(Args _args)
while select forupdate numseqtab
numseqtab.NextRec = numseqtab.Lowest;
I was getting below error when I was tyring to post sales invoice.
“Numbers could not be generated because a number sequence reference is missing. Ensure that all necessary number sequences are set up.”
I have checked with number sequence
-Customer invoice voucher
Created new number sequence and attached to them, but the error was still coming.
Solution : I went to Number sequence form in Organisation administration and Generate the Number sequence from the Wizard for Account receivable.
As I generated the number sequence for the whole module and tried to post the sales invoice again, the issue got resolved.