AddPurchaseOrder

<?xml version="1.0" encoding="utf-8"?>
<PurchaseOrderHeader>
     <PurchaseOrderYear>2017</PurchaseOrderYear>
     <PurchaseOrderBook>PR</PurchaseOrderBook>
     <PurchaseOrderNumber>82</PurchaseOrderNumber>
     <SupplierID>0000001</SupplierID>
     <CustomerID>0000002</CustomerID>
     <Document>Naročilo 123/ČĆĐŠŽ-2017</Document>
     <OrderDate>2017-11-24T00:00:00.000</OrderDate>
     <CostUnitID>0000004</CostUnitID>
     <CostCenterID>0000011</CostCenterID>
     <ClerkID>0000021</ClerkID>
     <WorkOrderID>DN 123-2017</WorkOrderID>
     <AnalyticID>00003</AnalyticID>
     <ForeseenDeliveryDate>2018-01-31T00:00:00.000</ForeseenDeliveryDate>
     <SentDocument>ABC-2017</SentDocument>
     <PickedNote>2017-CDE</PickedNote>
     <CurrencyID>978</CurrencyID>
     <RebatePercentage>10.0</RebatePercentage>
     <NoteHeader>Opomba glave čćđšž...</NoteHeader>
     <NoteFooter>Opmba konca...</NoteFooter>
     <Note>Generalna opomba...</Note>
     <PriceListID>MC</PriceListID>
     <WHType2ID>PT</WHType2ID>
     <WarehouseID>0000006</WarehouseID>
     <LanguageID>2</LanguageID>
     <EstimatedpayDate>2018-01-15T00:00:00.000</EstimatedpayDate>
     <DeliveryType>PBS</DeliveryType>
     <ParityCode>CFR</ParityCode>
     <SignedPRACDate>2017-10-31T00:00:00.000</SignedPRACDate>
     <AnnexID>CB9E15A0-F565-4F2D-9F0C-95F017F3FB45</AnnexID>
     <DiscountGroupID>3</DiscountGroupID>
     <FolderID>98C81CBA-75FF-4BE9-BC2A-3D06C558D818</FolderID>
     <ApprovedDate>2017-11-30T00:00:00.000</ApprovedDate>
     <ApprovedDeliveryDate>2018-01-01T00:00:00.000</ApprovedDeliveryDate>
     <PurchaseOrderLines>
         <PurchaseOrderLine>
             <LineSEQNumber>1</LineSEQNumber>
             <ItemID>ART001</ItemID>
             <ItemIDType>ID</ItemIDType>
             <OrderedQuantity>2.5</OrderedQuantity>
             <Price>90.00</Price>
             <QuantitySupplier>5</QuantitySupplier>
             <UnitOfMeasureSupplier>pcs</UnitOfMeasureSupplier>
             <PriceSupplier>40</PriceSupplier>
             <DiscountPercentage>20</DiscountPercentage>
             <ForeseenDeliveryDate>2018-02-15T00:00:00.000</ForeseenDeliveryDate>
             <CostUnitID>0000002</CostUnitID>
             <CostCenterID>0000009</CostCenterID>
             <ClerkID>0000005</ClerkID>
             <WorkOrderID>DeNa 123-2017</WorkOrderID>
             <AnalyticID>00004</AnalyticID>
             <Note>Opomba na vrstico ...</Note>
             <Description>To pa opisuje vrstico ND</Description>
             <ItemTitle1>Poseben zaziv artikla</ItemTitle1>
             <ItemTitle2>, ki je v dveh vrsticah</ItemTitle2>
             <UnitOfMeasure>KoM</UnitOfMeasure>
             <DimensionLenght>2</DimensionLenght>
             <DimensionWidth>5</DimensionWidth>
             <DimensionHeight>10</DimensionHeight>
             <DimensionQuantity>100.1</DimensionQuantity>
             <DiscountPercentage2>2</DiscountPercentage2>
             <DiscountPercentage3>3</DiscountPercentage3>
             <DiscountPercentage4>4</DiscountPercentage4>
             <DiscountPercentage5>5</DiscountPercentage5>
             <QuantityForTesting>123</QuantityForTesting>
             <NumberOfPackages>105</NumberOfPackages>
             <EstimatedSupplyDate>2018-01-17T00:00:00.000</EstimatedSupplyDate>
         </PurchaseOrderLine>
         <PurchaseOrderLine>
            <LineSEQNumber>2</LineSEQNumber>
            <ItemID>12341238</ItemID>
            <ItemIDType>BC</ItemIDType>
            <OrderedQuantity>2</OrderedQuantity>
         </PurchaseOrderLine>
         <PurchaseOrderLine>
            <LineSEQNumber>3</LineSEQNumber>
            <ItemID>ZXY125</ItemID>
            <ItemIDType>AC</ItemIDType>
            <OrderedQuantity>2</OrderedQuantity>
         </PurchaseOrderLine>
         <PurchaseOrderLine>
           <LineSEQNumber>4</LineSEQNumber>
           <ItemID>ART004</ItemID>
           <ItemIDType>ID</ItemIDType>
           <OrderedQuantity>2</OrderedQuantity>
           <Series>XXL</Series>
        </PurchaseOrderLine>
    </PurchaseOrderLines>
</PurchaseOrderHeader>

 

Natisni