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

Inserts individual expense detail items inside an expense into the database.

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

Syntax

C#
public int InsertExpenseDetailInfo(
	ExpenseDetailInfo edti,
	int currentUserId
)
Visual Basic (Declaration)
Public Function InsertExpenseDetailInfo ( _
	edti As ExpenseDetailInfo, _
	currentUserId As Integer _
) As Integer
Visual C++
public:
int InsertExpenseDetailInfo(
	ExpenseDetailInfo^ edti, 
	int currentUserId
)

Parameters

edti
Type: OfficeClip.BusinessLayer.TE..::.ExpenseDetailInfo
Instance of the ExpenseDetailInfo object containing all the details of an individual expense detail item. ExpenseDetailInfo
currentUserId
Type: System..::.Int32
The unique id of the current user

Return Value

0 when successful, -1 in case of an error.

See Also