I would like to add a custom action to fire off upon the successful update of a transfer order line to received. I see it uses several classes, including InventTransferUpdReceive ( which inherits InventTransferUpd ).
Where would you suggest is the best place to inject a process, which we would only want to perform when an update completes successfully?
Place your code in \Classes\InventTransferUpdReceive\updateInventTransferTable, after updating the inventtransferTable
Thank you, did you mean the updateInventTransferLine method?
I believe this is called before the TransferOrderTable is updated as the line status must first be updated and if all items are received, then the order header status is set to received.
I believe the updateInventTransferLine will be a good candidate.
© 1995-2014 Dynamics User Group, all rights reserved.