RULE access_file_requires_external_identification

(* SCHEMA step_merged_ap_schema; *)
-- IN AP232
RULE access_file_requires_external_identification FOR (document_file );
   LOCAL
      df : SET OF document_file;
      aeia : BAG OF applied_external_identification_assignment;
      result : BOOLEAN := TRUE;
   END_LOCAL;
      df := document_file;
      REPEAT i := 1 TO SIZEOF(df) BY 1;
         IF df[i]\document.description = 'access data file' THEN
            aeia := USEDIN(df[i], 'STEP_MERGED_AP_SCHEMA.' + 'APPLIED_EXTERNAL_IDENTIFICATION_ASSIGNMENT.ITEMS');
            IF SIZEOF(aeia) < 1 THEN
               result := FALSE;
            END_IF;
         END_IF;
      END_REPEAT;
   WHERE
      wr1:
         result;
END_RULE;

[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00