Method Name : addStockSKULotBlockage

  • Purpose of usage :

It is used to block / remove the Axata WMS System on the basis of SKU and Lot.

  • Integration Tables :

Axata Table Name

Process type

Table Type

Description

ENTKKONTROL

Host_to_WMS

Blokage

Blokage Table

  • Integration Table Fields :

   

Transaction type :

Host_to_WMS




Table Name :

ENTKKONTROL




Table Description :

Blokage Table




Field Name

Desc

Type

Len

Mandatory

EB_ID

ID

[bigint]



EB_SIRKET

Company Code

[nvarchar]

2

*

EB_Warehouse

Warehouse Code

[nvarchar]

2

*

EB_SKU

SKU Code

[nvarchar]

50

*

EB_LOT

Lot 1

[int]

50


EB_LOT2

Lot 2

[nvarchar]

50


EB_LOT3

Lot 3

[nvarchar]

50


EB_BELNO

Order Number

[nvarchar]

50


EB_BTIP

1-Blocked  2-Non Blocked

[nvarchar]


*

EB_BLOKEKOD

Blocked Code

[nvarchar]

2

*

EB_PalletNO

Pallet no

[nvarchar]



EB_CRDATE

Transaction date(YYYYMMDD)

[decimal]

8


EB_USER

User Code

[nvarchar]

10





  • Usage :
    • Multiple SKU 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 SKU 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:ENTKKONTROL_List>
         <ENTKKONTROL>
            <EB_SIRKET>01</EB_SIRKET>
            <EB_Warehouse>01</EB_Warehouse>
            <EB_SKU>001</EB_SKU>
            <EB_BTIP>1</EB_BTIP>
            <EB_BLOKEKOD>10</EB_BLOKEKOD>
         </ENTKKONTROL>
           <ENTKKONTROL>
            <EB_SIRKET>01</EB_SIRKET>
            <EB_Warehouse>01</EB_Warehouse>
            <EB_SKU>002</EB_SKU>
            <EB_BTIP>1</EB_BTIP>
            <EB_BLOKEKOD>10</EB_BLOKEKOD>
         </ENTKKONTROL>
      </axat:ENTKKONTROL_List>

  </soapenv:Body>

</soapenv:Envelope>

    • Response :


<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <state>0</state>
      <message>Success</message>
      <processResultList xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
         <ProcessResult>

       <LogState>0</LogState>
            <LogMessage>Success</LogMessage>
            <EntityID>18</EntityID>
            <EntityCompany>01</EntityCompany>
            <EntityCode>001</EntityCode>
            <EntitySubCode i:nil="true"/>
            <HeaderExt1 i:nil="true"/>
            <HeaderExt2 i:nil="true"/>
            <HeaderExt3 i:nil="true"/>
            <ResultItems/>
         </ProcessResult>
         <ProcessResult>

       <LogState>0</LogState>
            <LogMessage>Success</LogMessage>
            <EntityID>19</EntityID>
            <EntityCompany>01</EntityCompany>
            <EntityCode>002</EntityCode>
            <EntitySubCode i:nil="true"/>
            <HeaderExt1 i:nil="true"/>
            <HeaderExt2 i:nil="true"/>
            <HeaderExt3 i:nil="true"/>
            <ResultItems/>
         </ProcessResult>
      </processResultList>
   </s:Body>
</s:Envelope>


  • Sample c# Source Code :

       Sample Add Method Code C#