DBA Data[Home] [Help]

APPS.OKL_TAI_PVT dependencies on OKC_API

Line 54: Okc_Api.set_message(G_APP_NAME, G_INVALID_VALUE,G_COL_NAME_TOKEN,'LEGAL_ENTITY_ID');

50: x_return_status := Okl_Api.G_RET_STS_SUCCESS;
51: IF (p_taiv_rec.legal_entity_id IS NOT NULL) THEN
52: l_exists := OKL_LEGAL_ENTITY_UTIL.check_le_id_exists(p_taiv_rec.legal_entity_id);
53: IF(l_exists <> 1) THEN
54: Okc_Api.set_message(G_APP_NAME, G_INVALID_VALUE,G_COL_NAME_TOKEN,'LEGAL_ENTITY_ID');
55: RAISE item_not_found_error;
56: END IF;
57: END IF;
58: EXCEPTION

Line 60: x_return_status := Okc_Api.G_RET_STS_ERROR;

56: END IF;
57: END IF;
58: EXCEPTION
59: WHEN item_not_found_error THEN
60: x_return_status := Okc_Api.G_RET_STS_ERROR;
61:
62: WHEN OTHERS THEN
63: -- store SQL error message on message stack for caller
64: Okc_Api.SET_MESSAGE(p_app_name => g_app_name

Line 64: Okc_Api.SET_MESSAGE(p_app_name => g_app_name

60: x_return_status := Okc_Api.G_RET_STS_ERROR;
61:
62: WHEN OTHERS THEN
63: -- store SQL error message on message stack for caller
64: Okc_Api.SET_MESSAGE(p_app_name => g_app_name
65: ,p_msg_name => g_unexpected_error
66: ,p_token1 => g_sqlcode_token
67: ,p_token1_value =>SQLCODE
68: ,p_token2 => g_sqlerrm_token

Line 72: x_return_status := Okc_Api.G_RET_STS_UNEXP_ERROR;

68: ,p_token2 => g_sqlerrm_token
69: ,p_token2_value =>SQLERRM);
70:
71: -- notify caller of an UNEXPECTED error
72: x_return_status := Okc_Api.G_RET_STS_UNEXP_ERROR;
73: END validate_legal_entity_id;
74: -- for LE Uptake project 08-11-2006
75:
76: ---------------------------------------------------------------------------