Hi All,
I would like to get invoiceID which is allocated by number sequence before posting the sales invoice.
When I clicked OK command button on the "SalesEditLInes" dialog view, I would like to get created invoiceID and update that invoiceID to a customized table.
Therefore, I put the update method into the "OnClicked" event handler of the OK command button.
However, I could not get the InvoiceID, then I noticed that when I clicked the OK button, the invoice id has not been created yet.
So, I would like to get the invoiceID before posting the sales invoice.
Does anybody know how to solve this issue?
Thank you for your help.