CustLedgerAccounts::findInterestAccount_BR Method
Find the correct Account related to Interest, following the order Table, Group, All
Syntax
server public static LedgerDimensionDefaultAccount findInterestAccount_BR(CustAccount _custAccount, CustPostingProfile _custPostingProfile)
Run On
Server
Parameters
- _custAccount
Type: CustAccount Extended Data Type
CustAccount information that is going to be used to find the correct account (accountCode = Table)
- _custPostingProfile
Type: CustPostingProfile Extended Data Type
The posting profile that should used for searching
Return Value
Type: LedgerDimensionDefaultAccount Extended Data Type
The LedgerDimensionDefaultAccount value that represents the correct account related to interest, following the order Table, Group, All.
Exceptions
Exception | Condition |
---|---|
Error | Posting profile has not been set up in accounts receivable parameters or the specified account wasn't found. |