Method Name : addOutputDocument

  • Purpose of usage :

It is used to upload images to Orders (Delivery Note etc.) in Axata WMS System. .  

  • Integration Tables :

Axata Table Name

Process type

Table Type

Description

ENT000_DOC

Host_to_WMS

Documents

Outbound Order Documents Table

  • Integration Table Fields :


Transaction type :

Host_to_WMS




Table Name :

ENT000_DOC




Table Description :

Outbound Order Document adding




Field Name

Desc

Type

Len

Mandatory

S00SKOD

Company Code

[nvarchar]

4

*

S00TESN

Order Number (Unique)

[nvarchar]

50

*

S00URL

Document URL Link

[nvarchar]

1000

*

S00DATA

BASE64 dosya

[nvarchar]

max

*

S00DOCNAME

BASE64 dosya type

[nvarchar]

50

*

S00ITAR


[datetime]

50


S00ITMTR


[datetime]

 


S00STAT


[tinyint]

50


S00FNAME


[nvarchar]

100


S00SEQ


[int]



S00KTIP

Record Type 0-Insert 1-Delete

[int]



       

  • Usage :
    • Multiple Document information can be sent at the same time .
    • Not all fields have to be submitted.
    • If generating XML for submission, the fields should be submitted in the order in the table above..
    • Maximum number of posts is limited (Parametric).
    • A separate processResult object is returned for each pallet blocking data. .
  • Sample XML
    • Request :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:axat="http://axatawms">

  <soapenv:Header/>

  <soapenv:Body>

    <tem:username>test22</tem:username>

    <tem:password></tem:password>

    <axat:OutputDocumentList>

      <!--Zero or more repetitions:-->

      <ENT000_DOC>

        <S00SKOD>01</S00SKOD>

        <S00TESN>1122334455</S00TESN>

        <S00URL>http://URL</S00URL>

        <S00DATA>Document Data</S00DATA>

        <S00DOCNAME>Document Adı</S00DOCNAME>

        <S00STAT>0</S00STAT>

        <S00FNAME></S00FNAME>

        <S00SEQ>0</S00SEQ>

        <S00KTIP>0</S00KTIP>

      </ENT000_DOC>

    </axat:OutputDocumentList>

  </soapenv:Body>

</soapenv:Envelope>

    • Response :

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

  <s:Body>

    <state>0</state>

    <message>Success</message>

    <processResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

      <ProcessResult>

        <LogState>0</LogState>

        <LogMessage>Success</LogMessage>

        <EntityID>11</EntityID>

        <EntityCompany>01</EntityCompany>

        <EntityCode>1122334455</EntityCode>

        <EntitySubCode>Document Adı</EntitySubCode>

        <HeaderExt1 i:nil="true"/>

        <HeaderExt2 i:nil="true"/>

        <HeaderExt3 i:nil="true"/>

        <ResultItems/>

      </ProcessResult>

    </processResult>

  </s:Body>

</s:Envelope>


  • Sample c# Source Code :

       Sample Add Method Code C#