rbv_api.getRelatedIds2()

Purpose

For external objects (such as those mapped to external tables, to OpenEdge Service objects, or through a HDP connection), returns an array of related IDs for a specified relationship and record ID.

Note: For native Platform objects, you can use the method, rbv_api.getRelatedIds().

Syntax

rbv_api.getRelatedIds2(relName, objName, Id)

Parameters

relName

Integration name of the relationship.

ObjName

Integration name of the object.

Id

Record ID from one side of the relationship.

Return value

An array of related record IDs

Example

var arr = rbv_api.getRelatedIds2("R1321", "ex_group", "{!#UID}");
rbv_api.printArr(arr);