PCModelingLibrary::validateSubComponent Method [AX 2012]

Validates that the specified parent component class may contain the specified child component class.

server public static boolean validateSubComponent(
    PCClass _parentClass, 
    PCClass _childClass, 
    PCSubComponent _subComponent)

Run On

Server

Parameters

_parentClass
Type: PCClass Table
The parent component class.
_childClass
Type: PCClass Table
The subcomponent class.
_subComponent
Type: PCSubComponent Table

Return Value

Type: boolean
true if the component can be a subcomponent.
Show: