ExamGecko
Question list
Search
Search

Question 139 - Certified B2B Commerce Developer discussion

Report
Export

What is true about mapping custom fields from Cart to Order Summary?

A.
A custom field must exist in the Cart and Order Summary objects only to be mapped successfully.
Answers
A.
A custom field must exist in the Cart and Order Summary objects only to be mapped successfully.
B.
The automatic Cart to Order mapping of custom fields can be disabled.
Answers
B.
The automatic Cart to Order mapping of custom fields can be disabled.
C.
All data types are supported for custom fields to be mapped from Cart to Order.
Answers
C.
All data types are supported for custom fields to be mapped from Cart to Order.
D.
There is a limit of 25 custom fields on a Cart that can be mapped to Order.
Answers
D.
There is a limit of 25 custom fields on a Cart that can be mapped to Order.
Suggested answer: B

Explanation:

The correct answer for what is true about mapping custom fields from Cart to Order Summary is that the automatic Cart to Order mapping of custom fields can be disabled. A custom field is a field that is added by a developer or an administrator to an object to store additional information or data. A Cart is an object that represents a collection of products and charges that a customer intends to purchase in the storefront. An Order Summary is an object that represents a confirmed purchase of products and charges by a customer in the storefront. A Cart can be converted to an Order Summary when the customer completes the checkout process and confirms their order. By default, Salesforce B2B Commerce automatically maps custom fields from Cart to Order Summary when converting a Cart to an Order Summary. This means that any custom fields that exist on both Cart and Order Summary objects with identical API names and data types will have their values copied from Cart to Order Summary during the conversion. The automatic Cart to Order mapping of custom fields can be disabled by setting the B2BCommerce.CartToOrderMappingEnabled custom setting to false. This will prevent any custom fields from being copied from Cart to Order Summary during the conversion. A custom field must exist in the Cart and Order Summary objects only to be mapped successfully is not true, as it is not the only requirement for mapping custom fields from Cart to Order Summary. The custom fields must also have identical API names and data types, and the automatic Cart to Order mapping of custom fields must be enabled. All data types are supported for custom fields to be mapped from Cart to Order is not true, as some data types are not supported for mapping custom fields from Cart to Order Summary. The supported data types are Boolean, Date, DateTime, Double, Integer, Long, Percent, String, and TextArea. There is a limit of 25 custom fields on a Cart that can be mapped to Order is not true, as there is no such limit for mapping custom fields from Cart to Order Summary. Any number of custom fields that meet the mapping requirements can be mapped from Cart to Order Summary. Salesforce

Reference: [B2B Commerce Developer Guide: Custom Field Mapping], [B2B Commerce Developer Guide: Cart Object], [B2B Commerce Developer Guide: Order Summary Object]

asked 23/09/2024
Jeremiah Gem Galeon
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first