ProjGroup.payrollAllocation Method
Returns, and optionally sets, the ledger account for payroll allocation that will be used by projects in this project group.
Syntax
edit ProjLedgerDimensionDefaultAccountHour payrollAllocation(boolean _set, LedgerDimensionDefaultAccount _ledgerAccount)
Run On
Called
Parameters
- _set
Type: boolean
A Boolean value that specifies whether to set the ledger account for payroll allocation to the value of the ledgerAccount parameter.
- _ledgerAccount
Type: LedgerDimensionDefaultAccount Extended Data Type
A ledger account for payroll allocation.
Return Value
Type: ProjLedgerDimensionDefaultAccountHour Extended Data Type
The ledger account for payroll allocation.
Remarks
When associated with a control on a form, this method is automatically called every time that the form is redrawn, and the _set value will be true if the user has entered anything in the control.