522: tempJobLevel := tempSupervisorJobLevel;
523: tempSupervisorId := tempNextSupervisorId;
524: end if;
525: if firstAuthInsExists then
526: ame_engine.setDeviationReasonDate(ame_approver_deviation_pkg.firstauthHandlerInsReason,null);
527: end if;
528: if coaInsAuthForward then
529: ame_engine.setDeviationReasonDate(ame_approver_deviation_pkg.forwarHandlerAuthInsReason,null);
530: end if;
525: if firstAuthInsExists then
526: ame_engine.setDeviationReasonDate(ame_approver_deviation_pkg.firstauthHandlerInsReason,null);
527: end if;
528: if coaInsAuthForward then
529: ame_engine.setDeviationReasonDate(ame_approver_deviation_pkg.forwarHandlerAuthInsReason,null);
530: end if;
531: end loop;
532: /* check to see if there is a COA insertion after the final approver. If a COA insertion is
533: found, keep checking till no more COA insertions. The check for final authority need not be