PCTemplateFind.findBindingByTemplateComponent Method [AX 2012]

Retrieves the attribute binding for the record parameter of the table.

public PCTemplateAttributeBinding findBindingByTemplateComponent(
    PCTemplateComponent _templateComponent, 
    TableId _tableId, 
    FieldId _fieldId, 
   [boolean _forupdate])

Run On

Server

Parameters

_templateComponent
Type: PCTemplateComponent Table
The template for which to find the template attribute.
_tableId
Type: TableId Extended Data Type
The table that the template attribute binding is associated with.
_fieldId
Type: FieldId Extended Data Type
The field of the table with the parameter that the template attribute binding is associated with.
_forupdate
Type: boolean
A Boolean value that indicates whether the record should be selected for update; optional.

Return Value

Type: PCTemplateAttributeBinding Table
The found template attribute binding.

Community Additions

ADD
Show: