Example of Office-Based Cost Override Rule (APM)
Cost Overrides adjust item costs dynamically based on defined criteria.
This example demonstrates how to configure cost overrides based on the selected office.
Configure cost overrides so that item cost varies by office.
After completing this configuration:
-
Quote items use the override cost associated with the selected office
-
Ticket items use the override cost associated with the selected office
Step-by-Step Guide
Key Steps
-
Create an override configuration that defines matching criteria (Office + Catalog Item).
-
Add override records for each office with the desired cost and activate the override records.
-
Apply the override configuration to price book items.
1. Configure Override Rules
-
Create an override configuration:
-
Open the Override Configs tab
-
Click New
-
Complete the fields:
Field Value Notes Name
Cost Override by OfficeApplies to SObject
Add Ticket and Quote
Override Fields
FX5__Cost__cOverride Type
Cost
Filter Clause
FX5__Office__c==$FX5__Office__c && FX5__Catalog_Item__c==$FX5__Catalog_Item__cMatches records by Office and Catalog Item
Limit
1Sort Clause
FX5__Office__cApplies the first matching record based on Office
Click Save
-
2. Add Override Records
-
Open the Overrides tab
-
Click New
-
Complete the fields:
Field Value Notes Applies to SObject
Add Ticket and Quote
Office
Select an office
Catalog Item
Select a catalog item
Applies to related quote and ticket items via price book items
Override Type
Cost
Cost
Enter the cost value for the selected office
Click Save & New
-
Select IsActive
-
(Optional) Define an effective date range
-
Repeat for additional offices as needed
3. Apply the Override Configuration
-
Open the Price Book Items tab
-
Edit a price book item
-
Set Override Cost Method to Cost Override by Office
-
Click Save
-
Repeat for other price book items as needed.