AddDispatchAdvice - method

Input

Input is .xml file with following marks.

Element

Item description

Obligation

<DispatchAdviceHeader>

 

 

+<DispatchAdviceYear>

Dispatch advice year

 

+<DispatchAdviceBook>

Dispatch advice book

 

+<DispatchAdviceNumber>

Dispatch advice number

 

+<WarehouseID>

Warehouse ID

 

+<CustomerID>

Customer ID

 

+<CustomerPayerID>

Customer payer ID

 

+<DispatchAdviceDate>

Dispatch advice date

 

+<DeliveryDate>

Delivery date

 

+<ConfirmationDate>

Confirmation date

 

+<CustomerConfirmationDate>

Customer confirmation date

 

+<DeliveryAddress>

Delivery address

 

+<DeliveryMethod>

Delivery method

 

+<CurrencyID>

Currency ID

 

+<PriceListID>

Price list ID

 

+<LanguageID>

Language ID

 

+<VATRateDescription>

VAT rate description

 

+<VATInvoiceType>

VAT invoice type

 

+<NetDays>

Net days

 

+<OrderNotice>

Order notice

 

+<CostCenterID>

Cost center ID

 

+<CostUnitID>

Cost unit ID

 

+<ClerkID>

Clerk ID

 

+<WorkOrderID>

Work order ID

 

+<AnalyticID>

Analytic ID

 

+<QuotationYear>

Quotation year

 

+<QuotationNumber>

Quotation number

 

+<Comment>

Comment

 

+<DocumentHeaderDescription>

Document header description

 

+<DocumentFooterDescription>

Document footer description

 

+<Status>

Status

 

+<ExchangeRateDate>

Exchange rate date

 

+<ExchangeRateID>

Exchange rate ID

 

+<ExchangeRateBase>

Exchange rate base

 

+<RebatePercentage>

Rebate percentage

 

+<RebatePercentage2>

Rebate percentage2

 

+<RebatePercentage3>

Rebate percentage3

 

+<RebatePercentage4>

Rebate percentage4

 

+<RebatePercentage5>

Rebate percentage5

 

+<InvoiceBook>

Invoice book

 

+<ConsignationWarehouseID>

Consignation warehouse ID

 

+<Consignation>

Consignation

 

+<AccountingBookGroupID>

Accounting book group ID

 

+<DistanceSale>

Distance sale

 

+<AssemblingAndInstallation>

Assembling and installation

 

+<VAT_NonTaxable_Deduction>

VAT non taxable deduction

 

+<ParityCode>

Parity code

 

+<ParityPlace>

Parity place

 

+<RebateAmountDocument>

Rebate amount document

 

+<PaymentCodeID>

Payment code ID

 

+<DocumentSalesType>

Document sales type

 

+<CashOperation>

Cash operation

 

+<CashierID>

Cashier ID

 

+<PaymentPurposeId>

Payment purpose ID

 

+<DiscountGroupID>

Discount group ID

 

+<DispatchAdviceLines>

 

 

++<DispatchAdviceLine>

 

 

+++<LineNumber>

Line number

 

+++<LineSequence>

Line sequence

 

+++<ItemID>

Item ID

 

+++<ItemIDType>

Item ID type

 

+++<Quantity>

Quantity

 

+++<Series>

Series

 

+++<ItemComparisonCode>

Item comparison code

 

+++<ItemTitle1>

Item title1

 

+++<ItemTitle2>

Item title2

 

+++<ItemDescription>

Item description

 

+++<WarehouseID>

Warehouse ID

 

+++<Price>

Price

 

+++<UnitsForPrice>

Units for price

 

+++<UnitsOfMeasure>

Units of measure

 

+++<DiscountPercentage>

Discount percentage

 

+++<DiscountPercentage2>

Discount percentage2

 

+++<DiscountPercentage3>

Discount percentage3

 

+++<DiscountPercentage4>

Discount percentage4

 

+++<DiscountPercentage5>

Discount percentage5

 

+++<VATRateID>

VAT rate ID

 

+++<VATRatePercent>

VAT rate percent

 

+++<VATCalculated>

VAT calculated

 

+++<VATRateDescription>

VAT rate description

 

+++<VATInvoiceType>

VAT invoice type

 

+++<CostCenterID>

Cost center ID

 

+++<CostUnitID>

Cost unit ID

 

+++<ClerkID>

Clerk ID

 

+++<WorkOrderId>

Work order id

 

+++<AnalyticID>

Analytic ID

 

+++<Status>

Status

 

+++<GrossAmount>

Gross amount

 

+++<IntermediateAmount>

Intermediate amount

 

+++<NetAmount>

Net amount

 

+++<DiscountAmount>

Discount amount

 

+++<RebateAmount>

Rebate amount

 

++++<VATAmount>

VAT amount

 

++<RebateValue>

Rebate value

 

+++<DiscountValue>

Discount value

 

+++<Note>

Note

 

 

 

 

Output

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

Natisni