Share via


ProjCategory.costAccount Method

Returns an editable field that contains the ledger account number for costs posting.

Syntax

edit ProjLedgerDimensionDefaultAccountCost costAccount(boolean _set, LedgerDimensionDefaultAccount _ledgerAccount)

Run On

Called

Parameters

  • _set
    Type: boolean
    A Boolean value that indicates whether to set the ledger account for costs to the value of the _ledgerAccount parameter.

Return Value

Type: ProjLedgerDimensionDefaultAccountCost Extended Data Type
A LedgerAccount data type that represents the ledger account number for the costs.

Remarks

The _ledgerAccount value is used by the private setLedgerAccount method to retrieve the account from the ProjPosting table.

See Also

Reference

ProjCategory Table