ProjCategory.setLedgerAccount Method
Retrieves the ledger account number for the posting account type.
Syntax
private LedgerDimensionDefaultAccount setLedgerAccount(
boolean set,
LedgerDimensionDefaultAccount ledgerAccount,
ProjAccountType accountType)
Run On
Called
Parameters
- set
Type: boolean
A Boolean value that indicates whether to set the ledger account to the value of the _ledgerAccount parameter.
- ledgerAccount
Type: LedgerDimensionDefaultAccount Extended Data Type
The ledger account number for the posting account type.
- accountType
Type: ProjAccountType Enumeration
The project account type for posting.
Return Value
Type: LedgerDimensionDefaultAccount Extended Data Type
The ledger account number that is used for posting.