PCProductModelDetailsController.setupEditor Method [AX 2012]

Set up the editor.

public void setupEditor(
    str _orginalExprStr, 
    Common _record, 
    FieldId _targetFieldId, 
    str _selectedComponentXpath, 
    RefRecId _recId, 
    PCConstraintEditorOpenPurpose _openPurpose, 
   [PCPriceMethod _priceMethod, 
    PCRuntimePriceModelInstance _runtimePriceModelInstance])

Run On

Called

Parameters

_orginalExprStr
Type: str
The original string values which the editor initially will display.
_record
Type: Common Table
The record that holds the string.
_targetFieldId
Type: FieldId Extended Data Type
The original string values which the editor initially will display.
_selectedComponentXpath
Type: str
The path to the component in scope.
_recId
Type: RefRecId Extended Data Type
The _recId of the record to be edited
_openPurpose
Type: PCConstraintEditorOpenPurpose Enumeration
The constraint mode which the the editor will work.
_priceMethod
Type: PCPriceMethod Enumeration
The price method which the the editor will use.
_runtimePriceModelInstance
Type: PCRuntimePriceModelInstance Class
Which of the price models for the constraint model should be used.

Community Additions

ADD
Show: