RULE versioned_action_request_requires_date_and_person_or_organization

(* SCHEMA step_merged_ap_schema; *)
-- IN AP214
RULE versioned_action_request_requires_date_and_person_or_organization FOR (versioned_action_request );
   WHERE
      wr1:
         SIZEOF(QUERY (va <* versioned_action_request| (SIZEOF(QUERY (adapaoa <* USEDIN(va, 'STEP_MERGED_AP_SCHEMA.APPLIED_PERSON_AND_ORGANIZATION_ASSIGNMENT.ITEMS')| (adapaoa.role.name = 'requestor'))) + SIZEOF(QUERY (adaoa <* USEDIN(va, 'STEP_MERGED_AP_SCHEMA.APPLIED_ORGANIZATION_ASSIGNMENT.ITEMS')| (adaoa.role.name = 'requestor'))) = 0))) = 0;
      wr2:
         SIZEOF(QUERY (va <* versioned_action_request| (SIZEOF(QUERY (adapaoa <* USEDIN(va, 'STEP_MERGED_AP_SCHEMA.APPLIED_PERSON_AND_ORGANIZATION_ASSIGNMENT.ITEMS')| (adapaoa.role.name = 'notified person or organization'))) + SIZEOF(QUERY (adaoa <* USEDIN(va, 'STEP_MERGED_AP_SCHEMA.APPLIED_ORGANIZATION_ASSIGNMENT.ITEMS')| (adaoa.role.name = 'notified person or organization'))) = 0))) = 0;
END_RULE;

[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:24-05:00