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

Inserts a new case in the tracker.

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

Syntax

C#
public int InsertCase(
	int projectId,
	string projName,
	ref TrackerCaseInfo tci,
	string docIdList,
	bool isSendMessage,
	ConfigureInfo session,
	ref DataTable fieldNames
)
Visual Basic (Declaration)
Public Function InsertCase ( _
	projectId As Integer, _
	projName As String, _
	ByRef tci As TrackerCaseInfo, _
	docIdList As String, _
	isSendMessage As Boolean, _
	session As ConfigureInfo, _
	ByRef fieldNames As DataTable _
) As Integer
Visual C++
public:
int InsertCase(
	int projectId, 
	String^ projName, 
	TrackerCaseInfo^% tci, 
	String^ docIdList, 
	bool isSendMessage, 
	ConfigureInfo^ session, 
	DataTable^% fieldNames
)

Parameters

projectId
Type: System..::.Int32
The Project id for the Project where the case is inserted.
projName
Type: System..::.String
The name of the Project. Used for sending rule based email and saving a round trip to the database.
tci
Type: OfficeClip.BusinessLayer.Tracker..::.TrackerCaseInfo%
The tracker case information class
docIdList
Type: System..::.String
The list of comma separated doc ids for uploaded documents.
isSendMessage
Type: System..::.Boolean
Is the message required to be sent
session
Type: OfficeClip.Utils..::.ConfigureInfo
The unique id of the session
fieldNames
Type: System.Data..::.DataTable%
Reference Parameter to be filled with Field Names and givn back

Return Value

If successful retuns the case id of the newly insterd case if failed returns the value of NotAvailable NotAvailable.

See Also