The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT pv_ge_party_notifications_s.NEXTVAL
FROM dual;
SELECT 1
FROM PV_GE_PARTY_NOTIFICATIONS
WHERE party_notification_id = l_id;
Pv_Ge_Party_Notif_Pkg.Insert_Row(
px_party_notification_id => l_party_notification_id,
p_notification_id => p_pgp_notif_rec.notification_id,
px_object_version_number => l_object_version_number,
p_partner_id => p_pgp_notif_rec.partner_id,
p_recipient_user_id => p_pgp_notif_rec.recipient_user_id,
p_notif_for_entity_id => p_pgp_notif_rec.notif_for_entity_id,
p_arc_notif_for_entity_code => p_pgp_notif_rec.arc_notif_for_entity_code,
p_notif_type_code => p_pgp_notif_rec.notif_type_code,
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
);
PROCEDURE Update_Ge_Party_Notif(
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_pgp_notif_rec IN pgp_notif_rec_type
)
IS
CURSOR c_get_ge_party_notif(party_notification_id NUMBER) IS
SELECT *
FROM PV_GE_PARTY_NOTIFICATIONS
WHERE party_notification_id = p_pgp_notif_rec.party_notification_id;
L_API_NAME CONSTANT VARCHAR2(30) := 'Update_Ge_Party_Notif';
SAVEPOINT update_ge_party_notif_pvt;
PVX_UTILITY_PVT.debug_message('Private API: - Open Cursor to Select');
PVX_UTILITY_PVT.Error_Message(p_message_name => 'API_MISSING_UPDATE_TARGET',
p_token_name => 'INFO',
p_token_value => 'Ge_Party_Notif') ;
p_token_value => 'Last_Update_Date') ;
p_validation_mode => JTF_PLSQL_API.g_update,
p_pgp_notif_rec => p_pgp_notif_rec,
x_return_status => x_return_status,
x_msg_count => x_msg_count,
x_msg_data => x_msg_data);
PVX_UTILITY_PVT.debug_message('Private API: Calling update table handler');
Pv_Ge_Party_Notif_Pkg.Update_Row(
p_party_notification_id => p_pgp_notif_rec.party_notification_id,
p_notification_id => p_pgp_notif_rec.notification_id,
p_object_version_number => p_pgp_notif_rec.object_version_number,
p_partner_id => p_pgp_notif_rec.partner_id,
p_recipient_user_id => p_pgp_notif_rec.recipient_user_id,
p_notif_for_entity_id => p_pgp_notif_rec.notif_for_entity_id,
p_arc_notif_for_entity_code => p_pgp_notif_rec.arc_notif_for_entity_code,
p_notif_type_code => p_pgp_notif_rec.notif_type_code,
p_last_updated_by => FND_GLOBAL.USER_ID,
p_last_update_date => SYSDATE,
p_last_update_login => FND_GLOBAL.conc_login_id
);
ROLLBACK TO UPDATE_Ge_Party_Notif_PVT;
ROLLBACK TO UPDATE_Ge_Party_Notif_PVT;
ROLLBACK TO UPDATE_Ge_Party_Notif_PVT;
End Update_Ge_Party_Notif;
PROCEDURE Delete_Ge_Party_Notif(
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_party_notification_id IN NUMBER,
p_object_version_number IN NUMBER
)
IS
L_API_NAME CONSTANT VARCHAR2(30) := 'Delete_Ge_Party_Notif';
SAVEPOINT delete_ge_party_notif_pvt;
PVX_UTILITY_PVT.debug_message( 'Private API: Calling delete table handler');
Pv_Ge_Party_Notif_Pkg.Delete_Row(
p_party_notification_id => p_party_notification_id,
p_object_version_number => p_object_version_number );
ROLLBACK TO DELETE_Ge_Party_Notif_PVT;
ROLLBACK TO DELETE_Ge_Party_Notif_PVT;
ROLLBACK TO DELETE_Ge_Party_Notif_PVT;
End Delete_Ge_Party_Notif;
SELECT *
FROM pv_ge_party_notifications
WHERE party_notification_id = p_pgp_notif_rec.party_notification_id;
IF p_pgp_notif_rec.last_updated_by IS NULL THEN
x_complete_rec.last_updated_by := l_pgp_notif_rec.last_updated_by;
IF p_pgp_notif_rec.last_update_date IS NULL THEN
x_complete_rec.last_update_date := l_pgp_notif_rec.last_update_date;
IF p_pgp_notif_rec.last_update_login IS NULL THEN
x_complete_rec.last_update_login := l_pgp_notif_rec.last_update_login;