Table of Contents

OnUpdateBillToAddressOnBeforeModifyContractHeader Event

Codeunit Contract Address Mgt

Raised after bill-to address on a contract is updated from customer. The event can be used to customize what fields on a contract that should be updated when a customer, set as bill-to customer on a contract, is changed.

Signature

[IntegrationEvent(false, false)]
OnUpdateBillToAddressOnBeforeModifyContractHeader(var ContractHeader: Record "QWEPR Contract Header"; UnmodifiedContractHeader: Record "QWEPR Contract Header" temporary; Customer: Record Customer)

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 Customer.

Customer Record Customer

The customer 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