Restocker_State_Setting__mdt
What is a Restocker State Setting
Restocker_State_Setting records contain Restocker configurations for each region.
There should be an entry for each State and Territory (including non-BES States and Territories) where the Name (label) and DeveloperName are equal the the region's short code (e.g. ACT or SA).
The State Settings are used to configure defaults and behaviours for each region.
Creating or Updating Restocker State Setting
While each field should have a descriptive help text, the following fields are available at launch:
Name (and Developer Name): Must be the region's short code in all-caps. (e.g. 'ACT' or 'SA').
There must be one and only one entry for each region, including regions not currently on the BES platform.
Default Opportunity Builder: The Restocker_Opportunity_Builder__mdt.DeveloperName of the Default Opportunity Builder for this region.
Default Summary Template: The Restocker_Service_Report__mdt.DeveloperName of the Default Service Report Template for this region.
Default Service Fee PBE Id: The Price Book Entry of the default Service Fee for this region. Applied when selecting 'Add Default Fee' in the Service Fees component.
New Restocker: This is a feature flag that enables the Restocker App behaviour in the Service Trigger Handler. If left unchecked, Services will not be created correctly for the region.
Service Case Queue: The ID of the Queue where 'New Time Request' Cases are placed.
Automatically Invoice Restock Opps: When checked, the Opportunities created during the 'Take Payment' (Invoiced or Credit Card) will be flagged as 'Ok To Be Invoiced'.
Leave unchecked if On Account Opportunities should not be automatically integrated.