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

Inserts a new expense Comment created inside an expense

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

Syntax

C#
public int InsertExpenseCommentInfo(
	ExpenseCommentInfo eci,
	int currentUserId
)
Visual Basic (Declaration)
Public Function InsertExpenseCommentInfo ( _
	eci As ExpenseCommentInfo, _
	currentUserId As Integer _
) As Integer
Visual C++
public:
int InsertExpenseCommentInfo(
	ExpenseCommentInfo^ eci, 
	int currentUserId
)

Parameters

eci
Type: OfficeClip.BusinessLayer.TE..::.ExpenseCommentInfo
Instance of the ExpenseCommentInfo object containing the Comment information. ExpenseCommentInfo
currentUserId
Type: System..::.Int32
The unique id of the current user

Return Value

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

See Also