MyMPS EDI-Status message
1 General
1.1 System
MyMPS is a SCHENKER application developed to support action of marine parts. It is built on modern Internet technology, and moonrise can be accessed from anywhere in the world without any installation.
The system is a multi-layer architecture, developed in .NET and running on the Windows and MS SQL
1.2 Description
This Document Explains how MyMPS can send status messages to the client. This is the specification. This Document Explains the status messages That are late from MyMPS. Status messages will send for every hour if updates are done.
1.3 Architecture
An exemplified overview of the set-up, this based on MyMPS standard format Which is included in the document. This document describes Status Messages. Status messages will be late on a scheduled basis, in every hour.
2 EDI integration - Status messages
MyMPS default is to send XML files to a local That is available via ftp. Other formats than MyMPS standard has to be mapped.
2.1 File Format
Document will be encoded using UTF-8.
2.1.1 XMLstructure
Envelope
Attribute | Code | MAN | explanation | Type |
from Partners | Y | Provided from MyMPS team | string (50) | |
From Partner User | Y | string (50) | ||
ToPartner | MYMPS | Y | Fixed | |
ToPartnerUser | Y | string (50) | ||
dateTime | Y | Time When message was created | datetime | |
Document Version | 1.0 | Y | Version of this file format | string (10) |
Document Number | Y | Unique reference number for the message. First message no 1 then 2,3 etc. | Unsigned integer, max: 2147483647 | |
Document Name | ORDER STATUS | Y | Message name "ORDER STATUS" | Fixed |
Order
Attribute | Code | MAN | explanation | comment | Type |
OrderID | Y | OrderID | Integer | ||
Order Number | Y | Order Number | String (200) | ||
PortCode5CL | Y | Port code | String (50) | ||
PortCode3CL | Y | Port code | String (50) | ||
Location Type | Y | Type of location | V50 | ||
RefNo | Y | Buyer's PO Reference Number | V 50 | ||
Chang Date | Y | Date for the status change | YY-MM-DD hh: mm | ||
RequistionNo | N | RequistionsNo | V15 | ||
Status | NEW HUB DEP ANN PEN BKD DLV ARR | Y | NEW = new orders HUB = Received DEP = departed ANN = Canceled PEN = Pending BKD = Booked DLV = Delivered ARR = Arrived | V50 | |
CargoDetials | N | Used to add the package details | Type Package |
Type Package
Attribute | Code | MAN | explanation | comment | Type |
Quantity | N | Package quantity | Integer | ||
Weight | N | Package weight | Decimal | ||
Length | N | Package length | Decimal | ||
width | N | Package width | Decimal | ||
height | N | Package height | Decimal | ||
Stackable | N | Ice package stackable | Boolean | ||
Dangerous Goods | N | Ice Package contains Dangerous Goods | Boolean | ||
DGNumberOfPackages | N | DGNumberOfPackages | String (50) | ||
DGTypeOfPackages | N | DGTypeOfPackages | String (50) | ||
DGContentOfPackages | N | DGContentOfPackages | String (50) | ||
DGCargoAircraftOnly | N | DGCargoAircraftOnly | Boolean | ||
DGMarinePollutant | N | DGMarinePollutant | Boolean | ||
DGLimitedQuantity | N | DGLimitedQuantity | Boolean | ||
DGUnNumber | N | DGUnNumber | String (50) | ||
DgdgrClass | N | DgdgrClass | String (50) | ||
DGPackageGroup | N | DGPackageGroup | String (50) | ||
DGWeightValue | N | DGWeightValue | Decimal | ||
DGWeightUnit | N | DGWeightUnit | String (50) | ||
DGVolumeValue | N | DGVolumeValue | Decimal | ||
DGVolumeUnit | N | DGVolumeUnit | String (50) | ||
DGShippingName | N | DGShippingName | String (50) | ||
DGTechnicalName | N | DGTechnicalName | String (50) |
Example 3
3.1 XML status message
<? xml version = "1.0" encoding = "utf-8"?>
< LxirEnvelope >
< Header From Partner = "MyMPS" From Partner user = "User1" ToPartner = "Client" ToPartnerUser = "Client User" datetime = "1900-01-01T01: 01: 01 + 01: 00", Document Version = "1.0" Document Number = "123" Document Name = "ORDER STATUS" />
< Body >
< Order Status >
< OrderID > 123 </ OrderID >
< OrderNumber > str1234 </ OrderNumber >
< PortCode5CL > str1234 </ PortCode5CL >
< PortCode3CL > str1234 </ PortCode3CL >
< Location Type > Air </ Location Type >
< RefNNo > str1234 </ RefNNo >
< CHANGEDATE > 2012-12-13T12: 12: 12 </ CHANGEDATE >
< RequisitionNumber > str1234 </ RequisitionNumber >
< Status > NEW </ Status >
< Cargo Details >
< Packages >
< Quantity > 123 </ Quantity >
< Weight > 123.45 </ Weight >
< Length > 123.45 </ Length >
< Width > 123.45 </ Width >
< Height > 123.45 </ Height >
< Stackable > true </ Stackable >
< Dangerous Goods > true </ Dangerous Goods >
< DGNumberOfPackages > 123 </ DGNumberOfPackages >
< DGTypeOfPackages > str1234 </ DGTypeOfPackages >
< DGContentOfPackages > str1234 </ DGContentOfPackages >
< DGCargoAircraftOnly > true </ DGCargoAircraftOnly >
< DGMarinePollutant > true </ DGMarinePollutant >
< DGLimitedQuantity > true </ DGLimitedQuantity >
< DGUnNumber > str1234 </ DGUnNumber >
< DGdgrClass > str1234 </ DGdgrClass >
< DGPackageGroup > str1234 </ DGPackageGroup >
< DGWeightValue > 123.45 </ DGWeightValue >
< DGWeightUnit > str1234 </ DGWeightUnit >
< DGVolumeValue > 123.45 </ DGVolumeValue >
< DGVolumeUnit > str1234 </ DGVolumeUnit >
< DGShippingName > str1234 </ DGShippingName >
< DGTechnicalName > str1234 </ DGTechnicalName >
</ Packages >
</ Cargo Details >
</ Order Status >
</ Body >
</ LxirEnvelope >
XSD
Version
3.2 History
Version and date | About the author | comment |
PA1 2011-11-20 | Martin Fransson | First draft without example |
PA2 2011-11-21 | Martin Fransson | with example |
PA3 2011-12-12 | Martin Fransson | Added requisition Number after meeting with Helge |
PA4 2012-04-20 | Niclas Sparr | Added XSD and changed file formats |
PA5 2012-05-16 | Muhammad Jawad | Added PortCode5CL, PortCode3CL, Location Type and Location Type enum |
PA6 2015-03-24 | Muhammad Jawad | Added cargo details and package information |