Loading

IDX Error: Unable to Create/Update Fields: CurrencyIsoCode

Publiseringsdato: Apr 3, 2026
Beskrivelse

This error typically arises when migrating Products or related records between organizations. The error message indicates that the CurrencyIsoCode field is not writable.

However, this issue is not related to field-level security. The CurrencyIsoCode field on PriceBookEntry records is non-editable after the record is created. Any deployment or update operation attempting to modify this field will fail and return the error.

This behavior may also occur during IDX deployments or when performing update/upsert operations through APIs (e.g., Bulk API, Apex) if the CurrencyIsoCode field is included in the request, even if its value remains unchanged.

Løsning

This behavior is expected and is a system limitation.

Since the CurrencyIsoCode field cannot be updated on an existing PriceBookEntry, the record must be recreated with the desired currency.

Steps for IDX Deployments:

Retrieve the products from the source organization to a local repository.
Locate the Products folder in the local repository.
Remove the PriceBookEntry JSON files from each product folder.
Deploy the products from the local repository to the target organization.

Steps for API-Based Updates:

Ensure that the CurrencyIsoCode field is excluded from update or upsert requests, as this field is read-only and cannot be modified in record update operations.

Knowledge-artikkelnummer

000394461

 
Laster
Salesforce Help | Article