Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns cost accounting type based on the specified parameters.
Syntax
protected str getCostAccounting(LedgerJournalTrans _ledgerJournalTrans, BankAccountTable _bankAccountTable)
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
A LedgerJournalTrans record used to find cost accounting type.
- _bankAccountTable
Type: BankAccountTable Table
A BankAccountTable record used to find cost accounting type.
Return Value
Type: str
Either "BN1", "BN2" or "OUR" values based on the specified parameters.
Exceptions
Exception | Condition |
---|---|
Error | Error is thrown if the FeePosting type is unsupported. |