504: -- isthis loop required?
505: for i in 1 .. 2 loop
506: -- Call Before Process User Hook
507: begin
508: ame_action_bk13.create_ame_action_type_usage_b
509: (p_action_type_id => p_action_type_id
510: ,p_rule_type => i
511: );
512: exception
524: p_end_date => l_end_date
525: );
526: -- Call After Process User Hook
527: begin
528: ame_action_bk13.create_ame_action_type_usage_a
529: (p_action_type_id => p_action_type_id
530: ,p_rule_type => i
531: ,p_object_version_number => l_object_version_number
532: ,p_start_date => l_start_date
549: end if;
550:
551: -- Call Before Process User Hook
552: begin
553: ame_action_bk13.create_ame_action_type_usage_b
554: (p_action_type_id => p_action_type_id
555: ,p_rule_type => l_rule_type
556: );
557: exception
572: p_end_date => l_end_date
573: );
574: -- Call After Process User Hook
575: begin
576: ame_action_bk13.create_ame_action_type_usage_a
577: (p_action_type_id => p_action_type_id
578: ,p_rule_type => l_rule_type
579: ,p_object_version_number => l_object_version_number
580: ,p_start_date => l_start_date