AgreementForm.formMethodDataSourceValidateWrite Method [AX 2012]

Validates the agreement order ID value to write.

public boolean formMethodDataSourceValidateWrite(FormDataSource _agreementHeader_ds)

Run On

Called

Parameters

_agreementHeader_ds
Type: FormDataSource Class
The data source for which to perform the order ID validity check.

Return Value

Type: boolean
true if the order ID is valid; otherwise, false.

The method is called from the agreement forms before saving the agreement header.

For more information, see numberSeqFormHandlerAgreementId, SalesAgreementForm, PurchAgreementForm.

Community Additions

ADD
Show: