Hi guys,
I try to avoid these basic questions, but I'm stuck on something simple.
A client has me building a "Deposit Payments" sub system that allows creditor payments made ahead of a purchase order fullfillment or before shipment to be linked to the relevent POs/Shipments. This part is done. The next stage of the project is that after "Finalise Shipment" completes, they want a popup "Allocate deposit payments for this shipment?" which then CreatesDialog<frmAllocations> on the debit transaction created during Finalise Shipment, pre-filled with the associated payments.
I have a handle on the frmAllocations aspect, and this all looks do-able. I am stuck injecting this after "Finalise Shipment" completes. I have not found a Finalising/Finalised event, so I have been tracing the Shipment.ActivateRecord() flow but can't spot where the debit transaction gets created, which I was hoping to then spot an event fired that I could hook to.
Could you point me in the right direction?
Cheers,
Neil