Share via


LedgerJournalTable.mainAccountType Method

Gets the main account type of the voucher for the current journal.

Syntax

public LedgerJournalACType mainAccountType(Voucher _voucher)

Run On

ClientOrServer

Parameters

Return Value

Type: LedgerJournalACType Enumeration
The main account type of the voucher.

Remarks

The project account type is considered the most important type and overrules the other accounts.If more than one account is of type Cust or Vend, the main account is considered a Ledger account.

See Also

Reference

LedgerJournalTable Table