addSKUUnit
Method Name : addSKUUnit
- Purpose of usage :
It is used to add SKU Unit data to Axata WMS System.
- Integration Tables :
Axata Table Name |
Process type |
Table Type |
Description |
ENT004_UNIT |
Host_to_WMS |
Unit |
SKU Unit Information |
- Integration Table Fields :
Transaction type : |
Host_to_WMS |
|||
Table Name : |
ENT004_UNIT |
|||
Table Description : |
SKU master birimler |
|||
Field Name |
Desc |
Type |
Len |
Mandatory |
S04ID |
Identity |
[bigint] |
|
|
S04SKOD |
Company Code |
[nvarchar] |
4 |
* |
S04MKOD |
SKU Code |
[nvarchar] |
50 |
* |
S04BKOD |
Unit Code |
[nvarchar] |
3 |
* |
S04AKOD |
Warehouse Code |
[nvarchar] |
4 |
|
S04CARP |
Content amount |
[float] |
|
* |
S04TYPE |
Type (0-Master Unit 1-Other) |
[tinyint] |
|
|
S04GKUL |
- |
[tinyint] |
* |
|
S04IKUL |
- |
[tinyint] |
|
|
S04CKUL |
- |
[tinyint] |
|
|
S04DKUL |
- |
[tinyint] |
|
|
S04INT |
Is a Reporting Unit (0 - No , 1 Yes ) |
[tinyint] |
|
|
S04OPTIP |
Calculation Type (0-Multiply, 1-Divide) |
[tinyint] |
|
|
S04EN |
Width (cm) |
[decimal] |
15,3 |
|
S04BOY |
Length (cm) |
[decimal] |
15,3 |
|
S04YUK |
Height (cm) |
[decimal] |
15,3 |
|
S04NAGR |
Net Weight (gr) |
[decimal] |
15,3 |
|
S04BAGR |
Gross Weight (gr) |
[decimal] |
15,3 |
|
S04DESI |
Decimeter |
[float] |
|
|
S04DEFB |
Is Standard Colli (0-No, 1-Yes) |
[tinyint] |
|
|
S04RECTYPE |
Record Type (1-delete 0-insert/update) |
[tinyint] |
|
|
S04ITAR |
Transaction date (YYYYMMDD) |
[decimal] |
8, 0 |
|
S04IZMN |
Transaction time (HHMMSS) |
[decimal] |
6, 0 |
|
S04ERP_ID |
Erp ID |
[bigint] |
||
S04WMSSTAT |
[tinyint] |
- Usage :
- Multiple SKU Unit 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 Unit 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:ENT004_UNIT_List>
<!--Zero or more repetitions:-->
<ENT004_UNIT>
<S04SKOD>01</S04SKOD>
<S04MKOD>MDENEME101</S04MKOD>
<S04BKOD>ADT</S04BKOD>
<S04AKOD>01</S04AKOD>
<S04CARP>10</S04CARP>
<S04TYPE>0</S04TYPE>
<S04GKUL>0</S04GKUL>
<S04IKUL>0</S04IKUL>
<S04CKUL>0</S04CKUL>
<S04DKUL>0</S04DKUL>
<S04INT>0</S04INT>
<S04OPTIP>0</S04OPTIP>
<S04EN>12.12</S04EN>
<S04BOY>12.12</S04BOY>
<S04YUK>12.12</S04YUK>
<S04NAGR>121.2</S04NAGR>
<S04BAGR>122.2</S04BAGR>
<S04DESI>1222</S04DESI>
<S04DEFB>0</S04DEFB>
<S04RECTYPE>0</S04RECTYPE>
<S04ITAR>30300523</S04ITAR>
<S04IZMN>121212</S04IZMN>
</ENT004_UNIT>
</axat:ENT004_UNIT_List>
</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>10576</EntityID>
<EntityCompany>01</EntityCompany>
<EntityCode>MDENEME101</EntityCode>
<EntitySubCode>ADT</EntitySubCode>
<HeaderExt1 i:nil="true"/>
<HeaderExt2 i:nil="true"/>
<HeaderExt3 i:nil="true"/>
<ResultItems/>
</ProcessResult>
</processResult>
</s:Body>
</s:Envelope>
- Sample c# Source Code :