New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce B2B Commerce for Developers Accredited Professional (AP-202) Exam - Topic 3 Question 42 Discussion

Actual exam question for Salesforce's B2B Commerce for Developers Accredited Professional (AP-202) exam
Question #: 42
Topic #: 3
[All B2B Commerce for Developers Accredited Professional (AP-202) Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B

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]


Contribute your Thoughts:

0/2000 characters
Tiera
3 months ago
25 custom fields? That seems low!
upvoted 0 times
...
Laquita
3 months ago
I heard you can disable the automatic mapping, right?
upvoted 0 times
...
Lindsey
4 months ago
Wait, are you serious? I thought all data types could be mapped!
upvoted 0 times
...
Lawrence
4 months ago
Totally agree with that!
upvoted 0 times
...
Billye
4 months ago
A custom field has to be in both Cart and Order to map.
upvoted 0 times
...
Renea
4 months ago
I think there was a limit on the number of custom fields, maybe around 25? That sounds familiar.
upvoted 0 times
...
Gracia
4 months ago
I vaguely remember something about data types, but I thought not all of them were supported for mapping.
upvoted 0 times
...
Berry
4 months ago
I feel like we discussed the option to disable automatic mapping, but I can't recall if that's true for all systems.
upvoted 0 times
...
Alida
5 months ago
I think I remember that a custom field needs to exist in both the Cart and Order Summary for mapping to work, but I'm not entirely sure.
upvoted 0 times
...
Davida
5 months ago
I'm confident that the answer is D. I recall there being a limit on the number of custom fields that can be mapped, though I can't remember the exact number off the top of my head.
upvoted 0 times
...
Maia
5 months ago
Okay, let me think this through. I believe the key is that the custom field must exist in both the Cart and Order Summary objects, so A seems like the correct answer.
upvoted 0 times
...
Emile
5 months ago
Hmm, I'm a bit confused on this one. I'll need to review the documentation on custom field mapping to make sure I understand the requirements.
upvoted 0 times
...
Raul
5 months ago
I'm pretty sure the answer is B, since I remember reading about the ability to disable the automatic mapping of custom fields from Cart to Order.
upvoted 0 times
...
Roslyn
5 months ago
A, for sure. The question specifically mentions the $_FILES['name'] array, so tmp_name has to be the right answer.
upvoted 0 times
...
Lilli
5 months ago
I'm a bit confused by the wording of the options. I'll need to read through them again slowly to make sure I understand the distinctions between them.
upvoted 0 times
...
Lauran
5 months ago
Hmm, monitoring data transfers to minimize costs sounds like a good approach. I'll make sure to note that one down.
upvoted 0 times
...
Elizabeth
5 months ago
I feel like RADIUS is definitely one of the probes, but I'm not too sure about the second one.
upvoted 0 times
...

Save Cancel