CustLedgerAccounts::findRefRecIdForCust Method
Finds the specified record in the CustLedgerAccounts table.
Syntax
server public static RefRecId findRefRecIdForCust(
CustPostingProfile _custPostingProfile,
TableGroupAll _accountCode,
CustAccount _custAccount,
FieldId _fieldId)
Run On
Server
Parameters
- _custPostingProfile
Type: CustPostingProfile Extended Data Type
The customer posting profile.
- _accountCode
Type: TableGroupAll Enumeration
The account code.
- _custAccount
Type: CustAccount Extended Data Type
The customer account.
- _fieldId
Type: FieldId Extended Data Type
The field ID of the field in the CustLedgerAccounts table.
Return Value
Type: RefRecId Extended Data Type
A record in the CustLedgerAccounts table; otherwise, an empty record.