Configuring Compliance for Part Subtypes

If you create subtypes of the Part object, the compliance commands and categories are not available to that subtype until you complete this procedure. You need to copy both the default Part category list and the Materials Compliance Management specific categories to your subtype.

  1. Open an MQL session.
  2. To copy the Part category list from the Part object to your subtype, run this MQL command:

    The href code in this command is the value of the href attribute for the type_Part menu. The default value is shown in this command, but if you have modified the href, make sure you use the value for your system. You can run print menu type_Part; to view the value for your system.

    modify menu ‘SUBTYPEMENUNAME’  href “${COMMON_DIR}/emxPortal.jsp?portal=ENCPartPropertyPortal
    &header=emxEngineeringCentral.Heading.PropertiesHeader”;

    Replace SUBTYPEMENUNAME with the menu defined for the subtype to display the categories in the navigation pane.

    The type_Part menu defines the categories that show as tabs in the navigation pane, for example: Engineering BOM and Lifecycle and Collaboration.

    The default Part categories are now configured for the subtype. The first channel in the specified portal, channel ENCPartPropertyChannel1, includes the Compliance tab that displays compliance-related properties for the part. The default categories do not include Materials Compliance Management categories.
  3. To copy the Materials Compliance Management categories to the subtype, run these MQL commands:

    modify menu ‘SUBTYPEMENUNAME’ add command MCCCEBOMPowerViewCommand’;
    modify menu ‘SUBTYPEMENUNAME’ add command MCCMaterialDeclarationPowerViewCommand;
    modify menu ‘SUBTYPEMENUNAME’ add command MEPEquivalents;
    modify menu ‘SUBTYPEMENUNAME’ add command MCCDeclaredThresholds;

    Replace SUBTYPEMENUNAME with the menu defined for the subtype to display the categories in the navigation pane.

    These commands add the Compliance, Material Declaration PowerView, Equivalents, and Declared Thresholds categories to the list. The Material Declaration PowerView category only displays for a Manufacturer Equivalent Part.