Method Name : addOutboundOrderProp

  • Purpose of usage :

It is used to add Title etc. Item Properties to Outbound Orders in Axata WMS System.

  • Integration Tables :

ENT006_PROP - ENT001_PROP

  • Operasyon Tablosu :


  • Integration Table Fields :



Transaction type :

Host_to_WMS




Table Name :

ENT000_PROP




Table Description :

Outbound Orders master Property table




Field Name

Desc

Type

Len

Req

S00SKOD

Company Code

[nvarchar]

4

*

S00TESN

Order Number (Unique)

[nvarchar]

50

*

S00PROP

Property Number

[decimal]

5,0


S00VAL1

Property value 1

[nvarchar]

500


S00VAL2

Property value 1

[nvarchar]

500

 

S00VAL3

Property value 1

[nvarchar]

500


S00IKOD

Process Code

[tinyint]



S00ITAR

Transaction date (YYYYMMDD)

[decimal]

8,0

 

S00IZMN

Transaction time (HHMMSS)

[decimal]

6,0


ERP_ID

Erp ID

[bigint]





Transaction type :

Host_to_WMS




Table Name :

ENT001_PROP




Table Description :

outbound Order detail Property table




Field Name

Desc

Type

Len

Req

S01SKOD

Company Code

[nvarchar]

4

*

S01TESL

Order Number (Unique)

[nvarchar]

50

*

S01KALN

Item Number

[nvarchar]

50

*

S01PROP

Property Number

[decimal]

5,0


S01VAL1

Property value 1

[nvarchar]

500


S01VAL2

Property value 1

[nvarchar]

500

 

S01VAL3

Property value 1

[nvarchar]

500


S01IKOD

İşlem Code

[tinyint]



S01ITAR

Transaction date (YYYYMMDD)

[decimal]

8,0

 

S01IZMN

Transaction time (HHMMSS)

[decimal]

6,0


ERP_ID

Erp ID

[bigint]




Usage :

    • Title Properties list and Item Properties lists can be exported as separate strings.
    • Not all fields have to be submitted.
    • If generating XML for submission, the fields should be submitted in the order in the table above..
    • The maximum number of posts is limited. Limit control is done from Total of Title and Item lists (Parametric).
    • A separate processResult object is returned for each pallet blocking data. .
  • Sample c# Source Code :


class Program

    {

        static void Main(string[] args)

        {

            BasicHttpBinding binding = new BasicHttpBinding();

            EndpointAddress endpoint = new EndpointAddress("http://axataintegrationservicestest.azurewebsites.net/AxataServicePool.svc");


            ServiceReference1.AxataServicePoolClient client = new ServiceReference1.AxataServicePoolClient(binding,endpoint);


            ServiceReference1.FirmAddress firmAddress = new ServiceReference1.FirmAddress();

            List<ServiceReference1.FirmAddress> firmAddressList = new List<ServiceReference1.FirmAddress>();

            ServiceReference1.addFirmAddress_Res res = new ServiceReference1.addFirmAddress_Res();

           

            firmAddress.ENT002_ADR = new ServiceReference1.ENT002_ADR

            {

                S02SKOD = "01",

                S02BAYK = "T001",

                S02SIRA = "01",

                S02ADR1 = "Address 1",

                S02ADR2 = "",

                S02IKOD = "34",

                S02District = "KADIKOY"

            };

            firmAddressList.Add(firmAddress);


            string message;

            var result =  client.addFirmAddress("axataservice", "", firmAddressList.ToArray(), out message, out res.processResult);


            if (result == 0)

                Console.WriteLine("Genel Sonuc : " + message);

            else

            {

                Console.WriteLine("Genel Sonuc : " + message);


                foreach (ServiceReference1.ProcessResult processResults in res.processResult)

                {

                    Console.WriteLine("Sirket:  " + processResults.EntityCompany);

                    Console.WriteLine("Dokuman: " + processResults.EntityCode);

                    Console.WriteLine("Durum : " + processResults.LogMessage);

                    Console.WriteLine("\n");

                }                

            }

            Console.ReadKey();

        }

    }