Overview Schemas Index

AUTOMOTIVE_DESIGN (jsdai.SAutomotive_design)


RULE restrict_product_categories_for_tool_part_relationship FOR (product_definition_relationship);

WHERE
          wr1: SIZEOF ( QUERY  ( pdr <* product_definition_relationship |
     ( pdr. name = 'tool part relationship' ) AND ( ( SIZEOF  (
     QUERY  ( prpc <* USEDIN  ( pdr.
     relating_product_definition.formation. of_product ,
                         'AUTOMOTIVE_DESIGN.PRODUCT_RELATED_PRODUCT_CATEGORY.PRODUCTS'
     ) | prpc. name ='tool'           ) ) <1 ) OR            ( SIZEOF ( QUERY (
     prpc <* USEDIN ( pdr. related_product_definition.formation.
     of_product ,
     'AUTOMOTIVE_DESIGN.PRODUCT_RELATED_PRODUCT_CATEGORY.PRODUCTS'
     ) | prpc. name ='part'           ) ) <1 ) ) ) ) =0;
END_RULE; -- restrict_product_categories_for_tool_part_relationship

public class RRestrict_product_categories_for_tool_part_relationship
          public int rWr1(SdaiContext _context)
          public int run(SdaiContext _context, A_string violations)