CustLedgerAccounts::findTaxTransferAccount_BR Method

Finds the correct Account related to Tax Credit, following the order Table, Group, All.

Syntax

server public static LedgerDimensionDefaultAccount findTaxTransferAccount_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)

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
The LedgerDimensionDefaultAccount value that represents the correct Account related to Tax Credit, following the order Table, Group, All.

Exceptions

Exception Condition
Error

Posting profile has not been set up in accounts receivable parameters.

-or-

ICMS tax transfer account for given customer account in given posting profile does not exist.

See Also

Reference

CustLedgerAccounts Table