ModifyPurchaseOrder - method

Input

Input is .xml file with following marks.

Element

Item description

Obligation

<PurchaseOrderHeader>

 

 

+<PurchaseOrderYear>

Purchase order year

yes

+<PurchaseOrderBook>

Purchase order book

yes

+<PurchaseOrderNumber>

Purchase order number

yes

+<SupplierID>

Supplier ID

no

+<CustomerID>

Customer ID

no

+<Status>

Status

no

+<Document>

Document

no

+<OrderDate>

Order date

no

+<CostUnitID>

Cost unit ID

no

+<CostCenterID>

Cost center ID

no

+<ClerkID>

Clerk ID

no

+<WorkOrderID>

Work order ID

no

+<AnalyticID>

Analytic ID

no

+<AnalyticAN1ID>

Analytic AN1 ID

no

+<AnalyticAN2ID>

Analytic AN2 ID

no

+<AnalyticAN3ID>

Analytic AN3 ID

no

+<NetAmountOrder>

Net amount order

not used as input

+<GrossAmountOrder>

Gross amount order

not used as input

+<RebateAmountOrder>

Rebate amount order

not used as input

+<DiscountAmountOrder>

Discount amount order

not used as input

+<NetAmountOrderSupplier>

Net amount order supplier

not used as input

+<GrossAmountOrderSupplier>

Gross amount order supplier

not used as input

+<RebateAmountOrderSupplier>

Rebate amount order supplier

not used as input

+<DiscountAmountOrderSupplier>

Discount amount order supplier

not used as input

+<DocumentState>

Document state

not used as input

+<DocumentStateDescription>

Document state description

not used as input

+<ForeseenDeliveryDate>

Foreseen delivery date

no

+<SentDate>

Sent date

not used as input

+<SentDocument>

Sent document

not used as input

+<SentAttachment>

Sent attachment

not used as input

+<PickedDateFirst>

Picked date first

not used as input

+<PickedDateLast>

Picked date last

not used as input

+<PickedNote>

Picked note

no

+<ClosedDate>

Closed date

not used as input

+<ClosedNote>

Closed note

not used as input

+<CanceledDate>

Canceled date

no

+<CanceledNote>

Canceled note

no

+<CurrencyID>

Currency ID

no

+<RebatePercentage>

Rebate percentage

no

+<NoteHeader>

Note header

no

+<NoteFooter>

Note footer

no

+<Note>

Note

no

+<ClerkIDSupplier>

Clerk ID supplier

no

+<SearchKeySeqence>

Search key seqence

no

+<PriceListID>

Price list ID

no

+<WHType2ID>

WH type2ID

no

+<WarehouseID>

Warehouse ID

no

+<LanguageID>

Language ID

no

+<EstimatedpayDate>

Estimatedpay date

no

+<DeliveryType>

Delivery type

no

+<ParityCode>

Parity code

no

+<IwareDate>

Iware date

not used as input

+<ExchangeRateID>

Exchange rate ID

not used as input

+<SignedPRACDate>

Signed PRAC date

no

+<AnnexID>

Document ID of annex attached to purchase order

no

+<ApprovingStatus>

Approving status

not used as input

+<DiscountGroupID>

Discount group ID

no

+<FolderIDr>

Folder ID which contains document related to purchase order

no

+<ApprovingDocument>

Approving document

no

+<InsertedBy>

Inserted by

not used as input

+<InsertedTime>

Inserted time

not used as input

+<ModifiedBy>

Modified by

not used as input

+<ModifiedTime>

Modified time

not used as input

+<ApprovedState>

Approved state

not used as input

+<ApprovedStateDescription>

Approved state description

not used as input

+<ApprovedDate>

Approved date

no

+<ApprovedNote>

Approved note

no

+<ApprovedDeliveryDate>

Approved delivery date

no

+<PurchaseOrderLines>

 

 

++<PurchaseOrderLine>

 

 

+++<PurchaseOrderLineDetail>

Purchase order line detail

 

+++<LineSEQNumber>

Line SEQ number

yes

+++<ItemID>

Item ID - Item ID, bar code or alternate code in accordance with ItemIDtype

yes

+++<ItemIDType>

Item ID type
Determines what is entered in ItemID and OrderQuantity
Possible values are ID for Item ID, BC for bare code, AC for alternate code. ID is default value.

no

+++<OrderedQuantity>

Ordered quantity

yes

+++<Price>

Price

no

+++<QuantitySupplier>

Quantity supplier

no

+++<UnitOfMeasureSupplier>

Unit of measure supplier

no

+++<PriceSupplier>

Price supplier

no

+++<DiscountPercentage>

Discount percentage

no

+++<ForeseenDeliveryDate>

Foreseen delivery date

no

+++<CostCenterID>

Cost center ID

no

+++<CostUnitID>

Cost unit ID

no

+++<ClerkID>

Clerk ID

no

+++<WorkOrderID>

Work order ID

no

+++<AnalyticID>

Analytic ID

no

+++<Note>

Note

no

+++<InsertedBy>

Inserted by

no

+++<InsertedTime>

Inserted time

not used as input

+++<ModifiedBy>

Modified by

not used as input

+++<ModifiedTime>

Modified time

not used as input

+++<ItemIDSupplier>

Item ID supplier

no

+++<ItemTitle1Supplier>

Item title1 supplier

no

+++<ItemTitle2Supplier>

Item title2 supplier

no

+++<Description>

Description

no

+++<ItemEAN>

Item EAN

not used as input

+++<AlternateEAN>

Alternate EAN

not used as input

+++<AlternateUnitOfMeasure>

Alternate unit of measure

not used as input

+++<AlternateConvertFactor>

Alternate convert factor

not used as input

+++<AlternateQuantity>

Alternate quantity

not used as input

+++<PricePerUnitSupplier>

Price per unit supplier

not

+++<PricePerUnitDDE>

Price per unit in domestic currency

not used as input

+++<PricePerUnitOrder>

Price per unit order

not used as input

+++<PricePerUnitNDE>

Price per unit NDE

not used as input

+++<ItemTitle1>

Item title1

no

+++<ItemTitle2>

Item title2

no

+++<Status>

Status

not used as input

+++<IntermediateAmountOrdered>

Intermediate amount ordered

not used as input

+++<IntermediateAmountSupplier>

Intermediate amount supplier

not used as input

+++<UnitOfMeasure>

Unit of measure

no

+++<ItemComparisonCode>

Item comparison code

not used as input

+++<DimensionQuantity>

Dimension quantity

no

+++<DimensionLenght>

Dimension lenght

no

+++<DimensionWidth>

Dimension width

no

+++<DimensionHeight>

Dimension height

no

+++<NetAmountOrdered>

Net amount ordered

not used as input

+++<NetAmountSupplier>

Net amount supplier

not used as input

+++<GrossAmountOrdered>

Gross amount ordered

not used as input

+++<GrossAmountSupplier>

Gross amount supplier

not used as input

+++<DiscountPercentage2>

Discount percentage2

no

+++<DiscountPercentage3>

Discount percentage3

no

+++<DiscountPercentage4>

Discount percentage4

no

+++<DiscountPercentage5>

Discount percentage5

no

+++<QuantityForTesting>

Quantity for testing

no

+++<CanceledLine>

Canceled line

not used as input

+++<TextLine>

Text line

not used as input

+++<PickedLine>

Picked line

not used as input

+++<NumberOfPackages>

Number of packages

no

+++<OrderedQuantitySent>

Ordered quantity sent

not used as input

+++<Series>

Series

no

+++<EstimatedSupplyDate>

Estimated supply date

no

+++<QuantitySupplierUOMSent>

Quantity supplier UOM sent

not used as input

 

 

 

Output

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

Natisni