addProvince
Method Name : addProvince
- Purpose of usage :
Used to Add Province (IL) Data to Axata WMS System.
- Integration Tables :
Axata Table Name |
Process type |
Table Type |
Description |
ENT031 |
Host_to_WMS |
Province |
Province Master Data Table |
- Integration Table Fields :
Transaction type : |
Host_to_WMS |
|
||
Table Name : |
ENT031 |
|||
Table Description : |
Province Descriptions |
|||
Field Name |
Desc |
Type |
Len |
Mandatory |
S31ID |
Identity |
[bigint] |
|
|
S31ULKOD |
Country Code |
[nvarchar] |
3 |
* |
S31ILKOD |
Province Code |
[nvarchar] |
3 |
* |
S31DESC |
Province tanımı |
[nvarchar] |
50 |
* |
S31ITIP |
Cancel Code (0-Insert/Update 1-Delete) |
[tinyint] |
|
|
S31ITAR |
Transaction date (YYYYMMDD) |
[decimal] |
8, 0 |
|
S31IZMN |
Transaction time (HHMMSS) |
[decimal] |
6, 0 |
- Usage :
- Multiple object 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:ProvinceList>
<!--Zero or more repetitions:-->
<ENT031>
<S31ULKOD>TR</S31ULKOD>
<S31ILKOD>34</S31ILKOD>
<S31DESC>ISTANBUL</S31DESC>
</ENT031>
<ENT031>
<S31ULKOD>TR</S31ULKOD>
<S31ILKOD>41</S31ILKOD>
<S31DESC>KOCAELI</S31DESC>
</ENT031>
</axat:ProvinceList>
</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/>
<EntityCode>34</EntityCode>
<EntitySubCode>TR</EntitySubCode>
<HeaderExt1 i:nil="true"/>
<HeaderExt2 i:nil="true"/>
<HeaderExt3 i:nil="true"/>
<ResultItems/>
</ProcessResult>
<ProcessResult>
<LogState>0</LogState>
<LogMessage>Success</LogMessage>
<EntityID>4</EntityID>
<EntityCompany/>
<EntityCode>41</EntityCode>
<EntitySubCode>TR</EntitySubCode>
<HeaderExt1 i:nil="true"/>
<HeaderExt2 i:nil="true"/>
<HeaderExt3 i:nil="true"/>
<ResultItems/>
</ProcessResult>
</processResult>
</s:Body>
</s:Envelope>
- Sample c# Source Code :