[This is preliminary documentation and is subject to change.]
Inserts all the information related to a timesheet Tasks corresponding to
a particular group using which members of a group can create timesheets.
Namespace:
OfficeClip.DBLayer.TEAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int InsertTimesheetTasks( int groupId, GroupTimesheetTaskInfo ttmi ) |
Visual Basic (Declaration) |
---|
Public Function InsertTimesheetTasks ( _ groupId As Integer, _ ttmi As GroupTimesheetTaskInfo _ ) As Integer |
Visual C++ |
---|
public: int InsertTimesheetTasks( int groupId, GroupTimesheetTaskInfo^ ttmi ) |
Parameters
- groupId
- Type: System..::.Int32
The unique id for the group.
- ttmi
- Type: OfficeClip.BusinessLayer.TE..::.GroupTimesheetTaskInfo
Instance of the GroupTimesheetTaskInfo object containing all the information related to the timesheet tasks. GroupTimesheetTaskInfo
Return Value
returns 1 when successful, -1 in case of an error.
Remarks
When a Task item is removed that one is
marked as inactive but not actually deleted. This is to ensure that the
timesheets created using the removed taskitem keep working and follow the
the workflow and task details as defined in the timesheet tasks.