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
CalledParameters
- _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: booleantrue 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: