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

Updates an existing case in the tracker.

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

Syntax

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

Parameters

projectId
Type: System..::.Int32
The Project id for the Project where the case is updated.
projName
Type: System..::.String
The name of the Project. This is used for sending rule based email message and saving a round trip to the server.
caseId
Type: System..::.Int32
The unique identifier of each case.
tci
Type: OfficeClip.BusinessLayer.Tracker..::.TrackerCaseInfo
The tracker case information class.
tciOld
Type: OfficeClip.BusinessLayer.Tracker..::.TrackerCaseInfo%
The tracker case information class. ref parameter to be filled in with Old TrackerInfo Data and given back
docIdList
Type: System..::.String
The list of attached document ids.
remDocIdList
Type: System..::.String
The document list which needs to be removed.
isSendRuleMessage
Type: System..::.Boolean
Determines if the rules message will be sent The case number will not be updated if there is another case with the same number in the database.
session
Type: OfficeClip.Utils..::.ConfigureInfo
the user session object
fieldNames
Type: System.Data..::.DataTable%
ref parameter to be filled in with field Name and given back

Return Value

status = caseId if successful, -1 if failed.

See Also