LedgerJournalTrans.mainAccountType_PL Method
Gets the main account type of the current transaction.
Syntax
public LedgerJournalACType mainAccountType_PL()
Run On
Called
Return Value
Type: LedgerJournalACType Enumeration
The main account type of the current transaction is on.
Remarks
Under Polish country/region context, the main account type is determined per transaction when possible, according to the following rules: 1. If either the AccountType or the OffsetAccountType is Project, then that is returned.
2. If either the AccountType or the OffsetAccountType is Cust or Vend, but both Cust and Vend are not present, then that is returned.
3. If either the AccountType or the OffsetAccountType is RCash then that is returned.
4. In all other cases, Ledger is returned.