(* SCHEMA step_merged_ap_schema; *)
-- IN AP214 RULE restrict_effectivity_for_effectivity_relationship FOR (effectivity_relationship ); WHERE wr1: SIZEOF(QUERY (er <* effectivity_relationship| (SIZEOF([ ('STEP_MERGED_AP_SCHEMA.' + 'LOT_EFFECTIVITY'), ('STEP_MERGED_AP_SCHEMA.' + 'SERIAL_NUMBERED_EFFECTIVITY'), ('STEP_MERGED_AP_SCHEMA.' + 'PRODUCT_DEFINITION_EFFECTIVITY') ] * TYPEOF(er.relating_effectivity)) > 0) OR (SIZEOF([ ('STEP_MERGED_AP_SCHEMA.' + 'LOT_EFFECTIVITY'), ('STEP_MERGED_AP_SCHEMA.' + 'SERIAL_NUMBERED_EFFECTIVITY'), ('STEP_MERGED_AP_SCHEMA.' + 'PRODUCT_DEFINITION_EFFECTIVITY') ] * TYPEOF(er.related_effectivity)) > 0))) = 0; END_RULE;
Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00