Note: 250 is the internal ID of the account and 183553 is the internal ID of the customer record.
1. Create a Before Load user event script.
2. Navigate to Setup > Customization > Scripts > New > User Event.
3. In the Scripts tab > Script File dropdown, select the js file created.
4. In the Before Load Function field, enter the name of the after submit function in the js file. In the sample script, the function name is beforeLoadSetAccount, so enter "beforeLoadSetAccount" in this field.
5. Navigate to the Deployments tab. In the Applies to column, select Cash Sale.
6. Click Save.
No comments:
Post a Comment