[This is preliminary documentation and is subject to change.]

Inserts individual timesheet detail items inside an timesheet into the database.

Namespace:  OfficeClip.DBLayer.TE
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public int InsertTimesheetDetailInfo(
	TimesheetDetailInfo tdti,
	int currentUserId
)
Visual Basic (Declaration)
Public Function InsertTimesheetDetailInfo ( _
	tdti As TimesheetDetailInfo, _
	currentUserId As Integer _
) As Integer
Visual C++
public:
int InsertTimesheetDetailInfo(
	TimesheetDetailInfo^ tdti, 
	int currentUserId
)

Parameters

tdti
Type: OfficeClip.BusinessLayer.TE..::.TimesheetDetailInfo
Instance of the TimesheetDetailInfo object containing all the details of an individual timesheet detail item. TimesheetDetailInfo
currentUserId
Type: System..::.Int32
Unique id of the current user

Return Value

0 when successful, -1 in case of an error.

See Also