RULE product_requires_person_organization

(* SCHEMA structural_analysis_design; *)
  RULE product_requires_person_organization FOR (product, 
             applied_person_and_organization_assignment, 
             applied_organization_assignment);

  WHERE
    wr1: (SIZEOF(QUERY ( prod <* product | (NOT ((SIZEOF(QUERY ( apoa <* 
             applied_person_and_organization_assignment | (prod IN apoa.
             items) )) + SIZEOF(QUERY ( aoa <* 
             applied_organization_assignment | (prod IN aoa.items) ))) = 1)) )) 
             = 0);

  END_RULE; -- product_requires_person_organization

[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2012-03-27T17:15:08-04:00