A company uses Salesforce to sell products to customers. They also have an external product information management (PIM) system that is the system of record for products.
A developer received these requirements:
* Whenever a product is created or updated in the PIM, a product must be
created or updated as a Product? record in Salesforce and a PricebookEntry
record must be created or updated automatically by Salesforce.
= The PricebookEntry should be created in a Priceboek2 that is specified in a
custom setting.
What should the developer use to satisfy these requirements?
Custom Apex REST services are the optimal solution for integrating Salesforce with an external PIM system. When a product is created or updated in the PIM, the external system can make a REST call to a custom Apex REST endpoint in Salesforce, which then can create or update the Product2 and PricebookEntry records. This method allows using custom settings to determine the Pricebook2 dynamically.
Currently there are no comments in this discussion, be the first to comment!