We are currently testing the use of an external pay page with SCA Orders.
When an order is processed in SCA, the button is clicked to go to the external pay page, and at that point the Sales Order is created in NetSuite (and shows 'pending payment').
We are changing the payment operation to sale (so that a sale transaction is processed by the card provider), and when the Payment Page is completed, the Customer Deposit is created in NetSuite and applied to the Sales Order.
I can't see anything showing in the System Information when the Deposit is applied, but I (may) need to trigger a script to run after the Deposit is applied to the Sales Order.
Does anyone know what trigger or context this would be? I don't really want to resort to a scheduled script and saved search to find these (as that will cause a delay in order processing).
(I mentioned above that I 'may' need a script to run at this point because I am working with Support on an issue where the line level location is being removed from the sales order when the deposit is applied - this new script will be a 'workaround' for this issue in case support are not able to resolve it).