CustLedgerAccounts::custInterest Method
Finds the CustInterest record ID.
Syntax
server public static CustInterestRecId custInterest(
CustAccount _accountNum,
CustPostingProfile _custPostingProfile,
[boolean _lookupDefPostingProfile])
Run On
Server
Parameters
- _accountNum
Type: CustAccount Extended Data Type
The customer account number.
- _custPostingProfile
Type: CustPostingProfile Extended Data Type
The posting profile ID used to find the CustInterest record.
- _lookupDefPostingProfile
Type: boolean
A Boolean value that indicates whether to look up the posting profile in accounts receivable; optional.
Return Value
Type: CustInterestRecId Extended Data Type
The CustInterest record ID.
Exceptions
Exception | Condition |
---|---|
Error | The posting profile ID parameter was blank and no post profile was available in the accounts receivable parameters. |