PCTableConstraintRelationFacade.validateDBTableConstraintAttribute Method [AX 2012]

Indicates whether assigning a column to an attribute of a sub-component will not cause a system defined table constraint to reference an attribute on a sub-component which is used multiple times on the same level of a model.

protected boolean validateDBTableConstraintAttribute(PCSubComponent _subComponentWithAttribute, PCTableConstraintColumnDefinitionRecId _columnDefinitionRecId)

Run On

Called

Parameters

_subComponentWithAttribute
Type: PCSubComponent Table
The sub-component that has the attribute of a constraint relation.
_columnDefinitionRecId
Type: PCTableConstraintColumnDefinitionRecId Extended Data Type
The column to assign to the attribute.

Return Value

Type: boolean
true if the assignment is valid; otherwise, false.

Community Additions

ADD
Show: