BackRefName

BackRefName(windowID, oboxID), BackRefName(, oboxID), BackRefName

Parameter: window. and ObjectBox identifier

Stack
Stack Position Description
Stack(In) top back reference name as string
Stack(Out) top -

Whenever DrainWindow updates an object relation, a back reference name might be required. The object box can save the name which has been passed with BackRefName and provide it for the case above. 

Stack
Stack Position Description
Stack(In) top ]
  top-1 child class identifier
  top-2 parent class identifier
  top-3 back reference name as string
  top-4 [
Stack(Out)   -

With this type of function call, it is possible to define the back reference name of the passed class, such as: [ "owner" CX_MONITOR CX_ACCOUNT ] BackRefName or [ "monitors" CX_MONITOR CX_TRANSACTION ] BackRefName

The class identifiers define, which class the back reference can be applied to, meaning which class objects can contain the back reference (parent class) and to which class objects they can refer to (child class).

To use a data field or slot as a (back) reference, it needs to be a reference type, such as REL_1M, REL_MN etc.