PurchAgreementHeader::findAgreementId Method
Finds the specified record in the PurchAgreementHeader table by using an agreement ID.
Syntax
client server public static PurchAgreementHeader findAgreementId(PurchAgreementId _agreementId, [boolean _forUpdate])
Run On
Called
Parameters
- _agreementId
Type: PurchAgreementId Extended Data Type
The ID of the PurchAgreementHeader record to find.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: PurchAgreementHeader Table
A record in the PurchAgreementHeader table; otherwise, an empty record.