979: */
980: currentUserId := ame_util.getCurrentUserId;
981: if(actionTypeIdIn is null) then
982: createdBy := currentUserId;
983: select ame_action_types_s.nextval into actionTypeId from dual;
984: else
985: actionTypeId := actionTypeIdIn;
986: select count(*)
987: into tempCount
1263: */
1264: currentUserId := ame_util.getCurrentUserId;
1265: if(actionIdIn is null) then
1266: createdBy := currentUserId;
1267: select ame_actions_s.nextval into actionId from dual;
1268: else
1269: actionId := actionIdIn;
1270: select count(*)
1271: into tempCount