PCTableConstraintRelationFacade::validateDatabaseTableConstraints Method [AX 2012]

Indicates whether the sub-componene is valid.

client server public static boolean validateDatabaseTableConstraints(
    PCSubComponentRecId _subComponentRecId, 
    PCClassRecId _parentComponent, 
    PCClassRecId _childComponentRecId)

Run On

Called

Parameters

_subComponentRecId
Type: PCSubComponentRecId Extended Data Type
The sub-component record ID which is created or modified.
_parentComponent
Type: PCClassRecId Extended Data Type
The parent of the sub-component.
_childComponentRecId
Type: PCClassRecId Extended Data Type
The record ID of the component the sub-component will reference.

Return Value

Type: boolean
true if the sub-component is valid; otherwise, false.
Show: