PCModelingLibrary::createComponent Method [AX 2012]

Creates a product configuration component with all the related and required records.

client server public static PCClass createComponent(EcoResCategoryName _componentName, [EcoResCategoryDescription _description])

Run On

Called

Parameters

_componentName
Type: EcoResCategoryName Extended Data Type
The name of the component to create.
_description
Type: EcoResCategoryDescription Extended Data Type
The description of the component to create.

Return Value

Type: PCClass Table
The created record in the PCClass table.

Always use this method to create a component.

Show: