Andrew Luke
07/24/2025, 12:17 AMCeligo AI
07/24/2025, 12:17 AMAI generated answer (using internal Slack threads):To make a script trigger the calculate taxes button, you would need to use a client script. The client script is used to handle user events and can be triggered when a button is clicked. Here is a general idea of how you can do it: 1. Create a client script that will be triggered when the button is clicked. This script will perform the tax calculation. 2. In your client script, you can use the
record.submitFields
method to update the tax fields on the invoice. This method allows you to update specific fields on a record without loading the entire record.
3. After the tax fields are updated, you can use the record.save
method to save the changes to the record.
Please note that this is a general approach and you may need to adjust it based on your specific requirements and the structure of your records.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
07/24/2025, 12:17 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826727
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817352831
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.810938954
Celigo AI
07/24/2025, 12:17 AM