DBA Data[Home] [Help]

APPS.PV_GE_NOTIF_RULES_PVT SQL Statements

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

Line: 103

      SELECT pv_ge_notif_rules_b_s.NEXTVAL
      FROM dual;
Line: 107

      SELECT 1
      FROM PV_GE_NOTIF_RULES_B
      WHERE notif_rule_id = l_id;
Line: 189

           l_ge_notif_rules_rec.last_update_date      := SYSDATE;
Line: 190

           l_ge_notif_rules_rec.last_updated_by       := FND_GLOBAL.user_id;
Line: 193

           l_ge_notif_rules_rec.last_update_login     := FND_GLOBAL.conc_login_id;
Line: 227

      Pv_Ge_Notif_Rules_Pkg.Insert_Row(
          --px_notif_rule_id  => l_notif_rule_id,
	  --Anubhav added
	  px_notif_rule_id  => l_ge_notif_rules_rec.notif_rule_id,
	  --Anubhav added ends
          px_object_version_number  => l_object_version_number,
          p_arc_notif_for_entity_code  => p_ge_notif_rules_rec.arc_notif_for_entity_code,
          p_notif_for_entity_id  => p_ge_notif_rules_rec.notif_for_entity_id,
          p_wf_item_type_code  => p_ge_notif_rules_rec.wf_item_type_code,
          p_notif_type_code  => p_ge_notif_rules_rec.notif_type_code,
          p_active_flag  => p_ge_notif_rules_rec.active_flag,
          p_repeat_freq_unit  => p_ge_notif_rules_rec.repeat_freq_unit,
          p_repeat_freq_value  => p_ge_notif_rules_rec.repeat_freq_value,
          p_send_notif_before_unit  => p_ge_notif_rules_rec.send_notif_before_unit,
          p_send_notif_before_value  => p_ge_notif_rules_rec.send_notif_before_value,
          p_send_notif_after_unit  => p_ge_notif_rules_rec.send_notif_after_unit,
          p_send_notif_after_value  => p_ge_notif_rules_rec.send_notif_after_value,
          p_repeat_until_unit  => p_ge_notif_rules_rec.repeat_until_unit,
          p_repeat_until_value  => p_ge_notif_rules_rec.repeat_until_value,
          p_created_by  => FND_GLOBAL.USER_ID,
          p_creation_date  => SYSDATE,
          p_last_updated_by  => FND_GLOBAL.USER_ID,
          p_last_update_date  => SYSDATE,
          p_last_update_login  => FND_GLOBAL.conc_login_id,
          p_notif_name  => p_ge_notif_rules_rec.notif_name,
          p_notif_content  => p_ge_notif_rules_rec.notif_content,
          p_notif_desc  => p_ge_notif_rules_rec.notif_desc
);
Line: 349

      SELECT  wf_item_type_code, notif_type_code,  active_flag, repeat_freq_unit, repeat_freq_value,
	send_notif_before_unit, send_notif_before_value, send_notif_after_unit, send_notif_after_value,
	repeat_until_unit, repeat_until_value
      FROM    pv_ge_notif_rules_b
      WHERE   arc_notif_for_entity_code = 'PRGM'
      AND notif_for_entity_id = cv_program_id
      order by notif_rule_id;
Line: 358

      SELECT  tl.notif_rule_id, notif_name, notif_content, notif_desc, language, source_lang
      FROM     pv_ge_notif_rules_b b, pv_ge_notif_rules_tl tl
      WHERE   arc_notif_for_entity_code = 'PRGM'
      and b.notif_rule_id = tl.notif_rule_id
      AND notif_for_entity_id = cv_program_id
      order by tl.notif_rule_id;
Line: 366

      SELECT  NOTIF_RULE_ID
      FROM    pv_ge_notif_rules_b
      WHERE   arc_notif_for_entity_code = 'PRGM'
      AND notif_for_entity_id = cv_program_id;
Line: 451

      PVX_UTILITY_PVT.debug_message('Private API: ' || l_api_name || ' : insert into b table');
Line: 455

      update pv_ge_notif_rules_b
      set  wf_item_type_code = wf_item_type_code_array(i),
	   notif_type_code = notif_type_code_array(i),
	   active_flag = active_flag_array(i),
	   repeat_freq_unit = repeat_freq_unit_array(i),
	   repeat_freq_value = repeat_freq_value_array(i),
	   send_notif_before_unit = send_notif_before_unit_array(i),
	   send_notif_before_value = send_notif_before_value_array(i),
	   send_notif_after_unit = send_notif_after_unit_array(i),
	   send_notif_after_value = send_notif_after_value_array(i),
	   repeat_until_unit = repeat_until_unit_array(i),
	   repeat_until_value = repeat_until_value_array(i),
           object_version_number = object_version_number + 1,
           last_updated_by = FND_GLOBAL.USER_ID,
           last_update_date = sysdate,
           last_update_login = FND_GLOBAL.CONC_LOGIN_ID
      where notif_rule_id = notif_rule_id_array(i);
Line: 498

      update pv_ge_notif_rules_tl
      set  notif_name = notif_name_array(i),
	   notif_content = notif_content_array(i),
	   notif_desc = notif_desc_array(i),
	   source_lang = source_lang_array(i),
           last_updated_by = FND_GLOBAL.USER_ID,
           last_update_date = sysdate,
           last_update_login = FND_GLOBAL.CONC_LOGIN_ID
      where notif_rule_id = new_notif_rule_id_array(i)
      and   language = language_array(i);
Line: 600

PROCEDURE Update_Ge_Notif_Rules(
    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_ge_notif_rules_rec               IN    ge_notif_rules_rec_type
    )

 IS


CURSOR c_get_ge_notif_rules(notif_rule_id NUMBER) IS
    SELECT *
    FROM  PV_GE_NOTIF_RULES_B
    WHERE  notif_rule_id = p_ge_notif_rules_rec.notif_rule_id;
Line: 623

L_API_NAME                  CONSTANT VARCHAR2(30) := 'Update_Ge_Notif_Rules';
Line: 634

      SAVEPOINT update_ge_notif_rules_pvt;
Line: 668

      PVX_UTILITY_PVT.debug_message('Private API: - Open Cursor to Select');
Line: 676

  PVX_UTILITY_PVT.Error_Message(p_message_name => 'API_MISSING_UPDATE_TARGET',
   p_token_name   => 'INFO',
 p_token_value  => 'Ge_Notif_Rules') ;
Line: 693

 p_token_value  => 'Last_Update_Date') ;
Line: 718

            p_validation_mode => JTF_PLSQL_API.g_update,
            p_ge_notif_rules_rec  =>  p_ge_notif_rules_rec,
            x_return_status    => x_return_status,
            x_msg_count        => x_msg_count,
            x_msg_data         => x_msg_data);
Line: 734

      Pv_Ge_Notif_Rules_Pkg.Update_Row(
          p_notif_rule_id  => p_ge_notif_rules_rec.notif_rule_id,
          p_object_version_number  => p_ge_notif_rules_rec.object_version_number,
          p_arc_notif_for_entity_code  => p_ge_notif_rules_rec.arc_notif_for_entity_code,
          p_notif_for_entity_id  => p_ge_notif_rules_rec.notif_for_entity_id,
          p_wf_item_type_code  => p_ge_notif_rules_rec.wf_item_type_code,
          p_notif_type_code  => p_ge_notif_rules_rec.notif_type_code,
          p_active_flag  => p_ge_notif_rules_rec.active_flag,
          p_repeat_freq_unit  => p_ge_notif_rules_rec.repeat_freq_unit,
          p_repeat_freq_value  => p_ge_notif_rules_rec.repeat_freq_value,
          p_send_notif_before_unit  => p_ge_notif_rules_rec.send_notif_before_unit,
          p_send_notif_before_value  => p_ge_notif_rules_rec.send_notif_before_value,
          p_send_notif_after_unit  => p_ge_notif_rules_rec.send_notif_after_unit,
          p_send_notif_after_value  => p_ge_notif_rules_rec.send_notif_after_value,
          p_repeat_until_unit  => p_ge_notif_rules_rec.repeat_until_unit,
          p_repeat_until_value  => p_ge_notif_rules_rec.repeat_until_value,
          p_last_updated_by  => FND_GLOBAL.USER_ID,
          p_last_update_date  => SYSDATE,
          p_last_update_login  => FND_GLOBAL.conc_login_id,
          p_notif_name  => p_ge_notif_rules_rec.notif_name,
          p_notif_content  => p_ge_notif_rules_rec.notif_content,
          p_notif_desc  => p_ge_notif_rules_rec.notif_desc
);
Line: 787

     ROLLBACK TO UPDATE_Ge_Notif_Rules_PVT;
Line: 797

     ROLLBACK TO UPDATE_Ge_Notif_Rules_PVT;
Line: 807

     ROLLBACK TO UPDATE_Ge_Notif_Rules_PVT;
Line: 819

End Update_Ge_Notif_Rules;
Line: 856

PROCEDURE Delete_Ge_Notif_Rules(
    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_notif_rule_id                   IN  NUMBER,
    p_object_version_number      IN   NUMBER
    )

 IS
L_API_NAME                  CONSTANT VARCHAR2(30) := 'Delete_Ge_Notif_Rules';
Line: 875

      SAVEPOINT delete_ge_notif_rules_pvt;
Line: 912

      PVX_UTILITY_PVT.debug_message( 'Private API: Calling delete table handler');
Line: 916

      Pv_Ge_Notif_Rules_Pkg.Delete_Row(
          p_notif_rule_id  => p_notif_rule_id,
          p_object_version_number => p_object_version_number     );
Line: 949

     ROLLBACK TO DELETE_Ge_Notif_Rules_PVT;
Line: 959

     ROLLBACK TO DELETE_Ge_Notif_Rules_PVT;
Line: 969

     ROLLBACK TO DELETE_Ge_Notif_Rules_PVT;
Line: 981

End Delete_Ge_Notif_Rules;
Line: 1333

      SELECT *
      FROM pv_ge_notif_rules_b
      WHERE notif_rule_id = p_ge_notif_rules_rec.notif_rule_id;
Line: 1431

   IF p_ge_notif_rules_rec.last_updated_by IS NULL THEN
      x_complete_rec.last_updated_by := l_ge_notif_rules_rec.last_updated_by;
Line: 1436

   IF p_ge_notif_rules_rec.last_update_date IS NULL THEN
      x_complete_rec.last_update_date := l_ge_notif_rules_rec.last_update_date;
Line: 1441

   IF p_ge_notif_rules_rec.last_update_login IS NULL THEN
      x_complete_rec.last_update_login := l_ge_notif_rules_rec.last_update_login;