Discrete WMS makes use of MOCA, which is a proprietary Blue Yonder layered service-oriented architecture (SOA).
After Discrete WMS has been installed and configured, you use the following overridden versions of standard WMS MOCA commands, which provide the integration to the SOAP Shipping API.
Tip
All of the commands are stored in the metapack
folder under the LES
directory path of the WMS software (\LES\src\cmdsrc\metapack
). The command level for the folder is between USR
and VAR
.
Command |
Description |
---|---|
|
Initiates consignment creation from the Discrete WMS Manifesting screen. |
|
|
|
Controls processing for creating consignments or appending additional parcels to an existing consignment. If an append is made and the selected carrier does not support it, the returned error is caught and a new consignment is created automatically. |
|
Formats the XML message. |
|
Formats the append XML message. |
|
Creates the paperwork for an appended parcel. |
|
(Not implemented) |
|
If a returns label is required, creates individual consignment for each parcel using the configured Returns carrier. NoteThis command cannot be used for international deliveries. |
|
Formats XML for a returns label. Sender and recipient details are reversed from main consignment. |
|
Updates custom metapack_manfst table. |
|
Updates custom metapack_manfst table. |
|
Called from the Discrete WMS Shipping/Manifesting screen. |
|
Voids individual parcel or entire consignment from the Metapack Platform. |
|
Deletes any returns consignments associated with the voided parcel. |
|
Called from the Discrete WMS Shipping/Parcel screen. |
|
Called from Discrete WMS Shipping/Parcel screen. |
|
Closes and manifests all consignments for a given carrier. |
|
If configured, will generate printed manifest. |
|
Closes and manifests all consignments for the returns carrier. |
|
Find the cheapest costs and associated delivery options for a proposed consignment if a particular booking code was used. |
|
Called by job (to be configured) to purge records from the custom metapack_manfst table. |
Command |
Description |
---|---|
|
Formats XML message for parcel segment. |
|
Formats XML for sender address. |
|
Formats XML for recipient address. |
|
Formats XML for document parameters (labels and customs documents). |
|
Gets connection details, such as URL, user name, and password. |
|
Gets status if the Metapack Platform is the enabled parcel system. |
|
Gets the systems measurement unit (metric or imperial). |
|
Formats the XML envelope. |
|
Converts dates returned from the Metapack Platform. |