Hey all, I am planning to implement an afterSubmit...
# suitescript
l
Hey all, I am planning to implement an afterSubmit script that triggers when a new lead is entered, and when changes are made to that lead. The third case I want the script to trigger for is when a lead gets converted into a client, if the script applies to a lead record will a script get triggered by it?
a
yeah I think that's fine, the UE script will be on the customer record, regardless what stage that customer is at.
b
depends on which method the lead is converted to a customer
its unlikely to trigger unless something directly edits the lead
for example, making an order for a lead converts it into a customer, but wont trigger a user event on the lead
👍 1