Show / Hide Table of Contents

    OnUpdateShipToAddressOnBeforeModifyContractHeader Event

    Codeunit Contract Address Mgt

    Raised after ship-to address on a contract is updated from a ship-to address record. The event can be used to customize what fields on a contract that should be updated when a ship-to address used in a contract is changed.

    Signature

    [IntegrationEvent(false, false)]
    OnUpdateShipToAddressOnBeforeModifyContractHeader(var ContractHeader: Record "QWEPR Contract Header"; UnmodifiedContractHeader: Record "QWEPR Contract Header" temporary; ShiptoAddress: Record "Ship-to Address")
    

    Parameters

    var ContractHeader Record "QWEPR Contract Header"

    The Contract Header that is being updated.

    UnmodifiedContractHeader Record "QWEPR Contract Header" temporary

    A copy of Contract Header as it was before it was updated from ShiptoAddress.

    ShiptoAddress Record "Ship-to Address"

    The ship-to address record that is causing the update.

    Remarks

    Any changes to ContractHeader is done before this event, but they are not yet saved to database. ContractHeader.Modify() is called just after this event.

    This documentation is generated from Parrot v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX