addTimeAccountingRecord

Adds a time accounting entry that associates with 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.
billableBool boolean True to set the billable flag, otherwise false.

Example

capID = aa.cap.getCapID("11CAP-00000-0000D").getOutput()
addTimeAccountingRecord(“BSMITH”,“Actual”,”Inspection”,
    "07/28/2011","1.1",capID,true);