StruSoft Transport Export

Last modified by Theib Sawaf on 2019/11/22 11:00

Transport with status Call-Off are exported to transport company (like DHL..) using XML format.

The destination can either be a directory on the file system or an FTP directory with credentials provided in the config file.
After the export elements are signed as exported (IMP_TRANSPORT_PLANNING.IsReported2 = 1)

Note that transports can be resent/updated to the transport company by setting transport status to a lower status then back to call-off.
This changed IsReported2 to 0 that is why it is exported again.

Transports have a unique Delivery Note Id (i.e GSIN in the XML file) that is shared with the transport company.

The transport export gets information from the project properties e.g. Project Manager, Project Invoice Factory.

For more details see this.

Here is an example:

<?xml version="1.0" encoding="utf-8"?>
<Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.strusoft.com/XMLSchema/2010/Envelope">
  <Head xmlns="">
    <Identification>TestFactory</Identification>
    <MessageType>SSBooking</MessageType>
    <Action>Create</Action>
    <ResponseType>None</ResponseType>
  </Head>
  <Body xmlns:q1="http://www.strusoft.com/XMLSchema/2018/SSBooking" xsi:type="q1:SSBooking" xmlns="">
    <ConsignmentHeader>
      <GroupIdentifier>StruSoft AB</GroupIdentifier>
      <RegisteredByCompanyIdentifier>StruSoft</RegisteredByCompanyIdentifier>
      <GSIN>1111111</GSIN>
      <Status>Booked</Status>
      <BookingDate>2019-10-26T14:07:56.8097146+01:00</BookingDate>
      <ProjectManager>Adam Adamsson</ProjectManager>
      <ProjectInvoiceFactory>Malmö</ProjectInvoiceFactory>
      <ProjectReference>20185555</ProjectReference>
    </ConsignmentHeader>
    <ForwarderService>
      <FreightCompanyExternalCommunicationId>StruSoft</FreightCompanyExternalCommunicationId>
      <FreightProductExternalCommunicationId>7301</FreightProductExternalCommunicationId>
      <PaymentBy>Sender</PaymentBy>
      <ShippingReference>20185555, BILHALL Malmö</ShippingReference>
      <RequestedDepartureDate>2019-10-01T08:00:00</RequestedDepartureDate>
      <PickUpInstructions>Lass nr 1, , Bygel 35 ton</PickUpInstructions>
      <DeliveryDate>2019-10-04T07:00:00</DeliveryDate>
      <TimeOfDelivery>07:00:00</TimeOfDelivery>
    </ForwarderService>
    <Shipper>
      <PartyIdentifier>TestFactory</PartyIdentifier>
      <PartyName>TestFactory</PartyName>
      <Address>
        <Street1>Fridhemsgatan 210</Street1>
        <CityName>Malmö</CityName>
        <PostalCode>666 66</PostalCode>
      </Address>
    </Shipper>
    <Consignee>
      <PartyIdentifier>TestFactory</PartyIdentifier>
      <PartyName>TestFactory</PartyName>
      <Address>
        <Name>TestFactory</Name>
        <Street1>Fridhemsgatan 210</Street1>
        <CityName>Malmö</CityName>
        <PostalCode>666 66</PostalCode>
      </Address>
    </Consignee>
    <Pickup>
      <Address>
        <Street1>Fridhemsgatan 210</Street1>
        <CityName>Malmö</CityName>
        <PostalCode>666 66</PostalCode>
      </Address>
    </Pickup>
    <Delivery>
      <Address>
        <Name>BIL-HO</Name>
        <Street1>Bilgatan 29</Street1>
        <CityName>Lund</CityName>
        <PostalCode>99999</PostalCode>
      </Address>
      <Contact>
        <Name>Kontaktperson</Name>
        <PhoneNumber>0777788888</PhoneNumber>
      </Contact>
    </Delivery>
    <GoodsItem>
      <Unit>Volume. Dim.</Unit>
      <NumberOfCollies>1</NumberOfCollies>
      <Length>390</Length>
      <Width>20</Width>
      <Height>384</Height>
      <Weight>6620</Weight>
      <Description>Linked</Description>
      <GoodsMark>V10103</GoodsMark>
    </GoodsItem>
    <GoodsItem>
      <Unit>Volume. Dim.</Unit>
      <NumberOfCollies>1</NumberOfCollies>
      <Length>630</Length>
      <Width>15</Width>
      <Height>384</Height>
      <Weight>8695</Weight>
      <Description>Linked</Description>
      <GoodsMark>V10102</GoodsMark>
    </GoodsItem>
  </Body>
</Envelope>

Tags:
Created by Theib Sawaf on 2018/09/29 15:40
Copyright 2018 StruSoft AB
Impact Documentation