addFirmAddress
Method Name : addFirmAddress
- Purpose of usage :
Used to add Company Address master data to Axata WMS system .
- Integration Tables :
Axata Table Name |
Process type |
Table Type |
Description |
ENT002_ADR |
Host_to_WMS |
Master Data |
Firm address info |
- Integration Table Fields :
Transaction type : |
Host_to_WMS |
|||
Table Name : |
ENT002_ADR |
|||
Table Description : |
Firm address info |
|||
Field Name |
Desc |
Type |
Len |
Mandatory |
S02ID |
Identity |
[bigint] |
|
|
S02SKOD |
Company Code |
[nvarchar] |
4 |
* |
S02BAYK |
Firm Code |
[nvarchar] |
50 |
* |
S02SIRA |
Address sıra no |
[nvarchar] |
2 |
* |
S02ADR1 |
Address 1 |
[nvarchar] |
50 |
|
S02ADR2 |
Address 2 |
[nvarchar] |
50 |
|
S02ADR3 |
Address 3 |
[nvarchar] |
50 |
|
S02UKOD |
Country Code |
[nvarchar] |
3 |
|
S02IKOD |
Province Code |
[nvarchar] |
3 |
|
S02ILCK |
County Code |
[nvarchar] |
10 |
|
S02District |
District Code |
[nvarchar] |
50 |
|
S02PKOD |
Postal Code |
[nvarchar] |
10 |
|
S02ITAR |
Transaction date (YYYYMMDD) |
[decimal] |
8, 0 |
|
S02IZMN |
Transaction time (HHMMSS) |
[decimal] |
6, 0 |
|
S02ERP_ID |
ERP ID |
[bigint] |
||
S02LNG |
Latitude |
[float] |
||
S02LTD |
Longitude |
[float] |
||
S02RNOD |
[nvarchar] |
50 |
- Usage :
- Multiple Addresses can be sent simultaneously .
- Maximum number of posts is limited (Parametric).
- A separate processResult object is returned for each Address .
- Not all fields have to be submitted.
- If generating XML for submission, the fields should be submitted in the order in the table above..
- Sample XML
- Request :
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tem="http://tempuri.org/"
xmlns:axat="http://axatawms"
xmlns:wms="http://schemas.datacontract.org/2004/07/WMSServiceCore.Models">
<soapenv:Header/>
<soapenv:Body>
<tem:username>axataservice</tem:username>
<tem:password></tem:password>
<axat:FirmAddressList>
<!--Zero or more repetitions:-->
<wms:FirmAddress>
<wms:ENT002_ADR>
<S02SKOD>01</S02SKOD>
<S02BAYK>MDENEME101</S02BAYK>
<S02SIRA>01</S02SIRA>
<S02ADR1>Address1</S02ADR1>
<S02ADR2>Address2</S02ADR2>
<S02ADR3>Address3</S02ADR3>
<S02UKOD>TR</S02UKOD>
<S02IKOD>34</S02IKOD>
<S02ILCK>111</S02ILCK>
<S02PKOD>41400</S02PKOD>
<S02ITAR>20200523</S02ITAR>
<S02IZMN>121314</S02IZMN>
<S02District>District</S02District>
<ERP_ID>0</ERP_ID>
<S02LNG>0</S02LNG>
<S02LTD>0</S02LTD>
</wms:ENT002_ADR>
</wms:FirmAddress>
</axat:FirmAddressList>
</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>13205</EntityID>
<EntityCompany>01</EntityCompany>
<EntityCode>MDENEME101</EntityCode>
<EntitySubCode>01</EntitySubCode>
<HeaderExt1 i:nil="true"/>
<HeaderExt2 i:nil="true"/>
<HeaderExt3 i:nil="true"/>
<ResultItems/>
</ProcessResult>
</processResult>
</s:Body>
</s:Envelope>
- Sample c# Source Code :