I am doing some import of data from excel spreadsheet to the LedgerJournalTable, but the problem is that I don’t know how to use a number sequence designated to the general journal. I am supposed to increment it for the each row imported. Is there a way to call the number sequence from the x++ code?
Thanks Harish. It worked. But this will work for journal numbers only. Is there a general way of calling and updating number sequence from x++ code. For example: my next task is to increment the voucher number for ledgerJournalTrans and there is no such method in the insert method of this table.