Hello Community,
I have a simple question but somehow hard to find the solution:
this is a property in my class:
Property RelationAID As ZenCrm.Relationtypes;
this is my method to save:
ClassMethod PopulateMatrix(tvar1, tvar2) As %Status
{
set RelationMatrix=##class(ZenCrm.RelationMatrix).%New()
set RelationMatrix.RelationAID= tvar1
set RelationMatrix.RelationAType= tvar2
do RelationMatrix.%Save()
quit $$$OK
}
However the 'set' line does not work for the 'related properties.
I have tried: set RelationMatrix.Relationtypes.RelationAID but this failed.
Any suggestion? thanks!
this error remain after restart Caché service

