IComponent4.AsObservation.Reference.AsExternalObservation.ClassCode is not reflecting in generated XML

Sep 2, 2015 at 12:03 PM
Edited Sep 2, 2015 at 12:03 PM
Hi ,
I am trying to generate CQM catagory 3 file but IComponent4.AsObservation.Reference.AsExternalObservation.ClassCode is not reflecting in generated XML

I am doing following code
        var refr = comp.AsObservation.Reference.Append();
        refr.TypeCode = x_ActRelationshipExternalReference.REFR;


        refr.AsExternalObservation.MoodCode = "EVN";
        refr.AsExternalObservation.ClassCode = "OBS";

Can you please guide

Thanks in advance