What is a valid way of referencing the CC Cart Object whose API name is E_Cart__c in a SOQL query?

What is a valid way of referencing the CC Cart Object whose API name is E_Cart__c in a SOQL query?
A . _Cart__c
B . c.E_Cart__c
C . ccrz__E_Cart__c
D . cloudcraze__E_Cart__c

Answer: C

Explanation:

A valid way of referencing the CC Cart Object whose API name is E_Cart__c in a SOQL query is to use ccrz__E_Cart__c. This is the transformed name of the object that is used by the Salesforce B2B Commerce framework. All custom objects and fields that are part of the cloudcraze managed package have the prefix ccrz__ in their API names. For example, SELECT Id, Name FROM ccrz__E_Cart__c will query the CC Cart Object records.

Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Query Transformation

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments