A company manages i...
 
Notifications
Clear all

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.

1 Posts
1 Users
0 Likes
205 Views
(@monvillemauro)
Noble Member
Joined: 2 years ago
Posts: 721
Topic starter  

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
  • 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
  • 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

Show Answer Hide Answer

Suggested Answer: D

   
Quote

Latest Salesforce PDII Dumps Valid Version

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