Exam CRT-450 Topic 6 Question 214 Discussion
Actual exam question for Salesforce's CRT-450 exam
Question #: 214
Topic #: 6
Question #: 214
Topic #: 6
A business has a proprietary Order Management System (OMS) that creates orders from their website and fulfills the orders. When the order is created in the OMS, an integration also creates an order record in Salesforce and relates it to the contact as identified by the email on the order. As the order goes through different stages in the OMS, the integration also updates It in Salesforce. It is noticed that each update from the OMS creates a new order record in Salesforce.
Which two actions will prevent the duplicate order records from being created in Salesforce?
Choose 2 answers
Which two actions will prevent the duplicate order records from being created in Salesforce?
Choose 2 answers
Suggested Answer: A,B Vote an answer
The problem of duplicate order records is caused by the integration not being able to identify the existing order record in Salesforce and creating a new one instead. To prevent this, the integration needs to use a unique identifier that can match the order record in both systems. The order number in the OMS can serve as such an identifier, if it is guaranteed to be unique and not reused. Therefore, the following actions can prevent the duplicate order records from being created in Salesforce:
* Option A: Ensure that the order number in the OMS is unique. This will ensure that there is no ambiguity or confusion when matching the order records in both systems.
* Option B: Use the order number from the OMS as an external ID. An external ID is a custom field that can be used to store a unique identifier from an external system. By using the order number from the OMS as an external ID, the integration can use the upsert operation to either insert a new order record or update an existing one based on the external ID value.
References:
* Trailhead: Data Modeling (1)
* Trailhead: Data Integration (2)
* Apex Developer Guide: Upserting Records (3)
* Option A: Ensure that the order number in the OMS is unique. This will ensure that there is no ambiguity or confusion when matching the order records in both systems.
* Option B: Use the order number from the OMS as an external ID. An external ID is a custom field that can be used to store a unique identifier from an external system. By using the order number from the OMS as an external ID, the integration can use the upsert operation to either insert a new order record or update an existing one based on the external ID value.
References:
* Trailhead: Data Modeling (1)
* Trailhead: Data Integration (2)
* Apex Developer Guide: Upserting Records (3)
by Nicole at Jun 05, 2024, 08:22 AM
Contact Us
If you have any question please leave me your email address, we will reply and send email to you in 12 hours.
Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday
Support: Contact now
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).