AddPreReceipt

<?xml version="1.0" encoding="utf-8"?>
<PreReceiptHeader>
    <PreReceiptYear>2018</PreReceiptYear>
    <PreReceiptBook>P</PreReceiptBook>
    <WarehouseID>1000020</WarehouseID>
    <SupplierID>0001234</SupplierID>
    <CostCenterID>0000011</CostCenterID>
    <CostUnitID>0000004</CostUnitID>
    <ClerkID>0000027</ClerkID>
    <WorkOrderID>DN-123/2018</WorkOrderID>
    <AnalyticID>00001</AnalyticID>
    <PreReceiptDate>2018-03-15T00:00:00.000</PreReceiptDate>
    <Document>Document 12372018</Document>
    <CurrencyID>978</CurrencyID>
    <ExchangeRate>1</ExchangeRate>
    <InvoiceAmount>1000</InvoiceAmount>
    <RebatePercentage>0</RebatePercentage>
    <EntryFactorDC>false</EntryFactorDC>
    <ForeignDCFactor>2</ForeignDCFactor>
    <HomeDCFactor>3</HomeDCFactor>
    <Note>Text ABCD</Note>
    <NoteHeader>Header text</NoteHeader>
    <NoteFooter>Footer text</NoteFooter>
    <Intrastat>true</Intrastat>
    <DispatchCountry>IT</DispatchCountry>
    <BusinessTypeCode>11</BusinessTypeCode>
    <DeliveryTermsCode>CIP</DeliveryTermsCode>
    <LocationCode>1</LocationCode>
    <TransportTypeCode>3</TransportTypeCode>
    <FlatRateTax>true</FlatRateTax>
    <PaymentDate>2018-04-01T00:00:00.000</PaymentDate>
    <IDFolder>3807C184-C1E1-4823-8884-B58563F9D4A3</IDFolder>
    <PreReceiptLines>
        <PreReceiptLine>
            <LineNumber>1</LineNumber>
            <ItemID>ART001</ItemID>
            <ItemIDType>ID</ItemIDType>
            <Quantity>1</Quantity>
        </PreReceiptLine>
        <PreReceiptLine>
            <LineNumber>2</LineNumber>
            <ItemID>12341238</ItemID>
            <ItemIDType>BC</ItemIDType>
            <Quantity>5</Quantity>
        </PreReceiptLine>
        <PreReceiptLine>
            <LineNumber>3</LineNumber>
            <ItemID>ZXY125</ItemID>
            <ItemIDType>AC</ItemIDType>
            <Quantity>3</Quantity>
        </PreReceiptLine>
        <PreReceiptLine>
            <LineNumber>4</LineNumber>
            <ItemID>ART004</ItemID>
            <ItemIDType>ID</ItemIDType>
            <Series>D</Series>
            <Quantity>2.0</Quantity>
            <InvoicedPrice>8.5</InvoicedPrice>
            <DiscountPercentage>5</DiscountPercentage>
            <DiscountPercentage2>4.1234567</DiscountPercentage2>
            <DiscountPercentage3>3</DiscountPercentage3>
            <DiscountPercentage4>2</DiscountPercentage4>
            <DiscountPercentage5>1</DiscountPercentage5>
            <InvoicedValue>40</InvoicedValue>
            <DCPercentage>10</DCPercentage>
            <DCAmount>1.22</DCAmount>
            <PurchasePrice>5.678989</PurchasePrice>
            <SellingPrice>24.99</SellingPrice>
            <PriceWithVAT>36.60</PriceWithVAT>
            <WarehouseID>1000027</WarehouseID>
            <NumberOfPackage>5.777</NumberOfPackage>
            <ItemWeightPerUnit>7.837</ItemWeightPerUnit>
            <ItemVolumePerUnit>8.65456</ItemVolumePerUnit>
            <CodeCountryOrigin>FR</CodeCountryOrigin>
            <AdditionalUMQuantity>2.3456</AdditionalUMQuantity>
            <StatisticalValue>100.55</StatisticalValue>
            <Note>Text</Note>
            <ItemDescription>Text</ItemDescription>
        </PreReceiptLine>
    </PreReceiptLines>
    <DependentCostsLines>
        <DependentCostsLine>
            <DCLineNumber>1</DCLineNumber>
            <DCCode>4</DCCode>
            <Label>D</Label>
            <Amount>6.15</Amount>
        </DependentCostsLine>
        <DependentCostsLine>
            <DCLineNumber>2</DCLineNumber>
            <Label>T</Label>
            <Amount>20</Amount>
        </DependentCostsLine>
        <DependentCostsLine>
            <DCLineNumber>3</DCLineNumber>
            <DCCode>4</DCCode>
            <Description>Transport costs</Description>
            <DCCustomerCode>0000124x</DCCustomerCode>
            <AccountDC>1200x</AccountDC>
            <Label>D</Label>
            <Note>Dependent costst text</Note>
            <Amount>6.15</Amount>
        </DependentCostsLine>
    </DependentCostsLines>
</PreReceiptHeader>

 

Natisni