PCTableConstraintRelationFacade.saveColumnSelection Method [AX 2012]

Saves a column selection as a constraint relation which points to an attribute on a sub-component through intermediate sub-components.

public PCTableConstraintColumnCategoryAttribute saveColumnSelection(
    List _path, 
    PCTableConstraintColumnDefinitionRecId _columnDefinitionRecId, 
    PCTableConstraintColumnCatAttrRecId _existingConstraintRelationRecId)

Run On

Called

Parameters

_path
Type: List Class
The path of a sub-component attribute.
_columnDefinitionRecId
Type: PCTableConstraintColumnDefinitionRecId Extended Data Type
The column definition which should be assigned to the attribute.
_existingConstraintRelationRecId
Type: PCTableConstraintColumnCatAttrRecId Extended Data Type
The record ID of an existing constraint relation which should be updated or deleted.

Return Value

Type: PCTableConstraintColumnCategoryAttribute Table
The new or updated constraint relation.

Passing in 0 as the record ID for the column will delete an existing table constraint relation.

Community Additions

ADD
Show: