InventOwner_RU::lookupAgreement Method
Looks up the agreement, based on the account type and account of the inventory owner
Syntax
client public static AgreementHeaderExt_RU lookupAgreement(
InventOwnerAccountType_RU _accountType,
InventOwnerAccountNum_RU _accountNum,
FormReferenceControl _callingControl)
Run On
Client
Parameters
- _accountType
Type: InventOwnerAccountType_RU Enumeration
The account type of the inventory owner.
- _accountNum
Type: InventOwnerAccountNum_RU Extended Data Type
The account of the inventory owner.
- _callingControl
Type: FormReferenceControl Class
The calling control.
Return Value
Type: AgreementHeaderExt_RU Table
The AgreementHeaderExt_RU record.
Exceptions
Exception | Condition |
---|---|
Error | The lookupAgreement function was called incorrectly. |