Perry Auld
06/17/2025, 10:24 PMCeligo AI
06/17/2025, 10:25 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** To trigger a script when attaching a contact to a customer, you can use a client-side script or a server-side script. However, the trigger point or event that gets triggered when you use the "attach" button in the Relationship tab of a sales order is not explicitly defined. For a server-side script, you can use a UserEvent Script with the
beforeSubmit
event. However, if you don't see a log when you deploy a user event to all records, then you can't use a user event.
For a client-side script, you can use the following events and test with a console log:
- sublistChanged
- validateLine
- validateInsert
Please note that these are just suggestions and you may need to experiment to find the exact trigger point for your specific use case.Celigo AI
06/17/2025, 10:25 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.852600336
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84659
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846034884
Celigo AI
06/17/2025, 10:25 PM