QuestionQ121

VerifiedMaster Data Management

A custom pricing engine for a Salesforce customer must be determined by factors in the following hierarchy:

  1. The state where the customer is located
  2. The city where the customer is located, if available
  3. The ZIP code where the customer is located, if available
  4. Changes to this information must require minimal code changes

What should a data architect recommend for maintaining this information for the custom pricing engine being built in Salesforce?

Explanation

Custom metadata types are designed for application configuration. Pricing-rule records can represent state, city, and ZIP criteria and be evaluated by the custom engine according to the required hierarchy, while subsequent rule changes are made declaratively rather than by changing code. Their records are metadata, so they can also be deployed with the application configuration.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!