DBA Data[Home] [Help]

APPS.OKS_CHANGE_STATUS_PVT dependencies on FND_MESSAGE

Line 623: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_1');

619: -- Changing from 'Canceled' to 'Entered' Status
620: If p_old_ste_code ='CANCELLED' and p_new_ste_code = 'ENTERED' then
621: If target_exists(l_chr_id, p_cle_id) then
622: If Is_Entered(l_chr_id, p_cle_id) then
623: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_1');
624: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
625: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
626: fnd_msg_pub.add;
627: Raise FND_API.G_EXC_ERROR;

Line 624: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));

620: If p_old_ste_code ='CANCELLED' and p_new_ste_code = 'ENTERED' then
621: If target_exists(l_chr_id, p_cle_id) then
622: If Is_Entered(l_chr_id, p_cle_id) then
623: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_1');
624: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
625: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
626: fnd_msg_pub.add;
627: Raise FND_API.G_EXC_ERROR;
628: Elsif Is_Not_Entered_Cancelled(l_chr_id, p_cle_id) then

Line 625: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));

621: If target_exists(l_chr_id, p_cle_id) then
622: If Is_Entered(l_chr_id, p_cle_id) then
623: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_1');
624: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
625: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
626: fnd_msg_pub.add;
627: Raise FND_API.G_EXC_ERROR;
628: Elsif Is_Not_Entered_Cancelled(l_chr_id, p_cle_id) then
629: l_validate := 'N';

Line 630: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_2');

626: fnd_msg_pub.add;
627: Raise FND_API.G_EXC_ERROR;
628: Elsif Is_Not_Entered_Cancelled(l_chr_id, p_cle_id) then
629: l_validate := 'N';
630: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_2');
631: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
632: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
633: fnd_msg_pub.add;
634: Raise FND_API.G_EXC_ERROR;

Line 631: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));

627: Raise FND_API.G_EXC_ERROR;
628: Elsif Is_Not_Entered_Cancelled(l_chr_id, p_cle_id) then
629: l_validate := 'N';
630: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_2');
631: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
632: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
633: fnd_msg_pub.add;
634: Raise FND_API.G_EXC_ERROR;
635: Else

Line 632: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));

628: Elsif Is_Not_Entered_Cancelled(l_chr_id, p_cle_id) then
629: l_validate := 'N';
630: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_2');
631: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
632: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
633: fnd_msg_pub.add;
634: Raise FND_API.G_EXC_ERROR;
635: Else
636: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');

Line 636: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');

632: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
633: fnd_msg_pub.add;
634: Raise FND_API.G_EXC_ERROR;
635: Else
636: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');
637: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
638: fnd_msg_pub.add;
639: Raise OKC_API.G_EXC_WARNING;
640: End If; -- Is_entered

Line 637: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));

633: fnd_msg_pub.add;
634: Raise FND_API.G_EXC_ERROR;
635: Else
636: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');
637: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
638: fnd_msg_pub.add;
639: Raise OKC_API.G_EXC_WARNING;
640: End If; -- Is_entered
641: -- Even if any other target contract does not exist, the contract is still being resurrected

Line 643: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');

639: Raise OKC_API.G_EXC_WARNING;
640: End If; -- Is_entered
641: -- Even if any other target contract does not exist, the contract is still being resurrected
642: Else -- target_exists
643: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');
644: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id,p_cle_id));
645: fnd_msg_pub.add;
646: Raise OKC_API.G_EXC_WARNING;
647: End If; -- target_exists

Line 644: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id,p_cle_id));

640: End If; -- Is_entered
641: -- Even if any other target contract does not exist, the contract is still being resurrected
642: Else -- target_exists
643: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');
644: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id,p_cle_id));
645: fnd_msg_pub.add;
646: Raise OKC_API.G_EXC_WARNING;
647: End If; -- target_exists
648: End If; -- p_cancelled to entered

Line 1862: fnd_message.set_name('OKS','OKS_CHANGE_STAT_NOT_ALLOWED'); -- Add a message name here and throw a exception

1858: end if;
1859:
1860: /* skuchima bug12418261 */
1861: If ( p_old_ste_code = 'EXPIRED' AND l_new_ste_code <> 'EXPIRED' ) then
1862: fnd_message.set_name('OKS','OKS_CHANGE_STAT_NOT_ALLOWED'); -- Add a message name here and throw a exception
1863: fnd_msg_pub.add();
1864: raise FND_API.G_EXC_ERROR;
1865: end if;
1866:

Line 1926: FND_MESSAGE.set_name('OKS','OKS_CHANGE_STAT_NOT_ALLOWED'); -- set the message here

1922: END IF;
1923:
1924: WHEN NO_DATA_FOUND then
1925: x_return_status := FND_API.G_RET_STS_ERROR;
1926: FND_MESSAGE.set_name('OKS','OKS_CHANGE_STAT_NOT_ALLOWED'); -- set the message here
1927: fnd_msg_pub.add;
1928:
1929: IF (FND_LOG.LEVEL_EXCEPTION >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1930: FND_LOG.STRING( FND_LOG.LEVEL_EXCEPTION, G_MODULE||l_api_name,'510: Leaving OKS_CHANGE_STATUS_PVT : NO_DATA_FOUND');