DBA Data[Home] [Help]

APPS.AMS_DMPERFORMANCE_PVT SQL Statements

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

Line: 57

      SELECT AMS_DM_PERFORMANCE_s.NEXTVAL
      FROM dual;
Line: 61

      SELECT 1 FROM dual
      WHERE EXISTS (SELECT 1 FROM AMS_DM_PERFORMANCE
                    WHERE PERFORMANCE_ID = l_id);
Line: 146

      AMS_DM_PERFORMANCE_PKG.Insert_Row(
          px_performance_id  => l_performance_id,
          p_last_update_date  => SYSDATE,
          p_last_updated_by  => FND_GLOBAL.USER_ID,
          p_creation_date  => SYSDATE,
          p_created_by  => FND_GLOBAL.USER_ID,
          p_last_update_login  => FND_GLOBAL.CONC_LOGIN_ID,
          px_object_version_number  => l_object_version_number,
          p_predicted_value  => p_performance_rec.predicted_value,
          p_actual_value  => p_performance_rec.actual_value,
          p_evaluated_records  => p_performance_rec.evaluated_records,
          p_total_records_predicted  => p_performance_rec.total_records_predicted,
          p_model_id  => p_performance_rec.model_id);
Line: 231

PROCEDURE Update_Performance(
    p_api_version_number         IN   NUMBER,
    p_init_msg_list              IN   VARCHAR2     := FND_API.G_FALSE,
    p_commit                     IN   VARCHAR2     := FND_API.G_FALSE,
    p_validation_level           IN  NUMBER       := FND_API.G_VALID_LEVEL_FULL,

    x_return_status              OUT NOCOPY  VARCHAR2,
    x_msg_count                  OUT NOCOPY  NUMBER,
    x_msg_data                   OUT NOCOPY  VARCHAR2,

    p_performance_rec               IN    performance_rec_type,
    x_object_version_number      OUT NOCOPY  NUMBER
)
IS
   L_API_NAME                  CONSTANT VARCHAR2(30) := 'Update_Performance';
Line: 254

      SELECT *
      FROM  AMS_DM_PERFORMANCE
      WHERE performance_id = p_performance_id;
Line: 260

      SAVEPOINT Update_Performance_PVT;
Line: 290

      AMS_UTILITY_PVT.debug_message('Private API: - Open Cursor to Select');
Line: 300

               FND_MESSAGE.Set_Name('AMS', 'API_MISSING_UPDATE_TARGET');
Line: 336

            p_validation_mode    => JTF_PLSQL_API.g_update,
            p_performance_rec    =>  p_performance_rec,
            x_return_status      => x_return_status,
            x_msg_count          => x_msg_count,
            x_msg_data           => x_msg_data);
Line: 351

      AMS_UTILITY_PVT.debug_message(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW, 'Private API: Calling update table handler');
Line: 355

      AMS_DM_PERFORMANCE_PKG.Update_Row(
          p_performance_id  => p_performance_rec.performance_id,
          p_last_update_date  => SYSDATE,
          p_last_updated_by  => FND_GLOBAL.USER_ID,
          p_creation_date  => SYSDATE,
          p_created_by  => l_ref_performance_rec.created_by,
          p_last_update_login  => FND_GLOBAL.CONC_LOGIN_ID,
          p_object_version_number  => p_performance_rec.object_version_number + 1,
          p_predicted_value  => p_performance_rec.predicted_value,
          p_actual_value  => p_performance_rec.actual_value,
          p_evaluated_records  => p_performance_rec.evaluated_records,
          p_total_records_predicted  => p_performance_rec.total_records_predicted,
          p_model_id  => p_performance_rec.model_id
      );
Line: 402

     ROLLBACK TO Update_Performance_PVT;
Line: 412

     ROLLBACK TO Update_Performance_PVT;
Line: 422

     ROLLBACK TO Update_Performance_PVT;
Line: 434

End Update_Performance;
Line: 437

PROCEDURE Delete_Performance(
    p_api_version_number         IN   NUMBER,
    p_init_msg_list              IN   VARCHAR2     := FND_API.G_FALSE,
    p_commit                     IN   VARCHAR2     := FND_API.G_FALSE,
    p_validation_level           IN   NUMBER       := FND_API.G_VALID_LEVEL_FULL,
    x_return_status              OUT NOCOPY  VARCHAR2,
    x_msg_count                  OUT NOCOPY  NUMBER,
    x_msg_data                   OUT NOCOPY  VARCHAR2,
    p_performance_id                   IN  NUMBER,
    p_object_version_number      IN   NUMBER
    )

 IS
L_API_NAME                  CONSTANT VARCHAR2(30) := 'Delete_Performance';
Line: 456

      SAVEPOINT Delete_Performance_PVT;
Line: 489

      AMS_UTILITY_PVT.debug_message( 'Private API: Calling delete table handler');
Line: 493

      AMS_DM_PERFORMANCE_PKG.Delete_Row(
          p_PERFORMANCE_ID  => p_PERFORMANCE_ID);
Line: 527

     ROLLBACK TO Delete_Performance_PVT;
Line: 537

     ROLLBACK TO Delete_Performance_PVT;
Line: 547

     ROLLBACK TO Delete_Performance_PVT;
Line: 559

End Delete_Performance;
Line: 583

   SELECT PERFORMANCE_ID
   FROM AMS_DM_PERFORMANCE
   WHERE PERFORMANCE_ID = p_PERFORMANCE_ID
   AND object_version_number = p_object_version
   FOR UPDATE NOWAIT;
Line: 1078

      SELECT perf.predicted_value
            , perf. actual_value
            , perf.evaluated_records
            , model.target_positive_value
      FROM ams_dm_performance perf
            , ams_dm_models_all_b model
      WHERE model.model_id = p_model_id
         AND perf.model_id = p_model_id;