7350: -- succeeds). Therefore, in this flow, failing to convert is not really an expected error
7351: -- suitable to be added to the fnd error stack. Hence checking the value of
7352: -- p_add_error_msg_flag before adding this error to the error stack.
7353: THEN
7354: FND_MESSAGE.SET_NAME('PA','PA_API_CONV_ERROR_AMG'); -- Bug 2257612
7355: FND_MESSAGE.SET_TOKEN('ATTR_NAME','Pm Task Assignment Reference');
7356: FND_MESSAGE.SET_TOKEN('ATTR_VALUE',p_pm_task_asgmt_reference);
7357: FND_MSG_PUB.add;
7358:
7351: -- suitable to be added to the fnd error stack. Hence checking the value of
7352: -- p_add_error_msg_flag before adding this error to the error stack.
7353: THEN
7354: FND_MESSAGE.SET_NAME('PA','PA_API_CONV_ERROR_AMG'); -- Bug 2257612
7355: FND_MESSAGE.SET_TOKEN('ATTR_NAME','Pm Task Assignment Reference');
7356: FND_MESSAGE.SET_TOKEN('ATTR_VALUE',p_pm_task_asgmt_reference);
7357: FND_MSG_PUB.add;
7358:
7359: RAISE FND_API.G_EXC_ERROR;
7352: -- p_add_error_msg_flag before adding this error to the error stack.
7353: THEN
7354: FND_MESSAGE.SET_NAME('PA','PA_API_CONV_ERROR_AMG'); -- Bug 2257612
7355: FND_MESSAGE.SET_TOKEN('ATTR_NAME','Pm Task Assignment Reference');
7356: FND_MESSAGE.SET_TOKEN('ATTR_VALUE',p_pm_task_asgmt_reference);
7357: FND_MSG_PUB.add;
7358:
7359: RAISE FND_API.G_EXC_ERROR;
7360:
7388:
7389: IF FND_MSG_PUB.check_msg_level (FND_MSG_PUB.G_MSG_LVL_ERROR)
7390: AND p_add_error_msg_flag = 'Y' -- Bug 3937017
7391: THEN
7392: FND_MESSAGE.SET_NAME('PA','PA_API_CONV_ERROR_AMG'); -- Bug 2257612
7393: FND_MESSAGE.SET_TOKEN('ATTR_NAME','Pm Task Assignment Reference');
7394: FND_MESSAGE.SET_TOKEN('ATTR_VALUE',p_pm_task_asgmt_reference);
7395: FND_MSG_PUB.add;
7396:
7389: IF FND_MSG_PUB.check_msg_level (FND_MSG_PUB.G_MSG_LVL_ERROR)
7390: AND p_add_error_msg_flag = 'Y' -- Bug 3937017
7391: THEN
7392: FND_MESSAGE.SET_NAME('PA','PA_API_CONV_ERROR_AMG'); -- Bug 2257612
7393: FND_MESSAGE.SET_TOKEN('ATTR_NAME','Pm Task Assignment Reference');
7394: FND_MESSAGE.SET_TOKEN('ATTR_VALUE',p_pm_task_asgmt_reference);
7395: FND_MSG_PUB.add;
7396:
7397: RAISE FND_API.G_EXC_ERROR;
7390: AND p_add_error_msg_flag = 'Y' -- Bug 3937017
7391: THEN
7392: FND_MESSAGE.SET_NAME('PA','PA_API_CONV_ERROR_AMG'); -- Bug 2257612
7393: FND_MESSAGE.SET_TOKEN('ATTR_NAME','Pm Task Assignment Reference');
7394: FND_MESSAGE.SET_TOKEN('ATTR_VALUE',p_pm_task_asgmt_reference);
7395: FND_MSG_PUB.add;
7396:
7397: RAISE FND_API.G_EXC_ERROR;
7398: