Setting the Salesforce Defaults

Default Values

The Metapack interface in Salesforce is installed with default Metapack values that can be used to supply values that may not be present in the Salesforce system.

When the relevant records are created, these default values are populated automatically to ensure that no errors occur when information is sent to the Metapack Shipping API.

The default values can be modified as required. The consignment defaults are stored in CAP_MP_Consignment_Defaults custom metadata, and the shipment defaults are stored in CAP_MP_Shipment_Defaults custom metadata.

Each default field is created as a different record that can be toggled as active to enable the default value.

The defaults are not user-specific.

State and Country/Territory Picklist setup

You need to enable the State and Country/Territory Picklist and add all relevant countries to it, e.g.

Salesforce_image2.png

You then need to add each country that has been added to the above picklist, to the following custom picklist fields:

Table 14. Custom Country Picklist

Object Name

Field Label

Field API

Product

Country of Origin

MPSOM__CAP_MP_Country_Of_Origin__c

Fulfillment Order

Fulfilled Country

MPSOM__CAP_MP_Fulfilled_Country__c

Shipment

Country of Origin

MPSOM__CAP_MP_Country_Of_Origin__c

Fulfillment Order Product

Country of Origin

MPSOM__CAP_MP_Country_Of_Origin__c

Consignment

Country

MPSOM__CAP_MP_Recipient_Country__c

Consignment

Country

MPSOM__CAP_MP_Sender_Country__c

Consignment

Country

MPSOM__CAP_MP_Return_Country__c