Method Name : addDistrict

  • Purpose of usage :

Axata WMS Sistemine District (District) Verisi Eklemek için kullanılır.

  • Integration Tables :

Axata Table Name

Process type

Table Type

Description

ENT033

Host_to_WMS

District

District Master Data Table

  • Integration Table Fields :


Transaction type :

Host_to_WMS


 


Table Name :

ENT033




Table Description :

District Descriptions




Field Name

Desc

Type

Len

Mandatory

S33ID

Identity

[bigint]

 

 

S33ULKOD

Country Code

[nvarchar]

3

*

S33ILKOD

Province Code

[nvarchar]

3

*

S33ILCEKOD

County Code

[nvarchar]

3

*

S33DistrictKOD

District Code

[nvarchar]

50

*

S33DESC

District Descriptions

[nvarchar]

50


S33ITIP

Cancel Code (0-Insert/Update 1-Delete)

[tinyint]

 


S33ITAR

Transaction date (YYYYMMDD)

[decimal]

8, 0


S33IZMN

Transaction time (HHMMSS)

[decimal]

6, 0



  • Usage :
    • Multiple Pallet Blocking data can be sent simultaneously .
    • 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>axataservice</tem:username>

    <tem:password></tem:password>

    <axat:DistrictList>

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

      <ENT033>

        <S33ULKOD>TR</S33ULKOD>

        <S33ILKOD>34</S33ILKOD>

        <S33ILCEKOD>111</S33ILCEKOD>

        <S33DistrictKOD>122</S33DistrictKOD>

        <S33DESC>BOSTANCI</S33DESC>

      </ENT033>

      <ENT033>

        <S33ULKOD>TR</S33ULKOD>

        <S33ILKOD>34</S33ILKOD>

        <S33ILCEKOD>111</S33ILCEKOD>

        <S33DistrictKOD>123</S33DistrictKOD>

        <S33DESC>GOZTEPE</S33DESC>

      </ENT033>

    </axat:DistrictList>

  </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>7</EntityID>

        <EntityCompany/>

        <EntityCode>122</EntityCode>

        <EntitySubCode>111</EntitySubCode>

        <HeaderExt1 i:nil="true"/>

        <HeaderExt2 i:nil="true"/>

        <HeaderExt3 i:nil="true"/>

        <ResultItems/>

      </ProcessResult>

      <ProcessResult>

        <LogState>0</LogState>

        <LogMessage>Success</LogMessage>

        <EntityID>8</EntityID>

        <EntityCompany/>

        <EntityCode>123</EntityCode>

        <EntitySubCode>111</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#