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

Checks whether a timesheet has already been created for a given week starting date for a particular user corresponding to a particular group.

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

Syntax

C#
public bool GetTimesheetAlreadyExists(
	int userId,
	int groupId,
	DateTime weekStartDate
)
Visual Basic (Declaration)
Public Function GetTimesheetAlreadyExists ( _
	userId As Integer, _
	groupId As Integer, _
	weekStartDate As DateTime _
) As Boolean
Visual C++
public:
bool GetTimesheetAlreadyExists(
	int userId, 
	int groupId, 
	DateTime weekStartDate
)

Parameters

userId
Type: System..::.Int32
The unique id for the user.
groupId
Type: System..::.Int32
The unique id for the group.
weekStartDate
Type: System..::.DateTime
Week starting date.

Return Value

Flag (True/False) indicating whether a timesheet has already been created for a given week starting date or not.

See Also