SalesAgreementHeader::findAgreementId Method [AX 2012]

Finds the specified record in the SalesAgreementHeader table.

client server public static SalesAgreementHeader findAgreementId(SalesAgreementId _agreementId, [boolean _forUpdate])

Run On



Type: SalesAgreementId Extended Data Type
The agreement ID of the SalesAgreementHeader record to find.
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: SalesAgreementHeader Table
A record in the SalesAgreementHeader table; otherwise, an empty record.