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

Gets all the informatin related to the most recent expense 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 ExpenseInfo GetLastExpenseInfo(
	int userId,
	int groupId
)
Visual Basic (Declaration)
Public Function GetLastExpenseInfo ( _
	userId As Integer, _
	groupId As Integer _
) As ExpenseInfo
Visual C++
public:
ExpenseInfo^ GetLastExpenseInfo(
	int userId, 
	int groupId
)

Parameters

userId
Type: System..::.Int32
The unique user Id. Please note that the user should belong to the group whose id is being passed as argument.
groupId
Type: System..::.Int32
The unique group id.

Return Value

Instance of the ExpenseInfo object containing all the information related to the most recent expense. ExpenseInfo

See Also