ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 246 - Certified Platform Developer II discussion

Report
Export

A company manages information about their product offerings in custom objects named Catalog and Catalog Item. Catalog Item has a master-detail field to Catalog, and each Catalog may have as many as 100,000 Catalog Items.

Both custom objects have a CurrencylsoCode Text field that contains the currency code they should use. If a Catalog's CurrencylsoCode changes, all of its Catalog Items' CurrencylsoCodes should be changed as well.

What should a developer use to update the CurrencylsoCodes on the Catalog Items when the Catalog's CurrencylsoCode changes^5

A.
An after insert trigger on Catalog that updates the Catalog Items if the Catalog's CurrencylsoCode is different
Answers
A.
An after insert trigger on Catalog that updates the Catalog Items if the Catalog's CurrencylsoCode is different
B.
An after insert trigger on Catalog Item that updates the Catalog Items if the Catalog's CurrencylsoCode is different
Answers
B.
An after insert trigger on Catalog Item that updates the Catalog Items if the Catalog's CurrencylsoCode is different
C.
A Database.Schedulable and Database.Batchable class that queries the Catalog object and updates the Catalog Items if the Catalog CurrencylsoCode is different
Answers
C.
A Database.Schedulable and Database.Batchable class that queries the Catalog object and updates the Catalog Items if the Catalog CurrencylsoCode is different
D.
A Database.Schedulable and Database.Batchable class that queries the Catalog Item object and updates the Catalog Items if the Catalog CurrencylsoCode is different
Answers
D.
A Database.Schedulable and Database.Batchable class that queries the Catalog Item object and updates the Catalog Items if the Catalog CurrencylsoCode is different
Suggested answer: D
asked 23/09/2024
Muhammad Waheed
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first