Show / Hide Table of Contents

    QWEPR_OnBeforeBlockReCreateSalesLines Event

    TableExtension Sales Line

    Raised before the recreate sales line functionality is blocked if sales lines originates from a contract.

    Recreate sales line functionality is typically called when changing Sell-To Customer No., Currency Code, Vat Bus. Posting Group etc. in a sales header.

    Signature

    [IntegrationEvent(false, false)]
    QWEPR_OnBeforeBlockReCreateSalesLines(var SalesHeader: Record "Sales Header"; xSalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; ChangedFieldName: Text[100]; var IsHandled: Boolean)
    

    Parameters

    var SalesHeader Record "Sales Header"

    The sales header that is being updated.

    xSalesHeader Record "Sales Header"

    The sales header as it was before if was updated.

    var SalesLine Record "Sales Line"

    An instance of sales line filtered for lines belonging to the SalesHeader, and with an origin from a contract.

    ChangedFieldName Text[100]

    The field in SalesHeader that is causing the call to recreate sales lines.

    var IsHandled Boolean

    Should be set to true to prevent that the recreate sales line functionality, for sales lines that originates from a contract, is blocked.

    This documentation is generated from Parrot v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX