DBA Data[Home] [Help]

APPS.OKS_CHANGE_STATUS_PVT dependencies on FND_MESSAGE

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

576: -- Changing from 'Canceled' to 'Entered' Status
577: If p_old_ste_code ='CANCELLED' and p_new_ste_code = 'ENTERED' then
578: If target_exists(l_chr_id, p_cle_id) then
579: If Is_Entered(l_chr_id, p_cle_id) then
580: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_1');
581: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
582: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
583: fnd_msg_pub.add;
584: Raise FND_API.G_EXC_ERROR;

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

577: If p_old_ste_code ='CANCELLED' and p_new_ste_code = 'ENTERED' then
578: If target_exists(l_chr_id, p_cle_id) then
579: If Is_Entered(l_chr_id, p_cle_id) then
580: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_1');
581: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
582: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
583: fnd_msg_pub.add;
584: Raise FND_API.G_EXC_ERROR;
585: Elsif Is_Not_Entered_Cancelled(l_chr_id, p_cle_id) then

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

578: If target_exists(l_chr_id, p_cle_id) then
579: If Is_Entered(l_chr_id, p_cle_id) then
580: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_1');
581: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
582: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
583: fnd_msg_pub.add;
584: Raise FND_API.G_EXC_ERROR;
585: Elsif Is_Not_Entered_Cancelled(l_chr_id, p_cle_id) then
586: l_validate := 'N';

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

583: fnd_msg_pub.add;
584: Raise FND_API.G_EXC_ERROR;
585: Elsif Is_Not_Entered_Cancelled(l_chr_id, p_cle_id) then
586: l_validate := 'N';
587: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_2');
588: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
589: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
590: fnd_msg_pub.add;
591: Raise FND_API.G_EXC_ERROR;

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

584: Raise FND_API.G_EXC_ERROR;
585: Elsif Is_Not_Entered_Cancelled(l_chr_id, p_cle_id) then
586: l_validate := 'N';
587: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_2');
588: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
589: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
590: fnd_msg_pub.add;
591: Raise FND_API.G_EXC_ERROR;
592: Else

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

585: Elsif Is_Not_Entered_Cancelled(l_chr_id, p_cle_id) then
586: l_validate := 'N';
587: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_2');
588: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
589: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
590: fnd_msg_pub.add;
591: Raise FND_API.G_EXC_ERROR;
592: Else
593: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');

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

589: fnd_message.set_token('RENEW_K',get_target_list(l_chr_id, p_cle_id));
590: fnd_msg_pub.add;
591: Raise FND_API.G_EXC_ERROR;
592: Else
593: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');
594: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
595: fnd_msg_pub.add;
596: Raise OKC_API.G_EXC_WARNING;
597: End If; -- Is_entered

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

590: fnd_msg_pub.add;
591: Raise FND_API.G_EXC_ERROR;
592: Else
593: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');
594: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id, p_cle_id));
595: fnd_msg_pub.add;
596: Raise OKC_API.G_EXC_WARNING;
597: End If; -- Is_entered
598: -- Even if any other target contract does not exist, the contract is still being resurrected

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

596: Raise OKC_API.G_EXC_WARNING;
597: End If; -- Is_entered
598: -- Even if any other target contract does not exist, the contract is still being resurrected
599: Else -- target_exists
600: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');
601: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id,p_cle_id));
602: fnd_msg_pub.add;
603: Raise OKC_API.G_EXC_WARNING;
604: End If; -- target_exists

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

597: End If; -- Is_entered
598: -- Even if any other target contract does not exist, the contract is still being resurrected
599: Else -- target_exists
600: fnd_message.set_name('OKC', 'OKC_CONT_CAN_ENT_3');
601: fnd_message.set_token('PARENT_K',get_source_list(l_chr_id,p_cle_id));
602: fnd_msg_pub.add;
603: Raise OKC_API.G_EXC_WARNING;
604: End If; -- target_exists
605: End If; -- p_cancelled to entered

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

1792: l_old_ste_code :=p_old_ste_code;
1793: end if;
1794:
1795: If (p_old_ste_code = 'EXPIRED') then
1796: fnd_message.set_name('OKS','OKS_CHANGE_STAT_NOT_ALLOWED'); -- Add a message name here and throw a exception
1797: fnd_msg_pub.add();
1798: raise FND_API.G_EXC_ERROR;
1799: end if;
1800:

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

1866: END IF;
1867:
1868: WHEN NO_DATA_FOUND then
1869: x_return_status := FND_API.G_RET_STS_ERROR;
1870: FND_MESSAGE.set_name('OKS','OKS_CHANGE_STAT_NOT_ALLOWED'); -- set the message here
1871: fnd_msg_pub.add;
1872:
1873: IF (FND_LOG.LEVEL_EXCEPTION >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1874: FND_LOG.STRING( FND_LOG.LEVEL_EXCEPTION, G_MODULE||l_api_name,'510: Leaving OKS_CHANGE_STATUS_PVT : NO_DATA_FOUND');