Adds an object as an associate of another object.
The from_object and link_object must always be resolved. The to_object may either be resolved or unresolved. It should be noted that relationships between objects in different transmittals are not implicitly bi-directional, so the make_two_way parameter will have an effect only if:
SE_INVALID_OR_NULL_OBJECT - and no changes are made, if
SE_UNPUBLISHED_OBJECT - and no changes are made, if to_object is in another transmittal than from_object, but is not published by that transmittal.
SE_UNRESOLVED_START_OBJECT - and no changes are made, if
SE_INVALID_ACCESS_MODE - and no changes are made, if
SE_FAILURE - and no changes are made, if
| extern SE_STATUS_CODE_ENUM | |||
| SE_AddAssociateRelationship | |||
| ( | |||
| SE_OBJECT | from_object, | (notes) | |
| SE_OBJECT | to_object, | (notes) | |
| SE_OBJECT | link_object, | (notes) | |
| SE_BOOLEAN | make_two_way | (notes) | |
| ); | |||
object to which an associate is being added - must be
resolved.
associate object being added - can be resolved or
unresolved.
the link object that will be traversed to reach
the associate object, if applicable; must be resolved, if provided.
if true, then if the SDRM defines the association as a
bidirectional association and both the from_object and to_object are
resolved, then the other half of the association (to_object ->
from_object) is also created by this function.