AddOrder - method

Input

Input is .xml file with following marks.

Element

Item description

Obligation

<OrderHeader>

 

 

+<OrderYear>

Order year

 

+<OrderBook>

Order book

 

+<InvoiceBook>

Invoice book

 

+<WarehouseId>

Warehouse ID

 

+<CustomerId>

Customer ID

 

+<CustomerPayerId>

Customer payer ID

 

+<OrderDate>

Order date

 

+<ConfirmationDate>

Confirmation date

 

+<CustomerConfirmationDate>

Customer confirmation date

 

+<OrderReference>

Order reference

 

+<QuotationNumber>

Quotation number

 

+<DeliveryAddress>

Delivery address

 

+<DeliveryMethod>

Delivery method

 

+<CurrencyId>

Currency ID

 

+<PriceListId>

Price list ID

 

+<CostCenterId>

Cost center ID

 

+<CostUnitId>

Cost unit ID

 

+<ClerkId>

Clerk ID

 

+<WorkOrderId>

Work order ID

 

+<AnalyticId>

Analytic ID

 

+<AccountingBookGroupId>

Accounting book group ID

 

+<Analytic_AN1_ID>

Analytic AN1 ID

 

+<Analytic_AN2_ID>

Analytic AN2 ID

 

+<Analytic_AN3_ID>

Analytic AN3 ID

 

+<CustomerClerkID>

Customer clerk ID

 

+<OrderStatus>

Order status

 

+<RebatePercentage>

Rebate percentage

 

+<RebatePercentage2>

Rebate percentage2

 

+<RebatePercentage3>

Rebate percentage3

 

+<RebatePercentage4>

Rebate percentage4

 

+<RebatePercentage5>

Rebate percentage5

 

+<RebateAmountDocument>

Rebate amount document

 

+<DocumentSalesType>

Document sales type

 

+<DiscountGroupId>

Discount group ID

 

+<Comment>

Comment

 

+<ParityCode>

Parity code

 

+<ParityPlace>

Parity place

 

+<OrderLines>

 

 

++<OrderLine>

 

 

++<OrderLineNo>

Order line number

 

++<ItemID>

Item ID

 

++<ItemIDType>

Item ID type

 

++<ItemTitle1>

Item title1

 

++<ItemTitle2>

Item title2

 

++<ItemDescription>

Item description

 

++<Qty>

Qty

 

++<Series>

Series

 

++<ExpirationDate>

Expiration date

 

++<WareHouseId>

Ware house ID

 

++<Price>

Price

 

++<DiscountPercentage>

Discount percentage

 

++<DiscountPercentage2>

Discount percentage2

 

++<DiscountPercentage3>

Discount percentage3

 

++<DiscountPercentage4>

Discount percentage4

 

++<DiscountPercentage5>

Discount percentage5

 

++<DiscountAmountAmount>

Discount amount amount

 

++<VATRateId>

VAT rate ID

 

++<VATRatePercent>

VAT rate percent

 

++<PriceIncludeVAT>

Price include VAT

 

++<UnitsForPrice>

Units for price

 

++<Comment>

Comment

 

++<CostCenterId>

Cost center ID

 

++<CostUnitId>

Cost unit ID

 

++<ClerkId>

Clerk ID

 

++<WorkOrderid>

Work orderid

 

++<AnalyticId>

Analytic ID

 

++<TextLine>

Text line

 

++<VATCalculated>

VAT calculated

 

++<VATInvoiceType>

VAT invoice type

 

++<VAT_NonTaxable_Deduction>

VAT non taxable deduction

 

 

 

 

Output

The output is a .xml file in which it is stated, if the method is successful or not.

Natisni