Hi Daniel,
Try using SentDate instead of DocDate. This should give you whatyou want.
David.
From: eLink Discussion: LAPI Discussion[mailto:lapi@elinkkc.opentext.com] Sent: September 10, 2008 3:35 PMTo: eLink RecipientSubject: Records Management API RMUpdateDetails() issue
Records Management API RMUpdateDetails() issue
Posted by danieldo (Do, Daniel) on 09/10/2008 03:34 PM
Hello, I am trying to update the Record Date (Which I assume is the documented DocDate) but it's a no go. I can update the StatusDate no prob but the record date always shows the date of import. The below code updates properly but when I view the Record Details it shows the Status Date as being properly updated but the Record Date is still the date the object was created in Livelink. // Update Records Management Details LLValue recDetailsInfo = (new LLValue()).setAssocNotSet(); LAPI.RecMan rm = new LAPI.RecMan(General.LLImportSession); rm.RMGetClassifyInfo(fobjectInfo.toInteger("ID"), recDetailsInfo); recDetailsInfo.add("DocDate", new LLValueNET(fCreatedDate)); recDetailsInfo.add("StatusDate", new LLValueNET(fModDate)); if (rm.RMUpdateDetails(fobjectInfo.toInteger("ID"), recDetailsInfo) != 0) { Console.WriteLine("Error Modifying Records Management Details"); IO.WriteToLog("INFO: Error Modifying Records Management Details"); } Console.WriteLine(recDetailsInfo.ToString());
[To reply to this thread, use your normal E-mail reply function.]
Discussion:
LAPI Discussion
Livelink Server:
knowledge-wlweb01
To Unsubscribe from this Discussion, send an e-mail to unsubscribe.lapi@elinkkc.opentext.com.