Hi,
I have used the 'No. Series' table field name 'Code' to get the next number dynamically. Below is the code I have used.
Example,
For the local procedure, use this code for the purpose of inserting a record
DocNo := NoSeriesMgt.GetNextNo('GJNL-RCPT', TODAY, true);
CashReceiptJournal."Document No." := DocNo;
How can I make this field dynamic?: 'GJNL-RCPT'
Thank You