Compartilhar via


ProjGroup.costAccount Method

Returns, and optionally sets, the ledger account for cost that will be used by projects in this project group.

Syntax

edit ProjLedgerDimensionDefaultAccountCost costAccount(boolean _set, LedgerDimensionDefaultAccount _ledgerAccount)

Run On

Called

Parameters

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

Return Value

Type: ProjLedgerDimensionDefaultAccountCost Extended Data Type
The ledger account for Cost.

Remarks

When tied to a control on a form, this method is automatically called every time that the form is redrawn, and _set will be true if the user has entered anything in the control.

See Also

Reference

ProjGroup Table