Overview Schemas Index

AUTOMOTIVE_DESIGN (jsdai.SAutomotive_design)


RULE restrict_product_category_for_product FOR (product);

WHERE
          wr1: SIZEOF ( QUERY  ( p <* product | SIZEOF ( QUERY ( prpc <*
     USEDIN ( p ,
     'AUTOMOTIVE_DESIGN.'+'PRODUCT_RELATED_PRODUCT_CATEGORY.'+
     'PRODUCTS' ) | prpc. name IN ['part' , 'raw material' ,
     'tool' , 'document' , 'functionality' ,
     'conceptual product' , 'alternative solution' ,
     'requirement' , 'physically realized product','tool','raw material' ] ) ) =0 ) )
     =0;
          wr2: SIZEOF ( QUERY  ( p <* product | SIZEOF ( QUERY ( prpc <*
     USEDIN ( p ,
     'AUTOMOTIVE_DESIGN.'+'PRODUCT_RELATED_PRODUCT_CATEGORY.'+
     'PRODUCTS' ) | prpc. name IN ['part' , 'raw material', 'tool', 'document' ,
     'functionality' , 'conceptual product' ,
     'alternative solution' , 'requirement' ,
     'physically realized product' ] ) ) >1 ) ) =0;
END_RULE; -- restrict_product_category_for_product

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