Delete

 

Dovico.TrackITAPI.CReceivable.Delete(System.String,Dovico.TrackITAPI.CStateInfo)

 

 

Function Overview:

Deletes all receivables specified by ids in the xml format id.xsd. Note that when a receivable is deleted, all included time and expense is marked as billable again so it can be billed by the creation of another receivable.

 

 

Parameter List:

sXml - string - IDs of items to be deleted in id.xsd format

siState - CStateInfo - State information needed to process the transaction

 

Returns

Currently an empty string (reserved for future use).

 

Example:

// initialize a string of xml containing receivable IDs to delete

string sXml = "<ID:IDS xmlns:ID=\"http://www.dovico.com/schemas/id.xsd\">";

sXml += "<ID>2280</ID></ID:IDS>";

// call the method

wsapi.MethodInvoke("ReceivableDelete", sXml, stToken);