addTimeAccountingRecordToWorkflow
Adds a time accounting entry associated with a workflow task on a record.
Version
2.0
Parameters
Parameter | Type | Description |
---|---|---|
taskUser | string | User ID of the Civic Platform user. |
taGroup | string | Group of the time accounting entry. |
taType | string | Type of the time accounting entry. |
dateLogged | string | Date of the time accounting entry. |
hoursSpent | string | Number of hours for the entry. |
itemCap | CapIDModel | Record to associate to the entry. |
taskName | string | Name of the task to associate with the entry. |
processName | string | Name of the workflow process that contains the task. |
billableBool | boolean | True to set the billable flag, otherwise false. |
Example
capID = aa.cap.getCapID("11CAP-00000-0000D").getOutput()
addTimeAccountingRecordToWorkflow(“BSMITH”,“Actual”,”Inspection”,
"07/28/2011","1.1",capID,”Inspection”,”BLD_MAIN”,true);