When deploying a currency that only exists in the deployment source environment, a new currencyPrecision
field has to be created as part of the currency element in the target environment.
The currencyPrecision
field is limited to read-only access by the NetSuite system, and therefore this type of deployment is prevented. You may see an INSUFFICIENT_PERMISSION
error with a message, such as the following:
You do not have permissions to set a value for element currencyprecision due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases.
How can I solve this?
Please follow these steps:
Go to the currency page within the NetSuite UI of the target environment, and check the "Override currency format" box:
Fetch the updated NetSuite account into your Salto (target) environment.
Your deployment should now succeed. Once the deployment is completed, set the ‘locale’ of the newly created currency to the desired value in the target environment. You may also want to uncheck the ‘Override Currency Format’ checkbox.