Hi list,

Working in C#, I am trying to merge a record, including the status history in the list of updated fields.
I create a FieldValueList:
BMC.ARSystem.FieldValueList fieldValueList = new BMC.ARSystem.FieldValueList();

At one point, I execute the following statements:
BMC.ARSystem.FieldValueList entry = _server.GetEntry(currentSchemaName, entryId); BMC.ARSystem.StatusHistory sh = (BMC.ARSystem.StatusHistory)entry[15];
            fieldValueList.Add(15, sh);

I Check that sh is a Status History object containing the expected values.
After the Add statement, I check the value of fieldValueList[15]. It is set to System.DBNull !!

Does anyone know the reason why I cannot set the Status History when trying to do a merge operation ?

Thanks

André

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to