AgreementForm.checkContactPerson Method [AX 2012]

Validates that the contact person entered is attached to the sales agreement customer or the purchase agreement vendor depending on the agreement type.

public abstract boolean checkContactPerson(AgreementHeader _agreementHeader, AgreementHeaderDefault _agreementHeaderDefault)

Run On

Called

Parameters

_agreementHeader
Type: AgreementHeader Table
A table buffer that contains the current values in the AgreementHeader table.
_agreementHeaderDefault
Type: AgreementHeaderDefault Table
A table buffer that contains the current values in the AgreementHeaderDefault table.

Return Value

Type: boolean
true if the contact person is attached to the sales agreement customer or the PurchaseAgreementHeader record depending on the agreement type; otherwise, false.

Community Additions

ADD
Show: