DBA Data[Home] [Help]

APPS.CSI_T_TXN_OUS_PVT SQL Statements

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

Line: 118

    SELECT decode(nvl(p_txn_org_assgn_rec.preserve_detail_flag,fnd_api.g_miss_char),
             fnd_api.g_miss_char, 'Y', p_txn_org_assgn_rec.preserve_detail_flag)
    INTO   l_preserve_detail_flag
    FROM   sys.dual;
Line: 134

        p_api_name => 'insert_row',
        p_pkg_name => 'csi_t_org_assignments_pkg');
Line: 137

      csi_t_org_assignments_pkg.insert_row(
        px_txn_operating_unit_id => l_txn_operating_unit_id,
        p_txn_line_detail_id     => p_txn_org_assgn_rec.txn_line_detail_id,
        p_operating_unit_id      => p_txn_org_assgn_rec.operating_unit_id,
        p_relationship_type_code => p_txn_org_assgn_rec.relationship_type_code,
        p_active_start_date      => p_txn_org_assgn_rec.active_start_date,
        p_active_end_date        => p_txn_org_assgn_rec.active_end_date,
        p_preserve_detail_flag   => l_preserve_detail_flag,
        p_instance_ou_id         => p_txn_org_assgn_rec.instance_ou_id,
        p_attribute1             => p_txn_org_assgn_rec.attribute1,
        p_attribute2             => p_txn_org_assgn_rec.attribute2,
        p_attribute3             => p_txn_org_assgn_rec.attribute3,
        p_attribute4             => p_txn_org_assgn_rec.attribute4,
        p_attribute5             => p_txn_org_assgn_rec.attribute5,
        p_attribute6             => p_txn_org_assgn_rec.attribute6,
        p_attribute7             => p_txn_org_assgn_rec.attribute7,
        p_attribute8             => p_txn_org_assgn_rec.attribute8,
        p_attribute9             => p_txn_org_assgn_rec.attribute9,
        p_attribute10            => p_txn_org_assgn_rec.attribute10,
        p_attribute11            => p_txn_org_assgn_rec.attribute11,
        p_attribute12            => p_txn_org_assgn_rec.attribute12,
        p_attribute13            => p_txn_org_assgn_rec.attribute13,
        p_attribute14            => p_txn_org_assgn_rec.attribute14,
        p_attribute15            => p_txn_org_assgn_rec.attribute15,
        p_created_by             => g_user_id,
        p_creation_date          => sysdate,
        p_last_updated_by        => g_user_id,
        p_last_update_date       => sysdate,
        p_last_update_login      => g_login_id,
        p_object_version_number  => 1.0,
        p_context                => p_txn_org_assgn_rec.context);
Line: 173

           'csi_t_org_assignments_pkg.insert_row Failed. '||substr(sqlerrm,1,200));
Line: 232

  PROCEDURE update_txn_org_assgn_dtls(
     p_api_version            IN  NUMBER
    ,p_commit                 IN  VARCHAR2 := fnd_api.g_false
    ,p_init_msg_list          IN  VARCHAR2 := fnd_api.g_false
    ,p_validation_level       IN  NUMBER   := fnd_api.g_valid_level_full
    ,p_txn_org_assgn_tbl      IN  csi_t_datastructures_grp.txn_org_assgn_tbl
    ,x_return_status          OUT NOCOPY VARCHAR2
    ,x_msg_count              OUT NOCOPY NUMBER
    ,x_msg_data               OUT NOCOPY VARCHAR2)
  IS

    l_api_name       CONSTANT VARCHAR2(30)  := 'update_txn_org_assgn_dtls';
Line: 253

      SELECT *
      FROM   csi_t_org_assignments
      WHERE  txn_operating_unit_id = l_txn_ou_id;
Line: 260

    SAVEPOINT update_txn_org_assgn_dtls;
Line: 421

          l_ou_rec.last_updated_by       := g_user_id;
Line: 422

          l_ou_rec.last_update_date      := sysdate;
Line: 423

          l_ou_rec.last_update_login     := g_login_id;
Line: 432

              p_api_name => 'update_row');
Line: 434

            csi_t_org_assignments_pkg.update_row(
              p_txn_operating_unit_id => l_ou_rec.txn_operating_unit_id,
              p_txn_line_detail_id    => l_ou_rec.txn_line_detail_id,
              p_operating_unit_id     => l_ou_rec.operating_unit_id,
              p_relationship_type_code=> l_ou_rec.relationship_type_code,
              p_active_start_date     => l_ou_rec.active_start_date,
              p_active_end_date       => l_ou_rec.active_end_date,
              p_preserve_detail_flag  => l_ou_rec.preserve_detail_flag,
              p_instance_ou_id        => l_ou_rec.instance_ou_id,
              p_attribute1            => l_ou_rec.attribute1,
              p_attribute2            => l_ou_rec.attribute2,
              p_attribute3            => l_ou_rec.attribute3,
              p_attribute4            => l_ou_rec.attribute4,
              p_attribute5            => l_ou_rec.attribute5,
              p_attribute6            => l_ou_rec.attribute6,
              p_attribute7            => l_ou_rec.attribute7,
              p_attribute8            => l_ou_rec.attribute8,
              p_attribute9            => l_ou_rec.attribute9,
              p_attribute10           => l_ou_rec.attribute10,
              p_attribute11           => l_ou_rec.attribute11,
              p_attribute12           => l_ou_rec.attribute12,
              p_attribute13           => l_ou_rec.attribute13,
              p_attribute14           => l_ou_rec.attribute14,
              p_attribute15           => l_ou_rec.attribute15,
              p_created_by            => l_ou_rec.created_by,
              p_creation_date         => l_ou_rec.creation_date,
              p_last_updated_by       => l_ou_rec.last_updated_by,
              p_last_update_date      => l_ou_rec.last_update_date,
              p_last_update_login     => l_ou_rec.last_update_login,
              p_object_version_number => l_ou_rec.object_version_number,
              p_context               => l_ou_rec.context);
Line: 470

                 'csi_t_org_assignments_pkg.update_row failed. '||substr(sqlerrm,1,200));
Line: 493

      ROLLBACK TO update_txn_org_assgn_dtls;
Line: 501

      ROLLBACK TO update_txn_org_assgn_dtls;
Line: 510

      ROLLBACK TO update_txn_org_assgn_dtls;
Line: 526

  END update_txn_org_assgn_dtls;
Line: 528

  PROCEDURE delete_txn_org_assgn_dtls(
     p_api_version           IN  NUMBER
    ,p_commit                IN  VARCHAR2 := fnd_api.g_false
    ,p_init_msg_list         IN  VARCHAR2 := fnd_api.g_false
    ,p_validation_level      IN  NUMBER   := fnd_api.g_valid_level_full
    ,p_txn_org_assgn_ids_tbl IN  csi_t_datastructures_grp.txn_org_assgn_ids_tbl
    ,x_return_status         OUT NOCOPY VARCHAR2
    ,x_msg_count             OUT NOCOPY NUMBER
    ,x_msg_data              OUT NOCOPY VARCHAR2)
  IS

    l_api_name       CONSTANT VARCHAR2(30)  := 'delete_txn_org_assgn_dtls';
Line: 548

      SELECT txn_operating_unit_id
      FROM   csi_t_org_assignments
      WHERE  txn_line_detail_id = p_line_dtl_id;
Line: 555

    SAVEPOINT delete_txn_org_assgn_dtls;
Line: 617

            p_api_name => 'delete_row',
            p_pkg_name => 'csi_t_org_assignments_pkg');
Line: 620

          csi_t_org_assignments_pkg.delete_row(
            p_txn_operating_unit_id => l_txn_ou_id);
Line: 650

              p_api_name => 'delete_row',
              p_pkg_name => 'csi_t_org_assignments_pkg');
Line: 653

            csi_t_org_assignments_pkg.delete_row(
              p_txn_operating_unit_id => ou_rec.txn_operating_unit_id);
Line: 677

      ROLLBACK TO delete_txn_org_assgn_dtls;
Line: 685

      ROLLBACK TO delete_txn_org_assgn_dtls;
Line: 694

      ROLLBACK TO delete_txn_org_assgn_dtls;
Line: 710

  END delete_txn_org_assgn_dtls;
Line: 718

    l_select_stmt      varchar2(2000);
Line: 726

    l_select_stmt :=
     'select txn_operating_unit_id, txn_line_detail_id, instance_ou_id, '||
     ' operating_unit_id, relationship_type_code, active_start_date, active_end_date, '||
     ' preserve_detail_flag, context, attribute1, attribute2, attribute3, attribute4, '||
     ' attribute5, attribute6, attribute7, attribute8, attribute9, attribute10, '||
     ' attribute11, attribute12, attribute13, attribute14, attribute15, object_version_number '||
     'from   csi_t_org_assignments '||
     'where txn_line_detail_id = :line_dtl_id';
Line: 737

    dbms_sql.parse(l_oa_cur_id, l_select_stmt , dbms_sql.native);
Line: 827

        l_tmp_oa_tbl.delete;