Dovico.TrackITAPI.CTempActualExpense.Delete(System.String,Dovico.TrackITAPI.CStateInfo)
Function Overview:
Deletes TEMPACTEXP specified by sXml in the format guid.xsd
Parameter List:
sXml - string - IDs of items to be deleted in guid.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 temp actual expense guids to delete
string sXml = "<ID:IDS xmlns:ID=\"http://www.dovico.com/schemas/guid.xsd\">";
sXml += "<ID>AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE</ID></ID:IDS>";
// call the method
wsapi.MethodInvoke("TempActualExpenseDelete", sXml, stToken);