
Dear All,
Is there a way in AX 4.0 to follow up Proforma invoices ? Or even number them ?
From several suppliers we receive Proforma invoice with number and I would like to create this as well for some of our clients.
Any ideas ?
THANK YOU ALL
Ralf
*This post is locked for comments
I have the same question (0)Pro forma invoices are working in a TTS transaction block which is rolled back after the journal posting.
If you want to record the numbering, you might have to go outside of the TTS transaction. The UserConnection is used for this in later versions of AX, I can see xRecord.setConnection exists in 4.0 too in the documentation, so this might work to commit changes of your own sequencing table that you should create and maintain for pro-forma invoice sequencing. Then you could introduce it into the posting of the pro-forma invoice and on the design as well.
www.artofcreation.be/.../using-the-userconnection-class-to-create-a-new-transaction-scope