3127: END IF;
3128:
3129: --basic input validation
3130: IF(p_chr_id IS NULL) THEN
3131: FND_MESSAGE.set_name(G_APP_NAME, 'OKS_MANDATORY_ARG');
3132: FND_MESSAGE.set_token('ARG_NAME', 'p_chr_id');
3133: FND_MESSAGE.set_token('PROG_NAME', G_PKG_NAME || '.' || l_api_name);
3134: IF (FND_LOG.level_error >= FND_LOG.g_current_runtime_level) THEN
3135: FND_LOG.message(FND_LOG.level_error, l_mod_name || '.input_validation', FALSE);
3128:
3129: --basic input validation
3130: IF(p_chr_id IS NULL) THEN
3131: FND_MESSAGE.set_name(G_APP_NAME, 'OKS_MANDATORY_ARG');
3132: FND_MESSAGE.set_token('ARG_NAME', 'p_chr_id');
3133: FND_MESSAGE.set_token('PROG_NAME', G_PKG_NAME || '.' || l_api_name);
3134: IF (FND_LOG.level_error >= FND_LOG.g_current_runtime_level) THEN
3135: FND_LOG.message(FND_LOG.level_error, l_mod_name || '.input_validation', FALSE);
3136: END IF;
3129: --basic input validation
3130: IF(p_chr_id IS NULL) THEN
3131: FND_MESSAGE.set_name(G_APP_NAME, 'OKS_MANDATORY_ARG');
3132: FND_MESSAGE.set_token('ARG_NAME', 'p_chr_id');
3133: FND_MESSAGE.set_token('PROG_NAME', G_PKG_NAME || '.' || l_api_name);
3134: IF (FND_LOG.level_error >= FND_LOG.g_current_runtime_level) THEN
3135: FND_LOG.message(FND_LOG.level_error, l_mod_name || '.input_validation', FALSE);
3136: END IF;
3137: FND_MSG_PUB.ADD;
4978: --show IBY error message on standard FND stack in QA results UI
4979: x_return_status := OKC_API.G_RET_STS_ERROR;
4980:
4981:
4982: --also pick up IBY message in l_response and place onto standard FND message stack
4983: IF NVL(l_response.Result_Category,'x') <> IBY_FNDCPT_COMMON_PUB.G_RC_SUCCESS THEN --'SUCCESS'
4984: FND_MSG_PUB.add_exc_msg(
4985: p_pkg_name => 'IBY_FNDCPT_TRXN_PUB',
4986: p_procedure_name => 'Create_Authorization',
5045: -- show IBY error message on standard FND stack in QA results UI
5046: x_return_status := OKC_API.G_RET_STS_ERROR;
5047:
5048:
5049: --also pick up IBY message in l_response and place onto standard FND message stack
5050: IF NVL(l_response.Result_Category,'x') <> IBY_FNDCPT_COMMON_PUB.G_RC_SUCCESS THEN --'SUCCESS'
5051: FND_MSG_PUB.add_exc_msg(
5052: p_pkg_name => 'IBY_FNDCPT_TRXN_PUB',
5053: p_procedure_name => 'Create_Authorization',
5224:
5225: ELSIF NVL(l_response.Result_Category,'x') <> IBY_FNDCPT_COMMON_PUB.G_RC_SUCCESS THEN --'SUCCESS'
5226: x_return_status := OKC_API.G_RET_STS_ERROR; --show IBY error message (should be in stack) in QA results UI
5227:
5228: --also pick up IBY message in l_response and place onto standard FND message stack
5229: IF l_response.Result_Category <> IBY_FNDCPT_COMMON_PUB.G_RC_SUCCESS THEN --'SUCCESS'
5230: FND_MSG_PUB.add_exc_msg(
5231: p_pkg_name => 'IBY_FNDCPT_TRXN_PUB',
5232: p_procedure_name => 'Get_Authorization',
5361:
5362: --show IBY error message (should be in stack) in QA results UI
5363: x_return_status := OKC_API.G_RET_STS_ERROR;
5364:
5365: --also pick up IBY message in l_response and place onto standard FND message stack
5366: IF l_response.Result_Category <> IBY_FNDCPT_COMMON_PUB.G_RC_SUCCESS THEN --'SUCCESS'
5367: FND_MSG_PUB.add_exc_msg(
5368: p_pkg_name => 'IBY_FNDCPT_TRXN_PUB',
5369: p_procedure_name => 'Get_Authorization',