function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Andrew BeavanAndrew Beavan 

PriceBookEntry.CurrencyISOCode default

I am trying to integrate Salesforce via Boomi and as part of creating a PriceBookEntry I am unable to set the CurrrencyISOCode.  It always defaults to the currency of the user that is running the integration.  Our requirement is to be able to create price book entries in both the standard price book and custom price books in different currencies.

Has anyone been able to do this via the API?

Thanks
SFDC_DeveloperSFDC_Developer
By default CurrencyISOCode is set to user's currency. You can specifially assign other currency code value to CurrencyISOCode field.
Andrew BeavanAndrew Beavan
The problem is with the create process in a custom price book.  I am able to successfully set the CurrencyISOCode when creating an entry in the standard price book, but it ignores the passed currency when creating the custom price book entry and defaults to the currency of the user that the process is running under.