The following are the custom objects and settings that have been created in Salesforce specifically to interact with the Metapack Shipping API:
This holds the Consignment details from the Metapack Shipping API (refer to Creating a Consignment).
You can control the response from the Metapack Shipping API using the XML Response Attribute
.
Any new field that is added to the Metapack Shipping API can be added to the attribute as an individual entry with its own destination object and field.
Salesforce will then dynamically parse the response and store it in the destination object.
Note
Only the active entries will be parsed.
Not all fields are exposed in the page layout for every object. However, additional fields can be exposed if required by users.
To do this, you need to change the field permissions in the relevant user profiles, and also grant the following apex class permissions:
CAP_MP_AddressDAO
CAP_MP_AttachmentDAO
CAP_MP_ConsignmentCallout
CAP_MP_ConsignmentCalloutHelper
CAP_MP_ConsignmentDAO
CAP_MP_ConsignmentTriggerHelper
CAP_MP_CRUDEnforce
CAP_MP_DynamicXmlParser
CAP_MP_ExceptionUtils
CAP_MP_FulfillmentHelper
CAP_MP_FulfillmentOrderLineItemDAO
CAP_MP_FulfilmentOrderDAO
CAP_MP_ShipmentDAO
CAP_MP_ShipmentTriggerHelper
CAP_MP_XMLGenerator
You can use the custom setting ‘Toggle Logic’ to control the validation rules for different user profiles.
For example, for each user who is to use Order Management, you need to have a entry in 'Toggle Logic':
![]() |
Note
The profiles do not need to be associated with the validation rules for the rules to fire.
This is used by Salesforce AppExchange to to store exceptions generated during interactions with the Metapack Interface.
The object is associated with the Fulfillment Order.
Refer also to Error Handling.