DBA Data[Home] [Help]

APPS.IBY_DISBURSE_SUBMIT_PUB_PKG SQL Statements

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

Line: 13

 REQ_STATUS_INSERTED        CONSTANT VARCHAR2(100) := 'INSERTED';
Line: 493

     print_debuginfo(l_module_name, '|STEP 1: Insert Payment Service Request|');
Line: 499

      * Insert payment request into IBY_PAY_SERVICE_REQUESTS
      * table and generate payment request id.
      */
     BEGIN

         /*
          * First check whether this is a duplicate request.
          *
          * In the case a duplicate request, this function will
          * return the previously generated payment request id.
          *
          * In the case of a new request, this function will
          * return 0
          */
         l_payreq_id := checkIfDuplicate(p_calling_app_id,
                            p_calling_app_payreq_cd);
Line: 521

          * Insert the payment request only if it is not a duplicate.
          */
         IF (l_is_duplicate = FALSE) THEN
             l_payreq_id := insert_payreq(
                                p_calling_app_id,
                                p_calling_app_payreq_cd,
                                p_internal_bank_account_id,
                                p_payment_profile_id,
                                p_allow_zero_payments_flag,
                                p_maximum_payment_amount,
                                p_minimum_payment_amount,
                                p_document_rejection_level,
                                p_payment_rejection_level,
                                p_review_proposed_pmts_flag,
                                p_create_instrs_flag,
                                p_payment_document_id,
                                p_attribute_category,
                                p_attribute1,
                                p_attribute2,
                                p_attribute3,
                                p_attribute4,
                                p_attribute5,
                                p_attribute6,
                                p_attribute7,
                                p_attribute8,
                                p_attribute9,
                                p_attribute10,
                                p_attribute11,
                                p_attribute12,
                                p_attribute13,
                                p_attribute14,
                                p_attribute15
                                );
Line: 557

                 print_debuginfo(l_module_name, 'Could not insert payment '
                     || 'service request for calling app id '
                     || p_calling_app_id
                     || ', calling app payment service request cd '
                     || p_calling_app_payreq_cd
                     );
Line: 573

                 x_errbuf := 'BUILD PROGRAM ERROR - CANNOT INSERT '
                     || 'PAYMENT SERVICE REQUEST';
Line: 577

                 FND_MESSAGE.SET_NAME('IBY', 'IBY_BUILD_REQ_INSERT_ERROR');
Line: 586

                   * Payment service request as successfully inserted
                   * into the DB. Commit at this point.
                   */
                  print_debuginfo(l_module_name, 'Payment service request '
                      || 'inserted successfully into the database. '
                      || 'Payment request id: '
                      || l_payreq_id);
Line: 602

                     || ' is a duplicate. Skipping insert of request '
                     );
Line: 610

     print_debuginfo(l_module_name, '|STEP 2: Insert Documents|');
Line: 616

      * Insert the documents of this payment request into the
      * IBY_DOCS_PAYABLE_ALL table.
      */

     BEGIN

         /*
          * Insert the payment request documents only if the
          * request is not a duplicate.
          */
         IF (l_is_duplicate = FALSE) THEN
             l_payreq_status := get_payreq_status(l_payreq_id);
Line: 629

             IF (l_payreq_status = REQ_STATUS_INSERTED) THEN

--ebs_pga_mem('Before insert_payreq_documents');
Line: 633

                 l_ret_status := insert_payreq_documents(p_calling_app_id,
                                     p_calling_app_payreq_cd,
                                     l_payreq_id
                                     );
Line: 642

                     print_debuginfo(l_module_name, 'Could not insert '
                         || 'documents payable for payment service '
                         || 'request. Calling app id '
                         || p_calling_app_id
                         || ', calling app payment service request cd '
                         || p_calling_app_payreq_cd
                         );
Line: 659

                     x_errbuf := 'BUILD PROGRAM ERROR - CANNOT INSERT '
                         || 'DOCUMENTS FOR PAYMENT SERVICE REQUEST';
Line: 663

                     FND_MESSAGE.SET_NAME('IBY', 'IBY_BUILD_DOC_INSERT_ERROR');
Line: 683

                      * Payment service request documents successfully inserted
                      * into the DB. Commit at this point.
                      */
                     COMMIT;
Line: 695

                     || ' is a duplicate. Skipping insert of documents '
                     );
Line: 731

             SELECT payment_service_request_id
             INTO l_req_id
             FROM iby_pay_service_requests
             WHERE payment_service_request_id = l_payreq_id
             AND payment_service_request_status = l_payreq_status
             FOR UPDATE SKIP LOCKED;
Line: 831

             SELECT payment_service_request_id
             INTO l_req_id
             FROM iby_pay_service_requests
             WHERE payment_service_request_id = l_payreq_id
             AND payment_service_request_status = l_payreq_status
             FOR UPDATE SKIP LOCKED;
Line: 975

             UPDATE
                 IBY_DOCS_PAYABLE_ALL
             SET
                 document_status = DOC_STATUS_RDY_FOR_VAL
             WHERE
                 payment_service_request_id = l_payreq_id AND
                 document_status = DOC_STATUS_FAILED_VAL
             ;
Line: 1086

             SELECT payment_service_request_id
             INTO l_req_id
             FROM iby_pay_service_requests
             WHERE payment_service_request_id = l_payreq_id
             AND payment_service_request_status = l_payreq_status
             FOR UPDATE SKIP LOCKED;
Line: 1231

                  * Update the request status in the database so that
                  * it is visible to the payment creation module.
                  */
                 UPDATE
                     IBY_PAY_SERVICE_REQUESTS
                 SET
                     payment_service_request_status =
                         REQ_STATUS_RETRY_PMT_CREAT
                 WHERE
                     payment_service_request_id = l_payreq_id;
Line: 1244

                     || ' updated in DB. '
                     );
Line: 1373

                     || 'account" status will be updated for request '
                     || l_payreq_id
                     );
Line: 1377

                 UPDATE
                    IBY_PAYMENTS_ALL
                 SET
                    payment_status = PAY_STATUS_CREATED
                 WHERE
                    payment_service_request_id = l_payreq_id AND
                    payment_status = PAY_STATUS_MOD_BNK_ACC
                 ;
Line: 1403

             UPDATE
                 IBY_PAY_SERVICE_REQUESTS
             SET
                 payment_service_request_status = REQ_STATUS_PMT_CRTD
             WHERE
                 payment_service_request_id = l_payreq_id;
Line: 1410

             print_debuginfo(l_module_name, 'Updated status of'
                 || ' payment request '
                 || l_payreq_id
                 || ' to "created"'
                 );
Line: 1524

             SELECT
                 NVL(create_pmt_instructions_flag, 'N')
             INTO
                 l_create_instrs_flag
             FROM
                 IBY_PAY_SERVICE_REQUESTS
             WHERE
                 PAYMENT_SERVICE_REQUEST_ID = l_payreq_id
             ;
Line: 1588

             SELECT
                 payment_document_id
             INTO
                 l_payment_doc_id
             FROM
                 IBY_PAY_SERVICE_REQUESTS
             WHERE
                 PAYMENT_SERVICE_REQUEST_ID = l_payreq_id
             ;
Line: 2344

 SELECT
     payment_service_request_id
 FROM
     IBY_PAY_SERVICE_REQUESTS
 WHERE
     payment_service_request_status=c_status;
Line: 2396

     SELECT
         payment_service_request_status
     INTO
         l_payreq_status
     FROM
         IBY_PAY_SERVICE_REQUESTS
     WHERE
         payment_service_request_id = l_payreq_id;
Line: 2453

    SELECT
        'TRUE'
    INTO
        l_test
    FROM
        DUAL
    WHERE
        EXISTS
        (
        SELECT
            payment_id
        FROM
            IBY_PAYMENTS_ALL
        WHERE
            payment_service_request_id = l_payreq_id         AND
            payment_status             = PAY_STATUS_MODIFIED
        )
    ;
Line: 2536

    SELECT
        'TRUE'
    INTO
        l_test
    FROM
        DUAL
    WHERE
        EXISTS
        (
        SELECT
            payment_id
        FROM
            IBY_PAYMENTS_ALL
        WHERE
            payment_service_request_id = l_payreq_id         AND
            payment_status             = PAY_STATUS_MOD_BNK_ACC
        )
    ;
Line: 2588

 |     insert_payreq
 |
 |
 | PURPOSE:
 |
 |
 | PARAMETERS:
 |     IN
 |
 |
 |     OUT
 |
 |
 | RETURNS:
 |
 | NOTES:
 |
 *---------------------------------------------------------------------*/
 FUNCTION insert_payreq (
     p_calling_app_id         IN IBY_PAY_SERVICE_REQUESTS.calling_app_id%TYPE,
     p_calling_app_payreq_cd  IN IBY_PAY_SERVICE_REQUESTS.
                                     call_app_pay_service_req_code%TYPE,
     p_internal_bank_account_id
                              IN IBY_PAY_SERVICE_REQUESTS.
                                     internal_bank_account_id%TYPE,
     p_payment_profile_id
                              IN IBY_PAY_SERVICE_REQUESTS.
                                     payment_profile_id%TYPE,
     p_allow_zero_payments_flag
                              IN IBY_PAY_SERVICE_REQUESTS.
                                     allow_zero_payments_flag%TYPE,
     p_maximum_payment_amount IN IBY_PAY_SERVICE_REQUESTS.
                                     maximum_payment_amount%TYPE,
     p_minimum_payment_amount IN IBY_PAY_SERVICE_REQUESTS.
                                     minimum_payment_amount%TYPE,
     p_doc_rej_level          IN IBY_PAY_SERVICE_REQUESTS.
                                     document_rejection_level_code%TYPE,
     p_pmt_rej_level          IN IBY_PAY_SERVICE_REQUESTS.
                                     payment_rejection_level_code%TYPE,
     p_revw_prop_pmts_flag    IN IBY_PAY_SERVICE_REQUESTS.
                                     require_prop_pmts_review_flag%TYPE,
     p_create_instrs_flag     IN IBY_PAY_SERVICE_REQUESTS.
                                     create_pmt_instructions_flag%TYPE,
     p_payment_document_id    IN IBY_PAY_SERVICE_REQUESTS.
                                     payment_document_id%TYPE,
     p_attribute_category     IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute_category%TYPE,
     p_attribute1             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute1%TYPE,
     p_attribute2             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute2%TYPE,
     p_attribute3             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute3%TYPE,
     p_attribute4             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute4%TYPE,
     p_attribute5             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute5%TYPE,
     p_attribute6             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute6%TYPE,
     p_attribute7             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute7%TYPE,
     p_attribute8             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute8%TYPE,
     p_attribute9             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute9%TYPE,
     p_attribute10             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute10%TYPE,
     p_attribute11             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute11%TYPE,
     p_attribute12             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute12%TYPE,
     p_attribute13             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute13%TYPE,
     p_attribute14             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute14%TYPE,
     p_attribute15             IN IBY_PAY_SERVICE_REQUESTS.
                                     attribute15%TYPE
     )
     RETURN NUMBER
 IS

 l_payreq_id     IBY_PAY_SERVICE_REQUESTS.payment_service_request_id%TYPE;
Line: 2670

 l_module_name   CONSTANT VARCHAR2(200) := G_PKG_NAME || '.insert_payreq';
Line: 2682

      * Insert the payment request into IBY_PAY_SERVICE_REQUESTS
      * table. Supply defaults for values not provided by the
      * calling app.
      */
     INSERT INTO IBY_PAY_SERVICE_REQUESTS (
         CALLING_APP_ID,
         CREATED_BY,
         CREATION_DATE,
         LAST_UPDATED_BY,
         LAST_UPDATE_DATE,
         LAST_UPDATE_LOGIN,
         OBJECT_VERSION_NUMBER,
         CALL_APP_PAY_SERVICE_REQ_CODE,
         PAYMENT_SERVICE_REQUEST_STATUS,
         PAYMENT_SERVICE_REQUEST_ID,
         PROCESS_TYPE,
         ALLOW_ZERO_PAYMENTS_FLAG,
         MAXIMUM_PAYMENT_AMOUNT,
         MINIMUM_PAYMENT_AMOUNT,
         INTERNAL_BANK_ACCOUNT_ID,
         PAYMENT_PROFILE_ID,
         DOCUMENT_REJECTION_LEVEL_CODE,
         PAYMENT_REJECTION_LEVEL_CODE,
         REQUIRE_PROP_PMTS_REVIEW_FLAG,
         CREATE_PMT_INSTRUCTIONS_FLAG,
         PAYMENT_DOCUMENT_ID,
         ATTRIBUTE_CATEGORY,
         ATTRIBUTE1,
         ATTRIBUTE2,
         ATTRIBUTE3,
         ATTRIBUTE4,
         ATTRIBUTE5,
         ATTRIBUTE6,
         ATTRIBUTE7,
         ATTRIBUTE8,
         ATTRIBUTE9,
         ATTRIBUTE10,
         ATTRIBUTE11,
         ATTRIBUTE12,
         ATTRIBUTE13,
         ATTRIBUTE14,
         ATTRIBUTE15
         )
     VALUES(
         p_calling_app_id,
         fnd_global.user_id,
         sysdate,
         fnd_global.user_id,
         sysdate,
         fnd_global.login_id,
         1,
         p_calling_app_payreq_cd,
         REQ_STATUS_INSERTED,
         l_payreq_id,
         'STANDARD',       -- hardcode to 'standard' in the build program
         DECODE(
             p_allow_zero_payments_flag, NULL, 'N', p_allow_zero_payments_flag
               ),
         p_maximum_payment_amount,
         p_minimum_payment_amount,
         p_internal_bank_account_id,
         p_payment_profile_id,
         p_doc_rej_level,
         p_pmt_rej_level,
         p_revw_prop_pmts_flag,
         p_create_instrs_flag,
         p_payment_document_id,
         p_attribute_category,
         p_attribute1,
         p_attribute2,
         p_attribute3,
         p_attribute4,
         p_attribute5,
         p_attribute6,
         p_attribute7,
         p_attribute8,
         p_attribute9,
         p_attribute10,
         p_attribute11,
         p_attribute12,
         p_attribute13,
         p_attribute14,
         p_attribute15
     );
Line: 2773

             || 'inserting payment request status for '
             || 'calling app id '
             || p_calling_app_id
             || ', calling app payment service request cd '
             || p_calling_app_payreq_cd
             );
Line: 2787

 END insert_payreq;
Line: 2825

     SELECT
         payment_service_request_id INTO l_payreq_id
     FROM
         IBY_PAY_SERVICE_REQUESTS
     WHERE
         calling_app_id = p_calling_app_id
     AND
         call_app_pay_service_req_code = p_calling_app_payreq_cd;
Line: 3003

         SELECT
             ext_payee_id INTO l_payee_id
         FROM
             IBY_EXTERNAL_PAYEES_ALL
         WHERE
             payee_party_id              = p_payee_party_id                AND
             payment_function            = p_pmt_function                  AND
             NVL(party_site_id,     '0') = NVL(l_payee_party_site_id, '0') AND
             NVL(supplier_site_id,  '0') = NVL(p_supplier_site_id,    '0') AND
             NVL(org_id,            '0') = NVL(p_org_id,              '0') AND
             NVL(org_type,          '0') = NVL(p_org_type,            '0')
             ;
Line: 3071

         SELECT
             ext_payee_id INTO l_payee_id
         FROM
             IBY_EXTERNAL_PAYEES_ALL
         WHERE
             payee_party_id              = p_payee_party_id                AND
             payment_function            = p_pmt_function                  AND
             NVL(party_site_id, '0')     = NVL(l_payee_party_site_id, '0') AND
             supplier_site_id      IS NULL                                 AND
             org_id                IS NULL                                 AND
             org_type              IS NULL
             ;
Line: 3142

         SELECT
             ext_payee_id INTO l_payee_id
         FROM
             IBY_EXTERNAL_PAYEES_ALL
         WHERE
             payee_party_id   = p_payee_party_id        AND
             payment_function = p_pmt_function          AND
             party_site_id         IS NULL              AND
             supplier_site_id      IS NULL              AND
             org_id                IS NULL              AND
             org_type              IS NULL
             ;
Line: 3324

         SELECT
             ext_payee_id INTO l_payee_id
         FROM
             IBY_EXTERNAL_PAYEES_ALL
         WHERE
             payee_party_id              = p_payee_party_id                AND
             payment_function            = p_pmt_function                  AND
             NVL(party_site_id,     '0') = NVL(l_payee_party_site_id, '0') AND
             NVL(supplier_site_id,  '0') = NVL(p_supplier_site_id,    '0') AND
             NVL(org_id,            '0') = NVL(p_org_id,              '0') AND
             NVL(org_type,          '0') = NVL(p_org_type,            '0')
             ;
Line: 3428

     SELECT IBY_PAY_SERVICE_REQUESTS_S.nextval INTO l_payreq_id
         FROM DUAL;
Line: 3437

 |     insert_payreq_documents
 |
 |
 | PURPOSE:
 |
 |
 | PARAMETERS:
 |     IN
 |
 |
 |     OUT
 |
 |
 | RETURNS:
 |
 | NOTES:
 |
 *---------------------------------------------------------------------*/
 FUNCTION insert_payreq_documents (
     p_calling_app_id        IN IBY_PAY_SERVICE_REQUESTS.calling_app_id%TYPE,
     p_calling_app_payreq_cd IN IBY_PAY_SERVICE_REQUESTS.
                                    call_app_pay_service_req_code%TYPE,
     p_payreq_id             IN IBY_PAY_SERVICE_REQUESTS.
                                    payment_service_request_id%TYPE
     )
     RETURN NUMBER
 IS

 l_return_status    NUMBER := -1;
Line: 3482

                                                  '.insert_payreq_documents';
Line: 3496

     SELECT
         fnd.application_short_name
     INTO
         l_app_short_name
     FROM
         FND_APPLICATION fnd
     WHERE
         fnd.application_id = p_calling_app_id;
Line: 3552

     /* old select - for reference purposes */
     /*----------------------------------
     OPEN l_docs_cursor FOR
         'SELECT * FROM '
             || l_view_name
             || ' WHERE calling_app_id = :ca_id'
             || ' AND call_app_pay_service_req_code = :ca_payreq_cd'
         USING
             p_calling_app_id,
             p_calling_app_payreq_cd
         ;
Line: 3566

      * Ensure that the order of the columns in this SELECT matches
      * exactly with the order of the columns of the template table
      * IBY_GEN_DOCS_PAYABLE.
      *
      * By using names columns in this SELECT (instead of select *),
      * we are making it possible for the external application to
      * have a slightly different column ordering that what is
      * present in IBY_GEN_DOCS_PAYABLE (otherwise, the ordering
      * becomes strict).
      */
     OPEN l_docs_cursor FOR
         'SELECT '
             || 'pay_proc_trxn_type_code,            '
             || 'calling_app_id,                     '
             || 'calling_app_doc_unique_ref1,        '
             || 'calling_app_doc_unique_ref2,        '
             || 'calling_app_doc_unique_ref3,        '
             || 'calling_app_doc_unique_ref4,        '
             || 'calling_app_doc_unique_ref5,        '
             || 'calling_app_doc_ref_number,         '
             || 'call_app_pay_service_req_code,      '
             || 'IBY_DOCS_PAYABLE_ALL_S.nextval,     '
             || 'payment_function,                   '
             || 'payment_date,                       '
             || 'document_date,                      '
             || 'document_type,                      '
             || 'document_currency_code,             '
             || 'document_amount,                    '
             || 'payment_currency_code,              '
             || 'payment_amount,                     '
             || 'payment_method_code,                '
             || 'exclusive_payment_flag,             '
             || 'remit_payee_party_id,                     '
             || 'remit_party_site_id,                      '
             || 'remit_supplier_site_id,                   '
             || 'remit_beneficiary_party,                  '
             || 'legal_entity_id,                    '
             || 'org_id,                             '
             || 'org_type,                           '
             || 'allow_removing_document_flag,       '
             || 'created_by,                         '    -- Ramesh, Why r we selecting this?
             || 'creation_date,                      '
             || 'last_updated_by,                    '
             || 'last_update_date,                   '
             || 'last_update_login,                  '
             || 'object_version_number,              '
             || 'anticipated_value_date,             '
             || 'po_number,                          '
             || 'document_description,               '
             || 'document_currency_tax_amount,       '
             || 'document_curr_charge_amount,        '
             || 'amount_withheld,                    '
             || 'payment_curr_discount_taken,        '
             || 'discount_date,                      '
             || 'payment_due_date,                   '
             || 'payment_profile_id,                 '
             || 'internal_bank_account_id,           '
             || 'external_bank_account_id,           '
             || 'bank_charge_bearer,                 '
             || 'interest_rate,                      '
             || 'payment_grouping_number,            '
             || 'payment_reason_code,                '
             || 'payment_reason_comments,            '
             || 'settlement_priority,                '
             || 'remittance_message1,                '
             || 'remittance_message2,                '
             || 'remittance_message3,                '
             || 'unique_remittance_identifier,       '
             || 'uri_check_digit,                    '
             || 'delivery_channel_code,              '
             || 'payment_format_code,                '
             || 'document_sequence_id,               '
             || 'document_sequence_value,            '
             || 'document_category_code,             '
             || 'bank_assigned_ref_code,             '
             || 'remit_to_location_id,               '
             || 'attribute_category,                 '
             || 'attribute1,                         '
             || 'attribute2,                         '
             || 'attribute3,                         '
             || 'attribute4,                         '
             || 'attribute5,                         '
             || 'attribute6,                         '
             || 'attribute7,                         '
             || 'attribute8,                         '
             || 'attribute9,                         '
             || 'attribute10,                        '
             || 'attribute11,                        '
             || 'attribute12,                        '
             || 'attribute13,                        '
             || 'attribute14,                        '
             || 'attribute15,                        '
             || 'address_source,                     '
             || 'employee_address_code,              '
             || 'employee_person_id,                 '
             || 'employee_payment_flag,              '
             || 'employee_address_id,                '
             || 'payee_party_id,		'
             || 'party_site_id,		'
             || 'supplier_site_id,	'
             || 'beneficiary_party,	'
             || 'relationship_id		'
         || 'FROM '
             || l_view_name
             || ' WHERE calling_app_id = :ca_id'
             || ' AND call_app_pay_service_req_code = :ca_payreq_cd'
         USING
             p_calling_app_id,
             p_calling_app_payreq_cd
         ;
Line: 3679

     delete_docspayTab;
Line: 3712

        iby_disburse_submit_pub_pkg.docspayTab.last_updated_by                   ,
        iby_disburse_submit_pub_pkg.docspayTab.last_update_date                  ,
        iby_disburse_submit_pub_pkg.docspayTab.last_update_login                 ,
        iby_disburse_submit_pub_pkg.docspayTab.object_version_number             ,
        iby_disburse_submit_pub_pkg.docspayTab.anticipated_value_date            ,
        iby_disburse_submit_pub_pkg.docspayTab.po_number                         ,
        iby_disburse_submit_pub_pkg.docspayTab.document_description              ,
        iby_disburse_submit_pub_pkg.docspayTab.document_currency_tax_amount      ,
        iby_disburse_submit_pub_pkg.docspayTab.document_curr_charge_amount       ,
        iby_disburse_submit_pub_pkg.docspayTab.amount_withheld                   ,
        iby_disburse_submit_pub_pkg.docspayTab.payment_curr_discount_taken       ,
        iby_disburse_submit_pub_pkg.docspayTab.discount_date                     ,
        iby_disburse_submit_pub_pkg.docspayTab.payment_due_date                  ,
        iby_disburse_submit_pub_pkg.docspayTab.payment_profile_id                ,
        iby_disburse_submit_pub_pkg.docspayTab.internal_bank_account_id          ,
        iby_disburse_submit_pub_pkg.docspayTab.external_bank_account_id          ,
        iby_disburse_submit_pub_pkg.docspayTab.bank_charge_bearer                ,
        iby_disburse_submit_pub_pkg.docspayTab.interest_rate                     ,
        iby_disburse_submit_pub_pkg.docspayTab.payment_grouping_number           ,
        iby_disburse_submit_pub_pkg.docspayTab.payment_reason_code               ,
        iby_disburse_submit_pub_pkg.docspayTab.payment_reason_comments           ,
        iby_disburse_submit_pub_pkg.docspayTab.settlement_priority               ,
        iby_disburse_submit_pub_pkg.docspayTab.remittance_message1               ,
        iby_disburse_submit_pub_pkg.docspayTab.remittance_message2               ,
        iby_disburse_submit_pub_pkg.docspayTab.remittance_message3               ,
        iby_disburse_submit_pub_pkg.docspayTab.unique_remittance_identifier      ,
        iby_disburse_submit_pub_pkg.docspayTab.uri_check_digit                   ,
        iby_disburse_submit_pub_pkg.docspayTab.delivery_channel_code             ,
        iby_disburse_submit_pub_pkg.docspayTab.payment_format_code               ,
        iby_disburse_submit_pub_pkg.docspayTab.document_sequence_id              ,
        iby_disburse_submit_pub_pkg.docspayTab.document_sequence_value           ,
        iby_disburse_submit_pub_pkg.docspayTab.document_category_code            ,
        iby_disburse_submit_pub_pkg.docspayTab.bank_assigned_ref_code            ,
        iby_disburse_submit_pub_pkg.docspayTab.remit_to_location_id              ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute_category                ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute1                        ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute2                        ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute3                        ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute4                        ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute5                        ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute6                        ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute7                        ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute8                        ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute9                        ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute10                       ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute11                       ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute12                       ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute13                       ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute14                       ,
        iby_disburse_submit_pub_pkg.docspayTab.attribute15                       ,
        iby_disburse_submit_pub_pkg.docspayTab.address_source                    ,
        iby_disburse_submit_pub_pkg.docspayTab.employee_address_code             ,
        iby_disburse_submit_pub_pkg.docspayTab.employee_person_id                ,
        iby_disburse_submit_pub_pkg.docspayTab.employee_payment_flag             ,
        iby_disburse_submit_pub_pkg.docspayTab.employee_address_id               ,
	 /*TPP-Start*/
        iby_disburse_submit_pub_pkg.docspayTab.inv_payee_party_id                ,
        iby_disburse_submit_pub_pkg.docspayTab.inv_party_site_id                 ,
        iby_disburse_submit_pub_pkg.docspayTab.inv_supplier_site_id              ,
        iby_disburse_submit_pub_pkg.docspayTab.inv_beneficiary_party                   ,
        iby_disburse_submit_pub_pkg.docspayTab.relationship_id
	 /*TPP-End*/
     LIMIT G_LINES_PER_FETCH;
Line: 3786

      * We will use this structure in doing a bulk insert into the
      * IBY_DOCS_PAYABLE_ALL table.
      */
         iby_disburse_submit_pub_pkg.docspayTab.payment_service_request_id(l_trx_line_index)
                                            := p_payreq_id;
Line: 3833

         iby_disburse_submit_pub_pkg.docspayTab.last_updated_by(l_trx_line_index) := fnd_global.user_id;
Line: 3834

         iby_disburse_submit_pub_pkg.docspayTab.last_update_date(l_trx_line_index)  := sysdate;
Line: 3835

         iby_disburse_submit_pub_pkg.docspayTab.last_update_login(l_trx_line_index) := fnd_global.login_id;
Line: 3861

          * Following columns are not selected in the above cursor
          * They need to be initialized, otherwise, "No Data Found" is encountered.
          */
         iby_disburse_submit_pub_pkg.docspayTab.payment_id(l_trx_line_index) := NULL;
Line: 3872

      * Insert document info in IBY_DOCS_PAYABLE_ALL
      */

         print_debuginfo(l_module_name, 'Before insert '  );
Line: 3903

            print_debuginfo(l_module_name, '25: ' || iby_disburse_submit_pub_pkg.docspayTab.last_updated_by(l_trx_line_index));
Line: 3904

            print_debuginfo(l_module_name, '26: ' || iby_disburse_submit_pub_pkg.docspayTab.last_update_date(l_trx_line_index));
Line: 3911

            print_debuginfo(l_module_name, '33: ' || iby_disburse_submit_pub_pkg.docspayTab.last_update_login(l_trx_line_index));
Line: 3980

         INSERT INTO IBY_DOCS_PAYABLE_ALL
             (
             pay_proc_trxn_type_code,
             calling_app_id,
             calling_app_doc_ref_number,
             document_payable_id,
             payment_function,
             payment_date,
             document_date,
             document_type,
             document_status,
             document_currency_code,
             document_amount,
             payment_currency_code,
             payment_amount,
             payment_service_request_id,
             payment_method_code,
             exclusive_payment_flag,
             straight_through_flag,
             ext_payee_id,
             payee_party_id,
             legal_entity_id,
             org_id,
             allow_removing_document_flag,
             created_by,
             creation_date,
             last_updated_by,
             last_update_date,
             object_version_number,
             calling_app_doc_unique_ref1,
             calling_app_doc_unique_ref2,
             calling_app_doc_unique_ref3,
             calling_app_doc_unique_ref4,
             calling_app_doc_unique_ref5,
             last_update_login,
             party_site_id,
             supplier_site_id,
             beneficiary_party,
             org_type,
             anticipated_value_date,
             po_number,
             document_description,
             document_currency_tax_amount,
             document_curr_charge_amount,
             amount_withheld,
             payment_curr_discount_taken,
             discount_date,
             payment_due_date,
             payment_profile_id,
             payment_id,
             formatting_payment_id,
             internal_bank_account_id,
             external_bank_account_id,
             bank_charge_bearer,
             interest_rate,
             payment_grouping_number,
             payment_reason_code,
             payment_reason_comments,
             settlement_priority,
             remittance_message1,
             remittance_message2,
             remittance_message3,
             unique_remittance_identifier,
             uri_check_digit,
             delivery_channel_code,
             payment_format_code,
             document_sequence_id,
             document_sequence_value,
             document_category_code,
             bank_assigned_ref_code,
             remit_to_location_id,
             completed_pmts_group_id,
             rejected_docs_group_id,
             attribute_category,
             attribute1,
             attribute2,
             attribute3,
             attribute4,
             attribute5,
             attribute6,
             attribute7,
             attribute8,
             attribute9,
             attribute10,
             attribute11,
             attribute12,
             attribute13,
             attribute14,
             attribute15,
             address_source,
             employee_address_code,
             employee_payment_flag,
             employee_person_id,
             employee_address_id,
	     inv_payee_party_id,
	     inv_party_site_id,
	     inv_supplier_site_id,
	     inv_beneficiary_party,
	     ext_inv_payee_id,
	     relationship_id
             )
         VALUES
             (
             iby_disburse_submit_pub_pkg.docspayTab.pay_proc_trxn_type_code(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.calling_app_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_ref_number(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_payable_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_function(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_date(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_date(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_type(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_status(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_currency_code(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_amount(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_currency_code(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_amount(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_service_request_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_method_code(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.exclusive_payment_flag(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.straight_through_flag(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.ext_payee_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payee_party_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.legal_entity_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.org_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.allow_removing_document_flag(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.created_by(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.creation_date(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.last_updated_by(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.last_update_date(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.object_version_number(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_unique_ref1(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_unique_ref2(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_unique_ref3(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_unique_ref4(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_unique_ref5(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.last_update_login(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.party_site_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.supplier_site_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.beneficiary_party(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.org_type(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.anticipated_value_date(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.po_number(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_description(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_currency_tax_amount(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_curr_charge_amount(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.amount_withheld(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_curr_discount_taken(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.discount_date(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_due_date(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_profile_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.formatting_payment_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.internal_bank_account_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.external_bank_account_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.bank_charge_bearer(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.interest_rate(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_grouping_number(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_reason_code(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_reason_comments(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.settlement_priority(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.remittance_message1(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.remittance_message2(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.remittance_message3(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.unique_remittance_identifier(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.uri_check_digit(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.delivery_channel_code(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.payment_format_code(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_sequence_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_sequence_value(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.document_category_code(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.bank_assigned_ref_code(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.remit_to_location_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.completed_pmts_group_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.rejected_docs_group_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute_category(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute1(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute2(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute3(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute4(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute5(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute6(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute7(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute8(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute9(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute10(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute11(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute12(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute13(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute14(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.attribute15(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.address_source(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.employee_address_code(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.employee_payment_flag(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.employee_person_id(l_trx_line_index),
             iby_disburse_submit_pub_pkg.docspayTab.employee_address_id(l_trx_line_index),

	     iby_disburse_submit_pub_pkg.docspayTab.inv_payee_party_id(l_trx_line_index)                ,
	     iby_disburse_submit_pub_pkg.docspayTab.inv_party_site_id(l_trx_line_index)                 ,
	     iby_disburse_submit_pub_pkg.docspayTab.inv_supplier_site_id(l_trx_line_index)              ,
	     iby_disburse_submit_pub_pkg.docspayTab.inv_beneficiary_party(l_trx_line_index)                   ,
	     iby_disburse_submit_pub_pkg.docspayTab.ext_inv_payee_id(l_trx_line_index)                  ,
	     iby_disburse_submit_pub_pkg.docspayTab.relationship_id(l_trx_line_index)
             );
Line: 4184

     print_debuginfo(l_module_name, 'Finished inserting'
         || ' documents into IBY_DOCS_PAYABLE_ALL'
         || ' table');
Line: 4213

     delete_docspayTab;
Line: 4218

      * Insert the distinct payment functions and orgs that
      * were found in the documents of this request. These
      * will be used for limiting UI access to users.
      */
     insertDistinctAccessTypsForReq(l_pmtFxAccessTypesTab,
         l_orgAccessTypesTab);
Line: 4226

      * If the documents were inserted successfully, update the
      * status of the payment request to 'submitted'.
      */
     UPDATE
         IBY_PAY_SERVICE_REQUESTS
     SET
         payment_service_request_status = REQ_STATUS_SUBMITTED
     WHERE
         payment_service_request_id = p_payreq_id;
Line: 4236

     print_debuginfo(l_module_name, 'Updated status of'
         || ' payment request '
         || p_payreq_id
         || ' to "submitted"'
         );
Line: 4244

      * insertion was successful. Set the return status
      * to success.
      */
     l_return_status := 0;
Line: 4255

             || 'attempting to insert documents for '
             || 'calling app id '
             || p_calling_app_id
             || ', calling app payment service request id '
             || p_calling_app_payreq_cd
             );
Line: 4268

 END insert_payreq_documents;
Line: 4297

     SELECT IBY_DOCS_PAYABLE_ALL_S.nextval INTO l_docPayID
         FROM DUAL;
Line: 4331

     SELECT IBY_DOCUMENT_LINES_S.nextval INTO l_docLineID
         FROM DUAL;
Line: 4456

 |     insertDistinctAccessTypsForReq
 |
 | PURPOSE:
 |
 |
 | PARAMETERS:
 |     IN
 |
 |
 |     OUT
 |
 |
 | RETURNS:
 |
 | NOTES:
 |
 *---------------------------------------------------------------------*/
 PROCEDURE insertDistinctAccessTypsForReq(
     p_pmtFxAccessTypesTab IN distinctPmtFxAccessTab,
     p_orgAccessTypesTab   IN distinctOrgAccessTab
     )
 IS

 TYPE t_object_id IS TABLE OF
     NUMBER(15)
     INDEX BY BINARY_INTEGER;
Line: 4534

         INSERT INTO IBY_PROCESS_FUNCTIONS
             (
             object_id,
             object_type,
             payment_function
             )
         VALUES
             (
             l_object_id(i),
             l_object_type(i),
             l_payment_function(i)
             )
             ;
Line: 4552

         INSERT INTO IBY_PROCESS_ORGS
             (
             object_id,
             object_type,
             org_id,
             org_type
             )
         VALUES
             (
             l_object_id(j),
             l_object_type(j),
             l_org_id(j),
             l_org_type(j)
             )
             ;
Line: 4568

 END insertDistinctAccessTypsForReq;
Line: 4619

        SELECT
            cedoc.payment_document_id
        INTO
            x_profile_attribs.payment_doc_id
        FROM
            CE_PAYMENT_DOCUMENTS   cedoc
        WHERE
            cedoc.payment_document_id = x_profile_attribs.payment_doc_id;
Line: 4800

     SELECT
         automatic_ppr_report_submit,
         ppr_report_format
     INTO
         l_report_flag,
         l_report_format
     FROM
         IBY_INTERNAL_PAYERS_ALL sysoptions
     WHERE
         sysoptions.org_id IS NULL
     ;
Line: 4843

     SELECT
         fnd.application_short_name
     INTO
         l_app_short_name
     FROM
         FND_APPLICATION          fnd,
         IBY_PAY_SERVICE_REQUESTS req
     WHERE
         fnd.application_id             = req.calling_app_id AND
         req.payment_service_request_id = p_payreq_id
     ;
Line: 4988

        SELECT *
          INTO l_ppp_rec
          FROM IBY_PAYMENT_PROFILES
         WHERE payment_profile_id = p_profile_id;
Line: 5020

 PROCEDURE delete_docspayTab IS
 l_module_name     CONSTANT VARCHAR2(200) := G_PKG_NAME ||
                                       '.delete_docspayTab';
Line: 5026

        iby_disburse_submit_pub_pkg.docspayTab.pay_proc_trxn_type_code.delete;
Line: 5027

        iby_disburse_submit_pub_pkg.docspayTab.calling_app_id.delete;
Line: 5028

        iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_ref_number.delete;
Line: 5029

        iby_disburse_submit_pub_pkg.docspayTab.call_app_pay_service_req_code.delete;
Line: 5030

        iby_disburse_submit_pub_pkg.docspayTab.document_payable_id.delete;
Line: 5031

        iby_disburse_submit_pub_pkg.docspayTab.payment_function.delete;
Line: 5032

        iby_disburse_submit_pub_pkg.docspayTab.payment_date.delete;
Line: 5033

        iby_disburse_submit_pub_pkg.docspayTab.document_date.delete;
Line: 5034

        iby_disburse_submit_pub_pkg.docspayTab.document_type.delete;
Line: 5035

        iby_disburse_submit_pub_pkg.docspayTab.document_status.delete;
Line: 5036

        iby_disburse_submit_pub_pkg.docspayTab.document_currency_code.delete;
Line: 5037

        iby_disburse_submit_pub_pkg.docspayTab.document_amount.delete;
Line: 5038

        iby_disburse_submit_pub_pkg.docspayTab.payment_currency_code.delete;
Line: 5039

        iby_disburse_submit_pub_pkg.docspayTab.payment_amount.delete;
Line: 5040

        iby_disburse_submit_pub_pkg.docspayTab.payment_service_request_id.delete;
Line: 5041

        iby_disburse_submit_pub_pkg.docspayTab.payment_method_code.delete;
Line: 5042

        iby_disburse_submit_pub_pkg.docspayTab.exclusive_payment_flag.delete;
Line: 5043

        iby_disburse_submit_pub_pkg.docspayTab.straight_through_flag.delete;
Line: 5044

        iby_disburse_submit_pub_pkg.docspayTab.ext_payee_id.delete;
Line: 5045

        iby_disburse_submit_pub_pkg.docspayTab.payee_party_id.delete;
Line: 5046

        iby_disburse_submit_pub_pkg.docspayTab.legal_entity_id.delete;
Line: 5047

        iby_disburse_submit_pub_pkg.docspayTab.org_id.delete;
Line: 5048

        iby_disburse_submit_pub_pkg.docspayTab.allow_removing_document_flag.delete;
Line: 5049

        iby_disburse_submit_pub_pkg.docspayTab.created_by.delete;
Line: 5050

        iby_disburse_submit_pub_pkg.docspayTab.creation_date.delete;
Line: 5051

        iby_disburse_submit_pub_pkg.docspayTab.last_updated_by.delete;
Line: 5052

        iby_disburse_submit_pub_pkg.docspayTab.last_update_date.delete;
Line: 5053

        iby_disburse_submit_pub_pkg.docspayTab.object_version_number.delete;
Line: 5054

        iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_unique_ref1.delete;
Line: 5055

        iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_unique_ref2.delete;
Line: 5056

        iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_unique_ref3.delete;
Line: 5057

        iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_unique_ref4.delete;
Line: 5058

        iby_disburse_submit_pub_pkg.docspayTab.calling_app_doc_unique_ref5.delete;
Line: 5059

        iby_disburse_submit_pub_pkg.docspayTab.last_update_login.delete;
Line: 5060

        iby_disburse_submit_pub_pkg.docspayTab.party_site_id.delete;
Line: 5061

        iby_disburse_submit_pub_pkg.docspayTab.supplier_site_id.delete;
Line: 5062

        iby_disburse_submit_pub_pkg.docspayTab.beneficiary_party.delete;
Line: 5063

        iby_disburse_submit_pub_pkg.docspayTab.org_type.delete;
Line: 5064

        iby_disburse_submit_pub_pkg.docspayTab.anticipated_value_date.delete;
Line: 5065

        iby_disburse_submit_pub_pkg.docspayTab.po_number.delete;
Line: 5066

        iby_disburse_submit_pub_pkg.docspayTab.document_description.delete;
Line: 5067

        iby_disburse_submit_pub_pkg.docspayTab.document_currency_tax_amount.delete;
Line: 5068

        iby_disburse_submit_pub_pkg.docspayTab.document_curr_charge_amount.delete;
Line: 5069

        iby_disburse_submit_pub_pkg.docspayTab.amount_withheld.delete;
Line: 5070

        iby_disburse_submit_pub_pkg.docspayTab.payment_curr_discount_taken.delete;
Line: 5071

        iby_disburse_submit_pub_pkg.docspayTab.discount_date.delete;
Line: 5072

        iby_disburse_submit_pub_pkg.docspayTab.payment_due_date.delete;
Line: 5073

        iby_disburse_submit_pub_pkg.docspayTab.payment_profile_id.delete;
Line: 5074

        iby_disburse_submit_pub_pkg.docspayTab.payment_id.delete;
Line: 5075

        iby_disburse_submit_pub_pkg.docspayTab.formatting_payment_id.delete;
Line: 5076

        iby_disburse_submit_pub_pkg.docspayTab.internal_bank_account_id.delete;
Line: 5077

        iby_disburse_submit_pub_pkg.docspayTab.external_bank_account_id.delete;
Line: 5078

        iby_disburse_submit_pub_pkg.docspayTab.bank_charge_bearer.delete;
Line: 5079

        iby_disburse_submit_pub_pkg.docspayTab.interest_rate.delete;
Line: 5080

        iby_disburse_submit_pub_pkg.docspayTab.payment_grouping_number.delete;
Line: 5081

        iby_disburse_submit_pub_pkg.docspayTab.payment_reason_code.delete;
Line: 5082

        iby_disburse_submit_pub_pkg.docspayTab.payment_reason_comments.delete;
Line: 5083

        iby_disburse_submit_pub_pkg.docspayTab.settlement_priority.delete;
Line: 5084

        iby_disburse_submit_pub_pkg.docspayTab.remittance_message1.delete;
Line: 5085

        iby_disburse_submit_pub_pkg.docspayTab.remittance_message2.delete;
Line: 5086

        iby_disburse_submit_pub_pkg.docspayTab.remittance_message3.delete;
Line: 5087

        iby_disburse_submit_pub_pkg.docspayTab.unique_remittance_identifier.delete;
Line: 5088

        iby_disburse_submit_pub_pkg.docspayTab.uri_check_digit.delete;
Line: 5089

        iby_disburse_submit_pub_pkg.docspayTab.delivery_channel_code.delete;
Line: 5090

        iby_disburse_submit_pub_pkg.docspayTab.payment_format_code.delete;
Line: 5091

        iby_disburse_submit_pub_pkg.docspayTab.document_sequence_id.delete;
Line: 5092

        iby_disburse_submit_pub_pkg.docspayTab.document_sequence_value.delete;
Line: 5093

        iby_disburse_submit_pub_pkg.docspayTab.document_category_code.delete;
Line: 5094

        iby_disburse_submit_pub_pkg.docspayTab.bank_assigned_ref_code.delete;
Line: 5095

        iby_disburse_submit_pub_pkg.docspayTab.remit_to_location_id.delete;
Line: 5096

        iby_disburse_submit_pub_pkg.docspayTab.completed_pmts_group_id.delete;
Line: 5097

        iby_disburse_submit_pub_pkg.docspayTab.rejected_docs_group_id.delete;
Line: 5098

        iby_disburse_submit_pub_pkg.docspayTab.attribute_category.delete;
Line: 5099

        iby_disburse_submit_pub_pkg.docspayTab.attribute1.delete;
Line: 5100

        iby_disburse_submit_pub_pkg.docspayTab.attribute2.delete;
Line: 5101

        iby_disburse_submit_pub_pkg.docspayTab.attribute3.delete;
Line: 5102

        iby_disburse_submit_pub_pkg.docspayTab.attribute4.delete;
Line: 5103

        iby_disburse_submit_pub_pkg.docspayTab.attribute5.delete;
Line: 5104

        iby_disburse_submit_pub_pkg.docspayTab.attribute6.delete;
Line: 5105

        iby_disburse_submit_pub_pkg.docspayTab.attribute7.delete;
Line: 5106

        iby_disburse_submit_pub_pkg.docspayTab.attribute8.delete;
Line: 5107

        iby_disburse_submit_pub_pkg.docspayTab.attribute9.delete;
Line: 5108

        iby_disburse_submit_pub_pkg.docspayTab.attribute10.delete;
Line: 5109

        iby_disburse_submit_pub_pkg.docspayTab.attribute11.delete;
Line: 5110

        iby_disburse_submit_pub_pkg.docspayTab.attribute12.delete;
Line: 5111

        iby_disburse_submit_pub_pkg.docspayTab.attribute13.delete;
Line: 5112

        iby_disburse_submit_pub_pkg.docspayTab.attribute14.delete;
Line: 5113

        iby_disburse_submit_pub_pkg.docspayTab.attribute15.delete;
Line: 5114

        iby_disburse_submit_pub_pkg.docspayTab.address_source.delete;
Line: 5115

        iby_disburse_submit_pub_pkg.docspayTab.employee_address_code.delete;
Line: 5116

        iby_disburse_submit_pub_pkg.docspayTab.employee_payment_flag.delete;
Line: 5117

        iby_disburse_submit_pub_pkg.docspayTab.employee_person_id.delete;
Line: 5118

        iby_disburse_submit_pub_pkg.docspayTab.employee_address_id.delete;
Line: 5119

        iby_disburse_submit_pub_pkg.docspayTab.bank_instruction1_code.delete;
Line: 5120

        iby_disburse_submit_pub_pkg.docspayTab.bank_instruction2_code.delete;
Line: 5121

        iby_disburse_submit_pub_pkg.docspayTab.payment_text_message1.delete;
Line: 5122

        iby_disburse_submit_pub_pkg.docspayTab.payment_text_message2.delete;
Line: 5123

        iby_disburse_submit_pub_pkg.docspayTab.payment_text_message3.delete;
Line: 5124

        iby_disburse_submit_pub_pkg.docspayTab.group_by_remittance_message.delete;
Line: 5125

        iby_disburse_submit_pub_pkg.docspayTab.group_by_bank_charge_bearer.delete;
Line: 5126

        iby_disburse_submit_pub_pkg.docspayTab.group_by_delivery_channel.delete;
Line: 5127

        iby_disburse_submit_pub_pkg.docspayTab.group_by_settle_priority_flag.delete;
Line: 5128

        iby_disburse_submit_pub_pkg.docspayTab.group_by_payment_details_flag.delete;
Line: 5129

        iby_disburse_submit_pub_pkg.docspayTab.payment_details_length_limit.delete;
Line: 5130

        iby_disburse_submit_pub_pkg.docspayTab.payment_details_formula.delete;
Line: 5131

        iby_disburse_submit_pub_pkg.docspayTab.group_by_max_documents_flag.delete;
Line: 5132

        iby_disburse_submit_pub_pkg.docspayTab.max_documents_per_payment.delete;
Line: 5133

        iby_disburse_submit_pub_pkg.docspayTab.group_by_unique_remit_id_flag.delete;
Line: 5134

        iby_disburse_submit_pub_pkg.docspayTab.group_by_payment_reason.delete;
Line: 5135

        iby_disburse_submit_pub_pkg.docspayTab.group_by_due_date_flag.delete;
Line: 5136

        iby_disburse_submit_pub_pkg.docspayTab.processing_type.delete;
Line: 5137

        iby_disburse_submit_pub_pkg.docspayTab.declaration_option.delete;
Line: 5138

        iby_disburse_submit_pub_pkg.docspayTab.dcl_only_foreign_curr_pmt_flag.delete;
Line: 5139

        iby_disburse_submit_pub_pkg.docspayTab.declaration_curr_fx_rate_type.delete;
Line: 5140

        iby_disburse_submit_pub_pkg.docspayTab.declaration_currency_code.delete;
Line: 5141

        iby_disburse_submit_pub_pkg.docspayTab.declaration_threshold_amount.delete;
Line: 5142

        iby_disburse_submit_pub_pkg.docspayTab.maximum_payment_amount.delete;
Line: 5143

        iby_disburse_submit_pub_pkg.docspayTab.minimum_payment_amount.delete;
Line: 5144

        iby_disburse_submit_pub_pkg.docspayTab.allow_zero_payments_flag.delete;
Line: 5145

        iby_disburse_submit_pub_pkg.docspayTab.support_bills_payable_flag.delete;
Line: 5146

        iby_disburse_submit_pub_pkg.docspayTab.iba_legal_entity_id.delete;
Line: 5147

        iby_disburse_submit_pub_pkg.docspayTab.int_bank_country_code.delete;
Line: 5148

        iby_disburse_submit_pub_pkg.docspayTab.ext_bank_country_code.delete;
Line: 5149

        iby_disburse_submit_pub_pkg.docspayTab.foreign_pmts_allowed_flag.delete;
Line: 5150

        iby_disburse_submit_pub_pkg.docspayTab.inv_payee_party_id.delete;
Line: 5151

        iby_disburse_submit_pub_pkg.docspayTab.inv_party_site_id.delete;
Line: 5152

        iby_disburse_submit_pub_pkg.docspayTab.inv_supplier_site_id.delete;
Line: 5153

        iby_disburse_submit_pub_pkg.docspayTab.inv_beneficiary_party.delete;
Line: 5154

        iby_disburse_submit_pub_pkg.docspayTab.ext_inv_payee_id.delete;
Line: 5155

        iby_disburse_submit_pub_pkg.docspayTab.relationship_id.delete;
Line: 5158

 END delete_docspayTab;