Table of Contents |
---|
1 1 General
1.1 1 System
MyMPS is a SCHENKER application developed to support handling action of marinepartsmarine parts. It is built on modern Internet technology, and moonrise can easily be accessed from anywhere in the world without any installation.
The system is a multi-layer architecture, developed in .Net NET and running on the Windows and MS SQL
1.2 2 Description
This document explains Document Explains how MyMPS can send status messages to the client. This is the specification. This document explains Document Explains the Status status messages that That are sent late from MyMPS. Status messages will send for every hour if updates are done.
1.3 3 Architecture
An exemplified overview of the set-up, this based on MyMPS standard format which Which is included in the document. This document describes Status Messages. Status messages will be sent late on a scheduled basis, in every hour.
...
2 EDI integration
...
- Status messages
MyMPS standard default is to send xml-XML files to a local that That is available via ftp. Other format formats than MyMPS standard has to be mapped.
2.
11 File
formatFormat
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 |
TypePackageType 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.
11 XML
Statusstatus message
<? xml version = "1.0" encoding = "utf-8"?>
< LxirEnvelope >
< Header FromPartner From Partner = "MyMPS" FromPartnerUserFrom Partner user = "User1" ToPartnerToPartner = "Client" ToPartnerUserToPartnerUser = "ClientUserClient User" DateTimedatetime = "1900-01-01T01: 01: 01 + 01: 00" DocumentVersion, Document Version = "1.0" DocumentNumberDocument Number = "123" DocumentNameDocument Name = "ORDERSTATUSORDER STATUS" />
< Body >
< OrderStatusOrder Status >
< OrderId>123</OrderIdOrderID > 123 </ OrderID >
< OrderNumber>str1234< > str1234 </ OrderNumber >
< PortCode5CL>str1234< > str1234 </ PortCode5CL >
< PortCode3CL>str1234< > str1234 </ PortCode3CL >
< LocationType>Air</LocationTypeLocation Type > Air </ Location Type >
< RefNNo>str1234< > str1234 </ RefNNo >
< ChangeDate>2012CHANGEDATE > 2012-12-13T12: 12: 12<12 </ ChangeDateCHANGEDATE >
< RequisitionNumber>str1234< > str1234 </ RequisitionNumber >
< Status>NEW< > NEW </ Status >
< CargoDetailsCargo Details >
< Packages >
< Quantity>123< > 123 </ Quantity >
< Weight>123 > 123.45<45 </ Weight >
< Length>123 > 123.45<45 </ Length >
< Width>123 > 123.45<45 </ Width >
< Height>123 > 123.45<45 </ Height >
< Stackable>true< > true </ Stackable >
< Dangerous Goods > true <DangerousGoods>true</ DangerousGoodsDangerous Goods >
< DGNumberOfPackages>123< > 123 </ DGNumberOfPackages >
< DGTypeOfPackages>str1234< > str1234 </ DGTypeOfPackages >
< DGContentOfPackages>str1234< > str1234 </ DGContentOfPackages >
< DGCargoAircraftOnly>true< > true </ DGCargoAircraftOnly >
< DGMarinePollutant>true< > true </ DGMarinePollutant >
< DGLimitedQuantity>true< > true </ DGLimitedQuantity >
< DGUnNumber>str1234< > str1234 </ DGUnNumber >
< DGdgrClass>str1234< > str1234 </ DGdgrClass >
< DGPackageGroup>str1234< > str1234 </ DGPackageGroup >
< DGWeightValue>123 > 123.45<45 </ DGWeightValue >
< DGWeightUnit>str1234< > str1234 </ DGWeightUnit >
< DGVolumeValue>123 > 123.45<45 </ DGVolumeValue >
< DGVolumeUnit>str1234< > str1234 </ DGVolumeUnit >
< DGShippingName>str1234< > str1234 </ DGShippingName >
< DGTechnicalName>str1234< > str1234 </ DGTechnicalName >
</ Packages >
</ CargoDetailsCargo Details >
</ OrderStatusOrder Status >
</ Body >
</ LxirEnvelope >
View file | ||||
---|---|---|---|---|
|
Version
3.2 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 |