Configuration: Set the Configuration Criteria Enablement (ConfigurationCriteriaEnablement)

This section describes how to integrate the ConfigurationCriteriaEnablement business logic on configured object.

This page discusses:

Business Logic Intent

The ConfigurationCriteriaEnablement business logic (BL) is called on a reference type each time the user wants to select criteria. This operation involves restriction of the available criteria type on a reference provided you have the administrative rights.

The table below provides detailed information about the criteria types available for business logic behavior is illustrated below:

Criteria Functional Logical Physical product Process System and operation
State Yes Yes Yes Yes Yes
Manufacturing Plan No No No Yes Yes
Unit Yes Yes Yes Yes Yes
Date
  • "Global"
  • "By context"
  • "Milestone: Discipline"
By context By context By context By context By context
Configuration Feature Yes Yes Yes Yes Yes

PLM Opening Definition

This section describes the objects defining the PLM opening: its global information, its kind of input object, its context object parameters.

General Information

PLM Opening ID

ConfigurationCriteriaEnablement

Customization Intent Computation
Execution Content Client

Input Objects

The Business Logic can be invoked for any PLMCoreReference, where you can safely use the PLM attributes of the default PLM Component.

PLM Component Class Types Purpose
PLMCoreReference PLM reference

Context Object Parameters

For Date:

Parameter Names Types Read/Write Comments
State Boolean Write Parameter used to validate the Business Logic (BL). This parameter corresponds to the activation or deactivation of the product states criteria.
Manufacturing Plan Boolean Write Parameter used to validate the Business Logic (BL). This parameter corresponds to the activation or deactivation of the manufacturing plan criteria.
Unit Boolean Write Parameter used to validate the Business Logic (BL). This parameter corresponds to the activation or deactivation of the units criteria.
Date String Write Parameter used to validate the Business Logic (BL). This parameter corresponds to the activation or deactivation of the dates or milestone criteria.

If the value is set as Global, only the date criterion is available. Similarly, if the value is set as By context, the other criteria present in the context along with the date criteria are available.

Configuration Feature Boolean Write Parameter used to validate the Business Logic (BL). This parameter corresponds to the activation or deactivation of the configuration feature criteria.

Implementation Sample

For Date:

The following script sample illustrates how to check the date criteria applied on the product reference. To achieve this particular business logic implementation you will associate a script in a CATCfgCriteriaPhysical.CATRule file:
/*The following rule is an example of what can be done*/
Parameters->SetAttributeBoolean("Product State", true) 
Parameters->SetAttributeBoolean("Manufacturing Plan", false) 
Parameters->SetAttributeBoolean("Unit", true) 
Parameters->SetAttributeBoolean("Date", "By context") 
Parameters->SetAttributeBoolean("Configuration Feature", true) 
      

For Milestone:

Replace

Parameters-> SetAttributeString ("Date ","By context”) 

by

Parameters-> SetAttributeString ("Date ","Milestone:Engineering”) 

where Engineering is the discipline you want to use.