What should the developer do to ensure the value of Products__c is in the current user’s language?

Universal Containers (UC) has enabled the translation workbench and has translated picklist values. UC has a custom multi-select picklist field, Products__z, on the Account object that allows sales reps to specify which of UC’s products an Account already has. A developer is tasked with writing an Apex method that retrieves Account records, Including product_c field.

What should the developer do to ensure the value of Products__c is in the current user’s language?
A . Set the locale on each record in the SOQL result list.
B. Use the locale clause in the SOQL query.
C. Use toLabel1 Products_c in the fields list of the SOQL query.
D. Call the translate ( ) method on each record in the SOQL result list.

Answer: C

Latest PDII Dumps Valid Version with 280 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments