Hi all
Running AX 2012 R3 CU9.
I'm running into a small dilemma. I have code which runs on the SalesTable file, when a sales order is created. Normally, I would put this in init() or modifiedField(), but for some reason, the code won't run when the sales order is created off the back of a new returns order.
I've tried putting it in modifiedField() where _fieldId is the SalesType, and it was already in init() - I don't see a specific init() for returns orders. At a loss as to where to put this code to force it to run.
Some additional detail as to the purpose of the code: takes a value from the customer at time of creation, and uses it to populate a flag which we use for reporting purposes.
If you could offer any help this would be much appreciated
Thanks very much
Luke
*This post is locked for comments
I have the same question (0)