PCModelingLibrary::createEditProductConfigurationModel Method [AX 2012]

Creates a new product configuration model record or updates an existing record with the same name with the specified details.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          client server public static PCProductConfigurationModel createEditProductConfigurationModel(
            PCName _modelName, 
            PCDescription _description, 
            EcoResCategoryName _existingRootComponentName, 
            EcoResCategoryName _newRootComponentName, 
           [PCProductConfigurationModel _model, 
            PCSolverStrategy _solverStrategy])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static PCProductConfigurationModel createEditProductConfigurationModel(
            PCName _modelName, 
            PCDescription _description, 
            EcoResCategoryName _existingRootComponentName, 
            EcoResCategoryName _newRootComponentName, 
           [PCProductConfigurationModel _model])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static PCProductConfigurationModel createEditProductConfigurationModel(
            PCName _modelName, 
            PCDescription _description, 
            EcoResCategoryName _existingRootComponentName, 
            EcoResCategoryName _newRootComponentName, 
           [PCProductConfigurationModel _model])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static PCProductConfigurationModel createEditProductConfigurationModel(
            PCName _modelName, 
            PCDescription _description, 
            EcoResCategoryName _existingRootComponentName, 
            EcoResCategoryName _newRootComponentName, 
           [PCProductConfigurationModel _model])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static PCProductConfigurationModel createEditProductConfigurationModel(
            PCName _modelName, 
            PCDescription _description, 
            EcoResCategoryName _existingRootComponentName, 
            EcoResCategoryName _newRootComponentName, 
           [PCProductConfigurationModel _model])

Run On

Called

Parameters

_modelName
Type: PCName Extended Data Type
The name of the model to create or update.
_description
Type: PCDescription Extended Data Type
The description to give to the model.
_existingRootComponentName
Type: EcoResCategoryName Extended Data Type
The name of an existing component to attach to the model as a root component.
_newRootComponentName
Type: EcoResCategoryName Extended Data Type
The name of the new root component to create.
_model
Type: PCProductConfigurationModel Table
An existing record of a product configuration model; optional.
_solverStrategy
Type: PCSolverStrategy Enumeration

Return Value

Type: PCProductConfigurationModel Table
The created or updated record of the PCProductConfigurationModel table.
Show: