User Event Scripts in NetSuite Connector
The NetSuite Connector SuiteApp includes the following user event scripts:
-
FA | Fix Shipping Tax – When NetSuite creates a transaction using the data from NetSuite Connector, this script runs and checks the shipping tax rate in the transaction. If required, the script fixes the shipping tax to the rate set in the data coming from the NetSuite Connector.
-
FA | Fix Tax Rate – When NetSuite creates a transaction using the data from the NetSuite Connector, this script runs and checks the tax rate in the transaction. If required, the script fixes the tax rate to the rate set in the data coming from the NetSuite Connector.
-
FA | UE Fix Order Item Group Prices – When NetSuite creates a transaction using the data from NetSuite Connector, this script runs and checks the prices of item groups in the transaction. If required, the script fixes the prices to the prices set in the data coming from the NetSuite Connector.
-
FA | UE Order Total Validation – When NetSuite creates a transaction using the data from NetSuite Connector, this script runs and validates the transaction data. The transaction data such as tax total, transaction subtotal, and cost of shipping is validated with the order total data sent by NetSuite Connector. If the validation passes, the transaction is created in NetSuite. If the validation fails, the transaction is not created and you get an error message in NetSuite Connector.
-
FA | UE Sync -Update FA – When you create, update, or delete an item in NetSuite, this script runs to sync the changes to NetSuite Connector.
-
STE UE Transaction – SuiteTax Engine User Event script required when SuiteTax is enabled in your account.
Order of Script Execution
These user event scripts must run in the following order:
-
STE UE Transaction
-
FA UE Sync -Update FA
-
FA | UE Fix Order Item Group Prices
-
FA | Fix Shipping Tax
-
FA | Fix Tax Rate
-
FA | UE Order Total Validation
If you are using SuiteTax with NetSuite Connector, the STE UE Transaction script must run before the other NetSuite Connector scripts. If you are using Legacy Tax, the STE UE Transaction script is not needed.