533: At this point finalAuthorityFound implies includeAllJobLevelApprovers, so the following if
534: doesn't need to check includeAllJobLevelApprovers. But it's implicit in the if statement.
535: */
536: if firstAuthInsExists then
537: ame_engine.setDeviationReasonDate(ame_approver_deviation_pkg.firstauthHandlerInsReason,null);
538: end if;
539: if coaInsAuthForward then
540: ame_engine.setDeviationReasonDate(ame_approver_deviation_pkg.forwarHandlerAuthInsReason,null);
541: end if;
536: if firstAuthInsExists then
537: ame_engine.setDeviationReasonDate(ame_approver_deviation_pkg.firstauthHandlerInsReason,null);
538: end if;
539: if coaInsAuthForward then
540: ame_engine.setDeviationReasonDate(ame_approver_deviation_pkg.forwarHandlerAuthInsReason,null);
541: end if;
542: if(finalAuthorityFound and
543: tempOldJobLevel <> tempJobLevel) then
544: exit;