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

Gets the punch rows. Also adds the rows to fill out the holes. For example if we are looking on a weekly punchcard and somebody has not punched on a particular day, this function supplies the additional records.

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

Syntax

C#
public PunchDayInfo[] GetPunchRows(
	int userId,
	DateTime startDate,
	int numDays,
	ref int punchLimit,
	ref bool IsBreakTime
)
Visual Basic (Declaration)
Public Function GetPunchRows ( _
	userId As Integer, _
	startDate As DateTime, _
	numDays As Integer, _
	ByRef punchLimit As Integer, _
	ByRef IsBreakTime As Boolean _
) As PunchDayInfo()
Visual C++
public:
array<PunchDayInfo^>^ GetPunchRows(
	int userId, 
	DateTime startDate, 
	int numDays, 
	int% punchLimit, 
	bool% IsBreakTime
)

Parameters

userId
Type: System..::.Int32
startDate
Type: System..::.DateTime
numDays
Type: System..::.Int32
punchLimit
Type: System..::.Int32%
IsBreakTime
Type: System..::.Boolean%

Return Value

See Also