PCModelingLibrary Class [AX 2012]
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::attributeDefaultBoolValueLookup | Creates a lookup for the selection of true and false values. |
| ::attributeDefaultEnumValueLookup | Creates a lookup for the selection of values contained in an enumeration domain. |
| ::attributeDefaultValueLookup | Creates a lookup for the selection of values contained in the specified domain. |
| ::attributeLookup | Creates a lookup for the selection of attributes of the specified component. |
| ::attributeTypeLookup | Creates a lookup for a selection of different attribute types by their name. |
| ::attributeTypeReferenceLookup | Creates a lookup for a selection of different attribute types by their name. |
| ::attributeTypeReferenceQuery | Creates a lookup query for a selection of different attribute types usable in product configuration. |
| ::attributeTypeReferenceValidate | Validates that a specific record is a valid attribute type for product configuration. |
| ::componentLookup | Creates a lookup for the selection of product configuration components. |
| ::componentReferenceLookup | Creates a reference lookup for the selection of product configuration components. |
| ::componentReferenceLookupQuery | Creates a query that is compatible for lookup of components. |
| ::componentReferenceValidate | Validates that a specific record is a valid Product Configuration component. |
| ::constraintBasedItemLookup | Creates a lookup for the selection of items that are compatible with the product configuration. |
| ::constraintBasedProductMasterLookup | Creates a lookup to select the products that are compatible with the product configuration. |
| ::constraintBasedProductMasterLookupQuery | Retrieves a query that fetches constraint-based product masters. |
| ::constraintBasedProductMasterValidate | Validates that a specific record is a valid product master with constraint-based variance configuration technology. |
| ::containingProductConfigurationModels | Retrieves a set of product models that contain the specified component in their component tree. |
| ::countAttributeAllocations | Retrieves the number of template lines that contain at least one allocation to the specified attribute. |
| ::createComponent | Creates a product configuration component with all the related and required records. |
| ::createEditProductConfigurationModel | Creates a new product configuration model record or updates an existing record with the same name with the specified details. |
| ::createIconList | Creates an image list based on the embedded resources to use as icons for the product configuration component trees. |
| ::createSubComponentRequirements | Creates the product requirement that is related to the specified sub-component. |
| ::deleteRelatedAttribute | Deletes the attribute for the specified category hierarchy. |
| ::duplicateAttributeName | Adds the duplicate tag to the specified name. |
| ::duplicateCategoryName | Adds the duplicate tag to the specified category. |
| ::duplicateModelName | Adds the duplicate tag to a product configuration model name. |
| ::duplicateTemplateConfigurationName | Adds the duplicate tag to the specified name. |
| ::enableCheckBoxAndGroup | Enables check box and group form controls. |
| ::existReferencesForComponent | Checks whether references to the specified record of the PCClass table exist. |
| ::findAttributeByName | Retrieves an attribute of the specified component by the specified name. |
| ::findOrCreateCategoryHierarchy | Finds the category hierarchy that is associated with the product configuration or creates one if it does not exist. |
| ::findOrCreateModifierCondition | Finds or creates a condition that is associated with the specified attribute modifier. |
| ::getAttributeModifier | Finds the record in the EcoResComponentControl table that is associated with the provided attribute and that matches the specified modifier type. |
| ::getCueDataSourceActiveRecord | Iterates through the parent forms until it can find a compatible record. |
| ::infoboxNeverShowAgain | Checks if a particular dialog box was set by the user not to display again. |
| ::initCategory | Initializes a record of the EcoResCategory table for product configuration. |
| ::isAttributeNameValid | Checks whether the given name is a valid name for an attribute. |
| ::isItemReferencedInPCTemplates | Indicates whether the specified item is used in a product configuration template for BOM lines. |
| ::isParent | Indicates whether the component is a parent of or equal to a specified component._parentComponentRecId. |
| ::isSolverNameValid | Checks whether the given solver name is valid for an attribute in the that contains component. |
| ::isUsedAsDefaultValue | |
| ::loadForm | Loads a form from an existing object in the AOT. |
| ::maxNumberOfSubComponentChildren | Counts the maximum number of children of any sub tree of the component class as specified by the _parentClass table record parameter, which includes itself. |
| ::numberOfSubComponentParents | Counts the number of parents of the component class as specified by the _childClass table record parameter, which includes itself. |
| ::setActive | Sets or removes the active status of the specified product model version. |
| ::setAttributeModifier | Creates or deletes a modifier of the specified type, depending on the specified value. |
| ::setVersionApprover | Sets or removes the approve status of the specified product model version. |
| ::templateLoadBoolAllocation | Loads the allocation value for a Boolean field from the specified template binding if it exists. |
| ::templateLoadDateTimeAllocation | Loads the allocation value for a dateTime field from the specified template bindingif it exists. |
| ::templateLoadEnumAllocation | Loads the allocation value for a enumeration field from the specified template binding if it exists. |
| ::templateLoadFloatAllocation | Loads the allocation value for a float field from the specified template binding if it exists. |
| ::templateLoadIntAllocation | Loads the allocation value for an integer field from the specified template binding if it exists. |
| ::templateLoadStringAllocation | Loads the allocation value for a string field from the specified template binding, if it exists. |
| ::templateSaveBoolAllocation | Saves the allocation value for a Boolean field for the specified template binding. |
| ::templateSaveDateTimeAllocation | Saves the allocation value for a dateTime field for the specified template binding. |
| ::templateSaveEnumAllocation | Saves the allocation value for an enumeration field for the specified template binding. |
| ::templateSaveFloatAllocation | Saves the allocation value for a float field for the specified template binding. |
| ::templateSaveIntAllocation | Saves the allocation value for an integer field for the specified template binding. |
| ::templateSaveStringAllocation | Saves the allocation value for a string field for the specified template binding. |
| ::templateSetEnabledStatus | Sets the enabled status of the supplied controls from the template forms. |
| ::validateAttributeNameAgainstOMLSyntax | Validates an attribute name against the syntax of the Optima modeling language. |
| ::validateAttributeTypeValue | |
| ::validateBooleanAttributeTypeValue | |
| ::validateChangeAttributeVisibility | Prompts the user to authorize the visibility attribute to be changed if it is mandatory and does not have a default value. |
| ::validateDecimalAttributeTypeValue | |
| ::validateDeleteAttribute | Prompts the user to authorize an attribute to be deleted if it is being used as allocation. |
| ::validateDeleteItem | Indicates whether the specified item can be deleted by not being referenced in product configuration templates. |
| ::validateEnumAttributeTypeValue | |
| ::validateEnumerationValueAgainstOMLSyntax | Validates a solver value against the syntax of the Optima modeling language. |
| ::validateIntegerAttributeTypeValue | Validates that the specified integer value is compatible with the specified domain. |
| ::validateOMLIdentifier | Validates that the specified string contains only the enabled characters for product configuration. |
| ::validateProductForVersion | Validates whether the product associated with the supplied product model version is compatible with constraint-based configuration. |
| ::validateSubComponent | Validates that the specified parent component class may contain the specified child component class. |
| ::validateVersionDate | Sets or removes the active status of the specified product model version. |
| ::validateWriteAttribute | Prompts the user to authorize the modification of an attribute if it is being used as an allocation. |
Community Additions
ADD
Show: