PCModelingLibrary::isParent Method [AX 2012]

Indicates whether the component is a parent of or equal to a specified component._parentComponentRecId.

server protected static boolean isParent(RefRecId _componentRecId, RefRecId _parentComponentRecId)

Run On

Server

Parameters

_componentRecId
Type: RefRecId Extended Data Type
The record ID of the component.
_parentComponentRecId
Type: RefRecId Extended Data Type
The record ID of the parent to check.

Return Value

Type: boolean
true if the component is a parent; otherwise, false.
Show: