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

Inserts a set of customers to be imported and a set of tasks to be imported from the Quickbooks definition file.

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

Syntax

C#
public int InsertQuickBooksData(
	ArrayList cil,
	GroupTimesheetTaskInfo ttmi,
	int currentGroupId,
	int currentUserId
)
Visual Basic (Declaration)
Public Function InsertQuickBooksData ( _
	cil As ArrayList, _
	ttmi As GroupTimesheetTaskInfo, _
	currentGroupId As Integer, _
	currentUserId As Integer _
) As Integer
Visual C++
public:
int InsertQuickBooksData(
	ArrayList^ cil, 
	GroupTimesheetTaskInfo^ ttmi, 
	int currentGroupId, 
	int currentUserId
)

Parameters

cil
Type: System.Collections..::.ArrayList
ArrayList of ClientInfo objects imported from QuickBooks file.
ttmi
Type: OfficeClip.BusinessLayer.TE..::.GroupTimesheetTaskInfo
Instance of the GroupTimesheetTaskInfo object containing all the information about the tasks imported from the QuickBooks file. GroupTimesheetTaskInfo
currentGroupId
Type: System..::.Int32
The id of the current group
currentUserId
Type: System..::.Int32
The id of the current user

Return Value

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

See Also