DBA Data[Home] [Help]

APPS.AME_LI_JOB_LEVEL_HANDLER SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 105

        /* Update hasFinalAuthorityYN as needed. */
        if(not tempRuleSatisfied and
           hasFinalAuthorityYN = ame_util.booleanTrue) then
          hasFinalAuthorityYN := ame_util.booleanFalse;
Line: 123

          /* Update source. */
          ame_util.appendRuleIdToSource(ruleIdIn => ruleIds(i),
                                        sourceInOut => source);
Line: 126

          /* Update category as needed. */
          if(category = ame_util.fyiApproverCategory and
             approverCategories(i) = ame_util.approvalApproverCategory) then
            category := ame_util.approvalApproverCategory;
Line: 168

    COAInsertee ame_util.approverRecord2;
Line: 234

        /* Check for COA 'firstAuthority' insertions */
        ame_engine.getHandlerCOAFirstApprover(itemClassIn => tempApprover.item_class,
                                              itemIdIn => tempApprover.item_id,
                                              actionTypeIdIn =>tempApprover.action_type_id,
                                              groupOrChainIdIn => chainCounter,
                                              nameOut => COAInsertee.name,
                                              origSystemOut => COAInsertee.orig_system,
                                              origSystemIdOut =>COAInsertee.orig_system_id,
                                              displayNameOut => COAInsertee.display_name,
                                              sourceOut => COAInsertee.source);
Line: 244

        if COAInsertee.name is  null then
          /* call ame_engine.getItemAttValue2() inside the loop to get the line
             item starting point person id  */
          lineItemStartingPointPersonId := to_number(ame_engine.getItemAttValue2(
                            attributeNameIn => ame_util.lineItemStartingPointAttribute,
                                      itemIdIn => itemIds(chainCounter)));
Line: 254

          tempApprover.api_insertion := ame_util.oamGenerated;
Line: 261

          tempApprover.name := COAInsertee.name;
Line: 262

          tempApprover.orig_system := COAInsertee.orig_system;
Line: 263

          tempApprover.orig_system_id := COAInsertee.orig_system_id;
Line: 264

          tempApprover.display_name :=  COAInsertee.display_name;
Line: 265

          tempApprover.source := COAInsertee.source;
Line: 266

          tempApprover.api_insertion := ame_util.apiAuthorityInsertion;
Line: 307

          tempApprover.api_insertion := ame_util.oamGenerated;
Line: 323

          /* check to see if there is a COA insertion after this approver. If a COA
             insertion is found, keep checking till no more COA insertions. The check
             for final authority will need to be done again.  */
          loop
            /* Initialize COAInsertee approverRecord2 */
            COAInsertee := ame_util.emptyApproverRecord2;
Line: 329

            /* Check if there are any COAInsertions */
            ame_engine.getHandlerCOAInsertion(nameIn => tempApprover.name,
                                            itemClassIn => tempApprover.item_class,
                                            itemIdIn => tempApprover.item_id,
                                            actionTypeIdIn => tempApprover.action_type_id,
                                            groupOrChainIdIn => tempApprover.group_or_chain_id,
                                            occurrenceIn => tempApprover.occurrence,
                                            approvalStatusIn => tempApprover.approval_status,
                                            nameOut => COAInsertee.name,
                                            origSystemOut => COAInsertee.orig_system,
                                            origSystemIdOut => COAInsertee.orig_system_id,
                                            displayNameOut => COAInsertee.display_name,
                                            sourceOut => COAInsertee.source);
Line: 342

            if COAInsertee.name is null then
              exit;
Line: 345

              tempApprover.name := COAInsertee.name;
Line: 346

              tempApprover.orig_system := COAInsertee.orig_system;
Line: 347

              tempApprover.orig_system_id := COAInsertee.orig_system_id;
Line: 348

              tempApprover.display_name :=  COAInsertee.display_name;
Line: 360

              tempApprover.source := COAInsertee.source;
Line: 362

              tempApprover.api_insertion := ame_util.apiAuthorityInsertion;
Line: 493

      parameterNumbers.delete;
Line: 494

      parameterSigns.delete;