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

Checks for a given start date, whether an expense has already been created by 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 GetExpenseAlreadyExists(
	int userId,
	int groupId,
	DateTime weekStartDate
)
Visual Basic (Declaration)
Public Function GetExpenseAlreadyExists ( _
	userId As Integer, _
	groupId As Integer, _
	weekStartDate As DateTime _
) As Boolean
Visual C++
public:
bool GetExpenseAlreadyExists(
	int userId, 
	int groupId, 
	DateTime weekStartDate
)

Parameters

userId
Type: System..::.Int32
The unique id for the user. Please note that the user should belong to the group whose id is passed as argument.
groupId
Type: System..::.Int32
The unique id for the group.
weekStartDate
Type: System..::.DateTime
Week starting date.

Return Value

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

See Also