Im new to Caché and got a problem: I want to save a value into the Relation Column in Class B via Class A and thats not working ...
Currently I am doing it like this
In Class A:
set Obj1 = ##class(This.Is.Class.B).%New()
set Obj1.PID = ..id
set Obj1.PName = ..name
set status = Obj1.%Save(0)
Its saving the PName into Class B but not the PID which I defined as Relationship [One to Many] in Class B