Status Message

From UG

(Difference between revisions)
Jump to: navigation, search
(Intro)
(Use Case 1 is Picked Up Event)
Line 51: Line 51:
</pre>
</pre>
-
Above means that CT#300755 was picked up and field ... should be set to 2010-10-06
+
Above means that CT#300755 was picked up and field [[CT#Actual Export Pick Up Date]] should be set to 2010-10-06

Revision as of 21:51, 7 October 2010


Contents

Intro

Status Message is a message transmitted by TMS to CT2 with info about updates for some fields.

CT2 script is to extract some information and update CT record.

Initially only the following data will be extracted (for every CT#CT Num):

Schema

Message structure

Use Case 1 is Picked Up Event

CT was picked up.

See XML below or here: http://mantis.jaguarfreight.com/mantis/file_download.php?file_id=1709&type=bug

<S:Envelope>
−
<S:Header>
−
<wsa:From>
<wsa:Address>urn:zz:JAFR_TM</wsa:Address>
</wsa:From>
<wsa:To>urn:duns:657589457</wsa:To>
<wsa:Action>urn:myvan:214</wsa:Action>
−
<ebi:Sequence>
<ebi:MessageNumber>BAT2010-10-0620-34-26Z375</ebi:MessageNumber>
</ebi:Sequence>
</S:Header>
−
<S:Body>
−
<Inbound>
−
<DocTracking BOLNo="BOL000000039" MasterShipmentNumber="LD000000038" TrackDate="2010-10-06T00:00:00" City="jamaica" State="ny" Country="US" Comment="alex posted test comment" Event="2028" Reason="3042" ModifyDate="2010-10-06T20:33:41" EventDescription="Picked Up" ReasonDescription="Normal" SCAC="DSCG">
−
<DocShipment ShipmentNo="300755">
<DSGReferenceNumbers RefNoType="GL Account 2" Value="Yes"/>
</DocShipment>
</DocTracking>
</Inbound>
</S:Body>
</S:Envelope>

Above means that CT#300755 was picked up and field CT#Actual Export Pick Up Date should be set to 2010-10-06

Personal tools