Transportation Management

Get Involved. Join the Conversation.

Topic

    Karl Baker
    How do I get my shipment pdf documents to my ERP for...Answered
    Topic posted March 2, 2018 by Karl BakerBronze Trophy: 5,000+ Points, tagged Document Management 
    128 Views, 1 Comment
    Title:
    How do I get my shipment pdf documents to my ERP for distribution?
    Summary:
    Have generated and attached documents for shipments in OTM - need that info in my ERP for distibution to customers - how is that done?
    Content:

    We need to send the pdf document information that we've generated and/or attached to shipments in OTM to our ERP so the documents can be distributed to our customers.  I can't find a way to include the pdf information in the outbound planned shipment XML. Any ideas?

    Best Comment

    Karl Baker

    There is no way to include the pdf document information - or more correctly - include the <otm:DocContentBinary/> element representation of the pdf in the Planned Shipment XML.  The suggested method is to transmit the required documents to other systems using the Document API.  

    The Document API XML provides a binary encoded representation of the document content in the <otm:DocContentBinary/> element.  To convert the string of characters provided in the<otm:DocContentBinary/> element you will need to use an encode/decode utility to convert the binary string back into the pdf document format.  There are lots of free encode/decode utilities available to support this process.  

    Comment

     

    • Karl Baker

      There is no way to include the pdf document information - or more correctly - include the <otm:DocContentBinary/> element representation of the pdf in the Planned Shipment XML.  The suggested method is to transmit the required documents to other systems using the Document API.  

      The Document API XML provides a binary encoded representation of the document content in the <otm:DocContentBinary/> element.  To convert the string of characters provided in the<otm:DocContentBinary/> element you will need to use an encode/decode utility to convert the binary string back into the pdf document format.  There are lots of free encode/decode utilities available to support this process.