Search Results for

    Show / Hide Table of Contents

    DC - Generate Totals Codeunit

    This Codeunit calculates the amounts for totaling of documents printed from the Sales Header and Purchase Header tables. The way this codeunit is used is to set up the Section (Document Layout Line) to run it once per record, which then updates the Variables values that are used in the Document Layout.

    Table ID Table Name Variables Created
    36 Sales Header InvoiceDiscAmount
    InvoiceRoundAmount
    TotalAmount
    VATAmount
    38 Purchase Header InvoiceDiscAmount
    InvoiceRoundAmount
    TotalAmount
    VATAmount

    Feedback
    Submit feedback for this page.

    In This Article
    Back to top 2025 © COSMO CONSULT - Data protection - Imprint