Method Name : addOwnerShip

  • Purpose of usage :

Used to Add Property Transfer Request to Axata WMS System.

  • Integration Tables :

Axata Table Name

Process type

Table Type

Description

ENT045

Host_to_WMS

Owner

Owner Information

  • Integration Table Fields :


Transaction type :

Host_to_WMS




Table Name :

ENT045




Table Description :

Ownership change order




Field Name

Desc

Type

Len

Mandatory

S45ID

Unique ID (Identity)

[bigint]

 

 

S45SKOD

Company Code

[nvarchar]

2

*

S45AKOD

Warehouse Code

[nvarchar]

2

*

S45SIPNO

Order Number

[nvarchar]

50

*

S45KALEM

Item Number

[nvarchar]

50

*

S45SKU

Will the SKU Code change?

[nvarchar]

50

*

S45FOWNER

Source property owner

[nvarchar]

50

*

S45TOWNER

Target property owner

[nvarchar]

50

*

S45QTY

Quantity

[decimal]

15, 3

*

S45IPT

Cancel Code 1-Cancel 0-Add/Update

[tinyint]



S45ITAR

Transaction date

[datetime]

 


S45TMTR

Completion date

[datetime]



S45STAT

Status (0-Not Processed 1-Processed)

[tinyint]




  • Usage :
    • Multiple Property Request Lines can be submitted 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 process Result object is returned for each Property Request Line 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:OwnerShipList>

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

      <ENT045>

        <S45SKOD>01</S45SKOD>

        <S45AKOD>01</S45AKOD>

        <S45SIPNO>SIP1001</S45SIPNO>

        <S45KALEM>1</S45KALEM>

        <S45SKU>TESTSKU1</S45SKU>

        <S45FOWNER>OWNER1</S45FOWNER>

        <S45TOWNER>OWNER2</S45TOWNER>

        <S45QTY>21</S45QTY>

        <S45IPT>0</S45IPT>

        <S45ITAR>2020-05-23T12:12:12</S45ITAR>

      </ENT045>

    </axat:OwnerShipList>

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

        <EntityCompany>01</EntityCompany>

        <EntityCode>SIP1001</EntityCode>

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