Vishal Chaudhari
09/29/2025, 12:20 PMCeligo AI
09/29/2025, 12:20 PMAI generated answer (using internal Slack threads):To prevent other scripts from being triggered when your PHP Toolkit script makes updates to fields on invoices and sales orders, you can use the
ignoreFieldChange parameter in the submitFields method. This parameter, when set to true, will prevent any field change scripts from being triggered when the field is updated.
Here is an example of how you can use it:
php
$service = new NetSuiteService();
$service->setPreferences(false, false, false, true);
$recordRef = new RecordRef();
$recordRef->internalId = '123';
$recordRef->type = 'salesOrder';
$service->update($recordRef, array('fieldName' => 'fieldValue'), true);
In this example, the setPreferences method is used to set the ignoreFieldChange parameter to true. The update method is then used to update the field, and because ignoreFieldChange is set to true, any field change scripts will not be triggered.
******
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
09/29/2025, 12:20 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815124512
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.814086914
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812438965
Celigo AI
09/29/2025, 12:20 PM