(* SCHEMA step_merged_ap_schema; *)
-- IN AP214 RULE restrict_effectivity_assignment_for_class_category_usage FOR (applied_effectivity_assignment, product_concept_feature_category_usage ); WHERE wr1: SIZEOF(QUERY (aea <* applied_effectivity_assignment| (SIZEOF(QUERY (i <* aea.items| ('STEP_MERGED_AP_SCHEMA.PRODUCT_CONCEPT_FEATURE_CATEGORY_USAGE' IN TYPEOF(i)))) > 0) AND ((((SIZEOF(QUERY (i <* aea.items| ('STEP_MERGED_AP_SCHEMA.PRODUCT_CONCEPT_FEATURE_CATEGORY_USAGE' IN TYPEOF(i)))) <> SIZEOF(aea.items)) OR (SIZEOF(TYPEOF(aea.assigned_effectivity) * [ 'STEP_MERGED_AP_SCHEMA.TIME_INTERVAL_BASED_EFFECTIVITY', 'STEP_MERGED_AP_SCHEMA.DATED_EFFECTIVITY', 'STEP_MERGED_AP_SCHEMA.SERIAL_NUMBERED_EFFECTIVITY', 'STEP_MERGED_AP_SCHEMA.LOT_EFFECTIVITY', 'STEP_MERGED_AP_SCHEMA.PRODUCT_DEFINITION_EFFECTIVITY' ]) > 0)) OR (aea.assigned_effectivity.id <> 'class usage')) OR (SIZEOF(QUERY (cueca <* USEDIN(aea, 'STEP_MERGED_AP_SCHEMA.EFFECTIVITY_CONTEXT_ASSIGNMENT.ASSIGNED_EFFECTIVITY_ASSIGNMENT')| ('STEP_MERGED_AP_SCHEMA.CLASS_USAGE_EFFECTIVITY_CONTEXT_ASSIGNMENT' IN TYPEOF(cueca)))) = 0)))) = 0; END_RULE;
Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00