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

Gets a set of timesheets which are ready to be exported which were created within a given Date range from a particular group.

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

Syntax

C#
public DataSet GetTimesheetsForExport(
	int groupId,
	DateTime fromDate,
	DateTime toDate
)
Visual Basic (Declaration)
Public Function GetTimesheetsForExport ( _
	groupId As Integer, _
	fromDate As DateTime, _
	toDate As DateTime _
) As DataSet
Visual C++
public:
DataSet^ GetTimesheetsForExport(
	int groupId, 
	DateTime fromDate, 
	DateTime toDate
)

Parameters

groupId
Type: System..::.Int32
The unique id for the group.
fromDate
Type: System..::.DateTime
Starting date of the range.
toDate
Type: System..::.DateTime
Ending date of the ranage.

Return Value

DataSet containing all the information related to the timesheets which are ready to be exported. This DataSet consists of a single DataTable with the following columns.
  • timesheetId (System.Int32)Id of the timesheet which is ready to be exported.
  • fromDate (System.DateTime)Starting date of the duration for which the timesheet was created.
  • toDate (System.DateTime)Ending date of the duration for which the timesheet was created.
  • createdTimestamp (System.DateTime)The timestamp when the timesheet was created.
  • createdByUserId (System.Int32)The user id of the user for which the timesheet was created.
  • name (System.String)Name of the user for which the timesheet was created.
  • approvedByUser (System.String)Name of the user who has approved the timesheet.
  • status (System.String)Flag (Y/N) indicating whether this particular timesheet has already been exported or not.
  • exportTimestamp (System.DateTime)Date and time when the timesheet was exported.
  • isActive (System.String)Returns "Y" if the timesheet is active.

See Also