RULE approval_person_organization_requires_date_time

(* SCHEMA step_merged_ap_schema; *)
-- IN AP214
RULE approval_person_organization_requires_date_time FOR (approval_person_organization );
   WHERE
      wr1:
         SIZEOF(QUERY (apo <* approval_person_organization| (SIZEOF(QUERY (u <* USEDIN(apo, 'STEP_MERGED_AP_SCHEMA.APPLIED_DATE_ASSIGNMENT.ITEMS')| (u.role.name = 'sign off'))) + SIZEOF(QUERY (u <* USEDIN(apo, 'STEP_MERGED_AP_SCHEMA.APPLIED_DATE_AND_TIME_ASSIGNMENT.ITEMS')| (u.role.name = 'sign off'))) <> 1))) = 0;
END_RULE;

[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:19-04:00