FUNCTION get_role

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP203e2
-- DIFF IN AP238 STEP-NC
-- DIFF IN AP224
-- DIFF IN AP232
FUNCTION get_role
      (obj : role_select ) : object_role;
   LOCAL
      role_bag : BAG OF role_association := USEDIN(obj, 'STEP_MERGED_AP_SCHEMA.ROLE_ASSOCIATION.ITEM_WITH_ROLE');
   END_LOCAL;
      IF SIZEOF(role_bag) = 1 THEN
         RETURN (role_bag[1].role);
      ELSE
         RETURN (?);
      END_IF;
END_FUNCTION;

Referenced By

Defintion get_role is references by the following definitions:
DefinitionType
 action_assignment ENTITY
 action_request_assignment ENTITY
 approval_assignment ENTITY
 approval_date_time ENTITY
 certification_assignment ENTITY
 contract_assignment ENTITY
 directed_action_assignment ENTITY
 document_reference ENTITY
 effectivity_assignment ENTITY
 group_assignment ENTITY
 name_assignment ENTITY
 security_classification_assignment ENTITY


[Top Level Definitions] [Exit]

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