rbv_api.detach()

Warning: Support for using this method with external objects (such as those mapped to external tables, to OpenEdge Service objects, or through a HDP connection) is a beta feature. This method is supported in production systems, except for external objects.

Purpose

This Object Script method removes a relationship between two records.

Formulas used in Object Script triggers can include other API methods and regular Platform template functionality, such as loops. Object Script methods have no effect if called outside of update triggers.

Syntax

rbv_api.detach(relName, objName1, Id1, objName2, Id2)

Parameters

relName

Integration name of the relationship

objName1

Integration name of the first object

Id1

ID of the first Object record

objName2

Integration name of the second object

Id2

ID of the second object record

Return value

None

Permissions required

Edit permission for the selected object type.