DBA Data[Home] [Help]

APPS.OKL_BTC_PVT dependencies on OKC_API

Line 733: x_return_status := OKC_API.G_RET_STS_ERROR;

729: p_btcv_rec.irm_id IS NULL OR
730: p_btcv_rec.name IS NULL THEN
731:
732: -- Message Text: Please enter all mandatory fields
733: x_return_status := OKC_API.G_RET_STS_ERROR;
734: OKC_API.set_message( p_app_name => G_APP_NAME,
735: p_msg_name =>'OKL_BPD_MISSING_FIELDS');
736:
737: RAISE G_EXCEPTION_HALT_VALIDATION;

Line 734: OKC_API.set_message( p_app_name => G_APP_NAME,

730: p_btcv_rec.name IS NULL THEN
731:
732: -- Message Text: Please enter all mandatory fields
733: x_return_status := OKC_API.G_RET_STS_ERROR;
734: OKC_API.set_message( p_app_name => G_APP_NAME,
735: p_msg_name =>'OKL_BPD_MISSING_FIELDS');
736:
737: RAISE G_EXCEPTION_HALT_VALIDATION;
738:

Line 816: x_return_status := OKC_API.G_RET_STS_ERROR;

812: NVL(l_currency_conv_rate, okl_api.g_miss_num) <> okl_api.g_miss_num OR
813: NVL(l_currency_conv_date, okl_api.g_miss_date) <> okl_api.g_miss_date THEN
814:
815: -- Message Text: Currency conversion values are not required when the receipt and invoice currency's are the same.
816: x_return_status := OKC_API.G_RET_STS_ERROR;
817: OKC_API.set_message( p_app_name => G_APP_NAME,
818: p_msg_name => 'OKL_BPD_SAME_CURRENCY_BATCH');
819: END IF;
820:

Line 817: OKC_API.set_message( p_app_name => G_APP_NAME,

813: NVL(l_currency_conv_date, okl_api.g_miss_date) <> okl_api.g_miss_date THEN
814:
815: -- Message Text: Currency conversion values are not required when the receipt and invoice currency's are the same.
816: x_return_status := OKC_API.G_RET_STS_ERROR;
817: OKC_API.set_message( p_app_name => G_APP_NAME,
818: p_msg_name => 'OKL_BPD_SAME_CURRENCY_BATCH');
819: END IF;
820:
821: END IF;

Line 829: x_return_status := OKC_API.G_RET_STS_ERROR;

825: Upper(nvl(l_currency_conv_type,'NONE')) = 'NONE' AND
826: x_return_status = Okl_Api.G_RET_STS_SUCCESS) THEN
827:
828: -- Message Text: Please enter a currency type.
829: x_return_status := OKC_API.G_RET_STS_ERROR;
830: OKC_API.set_message( p_app_name => G_APP_NAME,
831: p_msg_name => 'OKL_BPD_PLS_ENT_CUR_TYPE');
832: END IF;
833:

Line 830: OKC_API.set_message( p_app_name => G_APP_NAME,

826: x_return_status = Okl_Api.G_RET_STS_SUCCESS) THEN
827:
828: -- Message Text: Please enter a currency type.
829: x_return_status := OKC_API.G_RET_STS_ERROR;
830: OKC_API.set_message( p_app_name => G_APP_NAME,
831: p_msg_name => 'OKL_BPD_PLS_ENT_CUR_TYPE');
832: END IF;
833:
834: IF (x_return_status = Okl_Api.G_RET_STS_SUCCESS) THEN

Line 867: x_return_status := OKC_API.G_RET_STS_ERROR;

863:
864: IF l_functional_conversion_rate IN (0,-1) THEN
865:
866: -- Message Text: No exchange rate defined
867: x_return_status := OKC_API.G_RET_STS_ERROR;
868: OKC_API.set_message( p_app_name => G_APP_NAME,
869: p_msg_name => 'OKL_BPD_NO_EXCHANGE_RATE');
870: END IF;
871: END IF;

Line 868: OKC_API.set_message( p_app_name => G_APP_NAME,

864: IF l_functional_conversion_rate IN (0,-1) THEN
865:
866: -- Message Text: No exchange rate defined
867: x_return_status := OKC_API.G_RET_STS_ERROR;
868: OKC_API.set_message( p_app_name => G_APP_NAME,
869: p_msg_name => 'OKL_BPD_NO_EXCHANGE_RATE');
870: END IF;
871: END IF;
872:

Line 929: IF (x_return_status <> Okc_Api.G_RET_STS_SUCCESS) THEN

925:
926: validate_batch_total(x_return_status => x_return_status,
927: p_btcv_rec => p_btcv_rec);
928:
929: IF (x_return_status <> Okc_Api.G_RET_STS_SUCCESS) THEN
930: IF (x_return_status = Okc_Api.G_RET_STS_UNEXP_ERROR) THEN
931: -- need to exit
932: l_return_status := x_return_status;
933: RAISE G_EXCEPTION_HALT_VALIDATION;

Line 930: IF (x_return_status = Okc_Api.G_RET_STS_UNEXP_ERROR) THEN

926: validate_batch_total(x_return_status => x_return_status,
927: p_btcv_rec => p_btcv_rec);
928:
929: IF (x_return_status <> Okc_Api.G_RET_STS_SUCCESS) THEN
930: IF (x_return_status = Okc_Api.G_RET_STS_UNEXP_ERROR) THEN
931: -- need to exit
932: l_return_status := x_return_status;
933: RAISE G_EXCEPTION_HALT_VALIDATION;
934: ELSE

Line 944: IF (x_return_status <> Okc_Api.G_RET_STS_SUCCESS) THEN

940:
941: -- adding below currency validation for bug 6957755.. racheruv
942: validate_currency_code(p_btcv_rec,x_return_status);
943:
944: IF (x_return_status <> Okc_Api.G_RET_STS_SUCCESS) THEN
945: IF (x_return_status = Okc_Api.G_RET_STS_UNEXP_ERROR) THEN
946: -- need to exit
947: l_return_status := x_return_status;
948: RAISE G_EXCEPTION_HALT_VALIDATION;

Line 945: IF (x_return_status = Okc_Api.G_RET_STS_UNEXP_ERROR) THEN

941: -- adding below currency validation for bug 6957755.. racheruv
942: validate_currency_code(p_btcv_rec,x_return_status);
943:
944: IF (x_return_status <> Okc_Api.G_RET_STS_SUCCESS) THEN
945: IF (x_return_status = Okc_Api.G_RET_STS_UNEXP_ERROR) THEN
946: -- need to exit
947: l_return_status := x_return_status;
948: RAISE G_EXCEPTION_HALT_VALIDATION;
949: ELSE

Line 959: IF (x_return_status <> Okc_Api.G_RET_STS_SUCCESS) THEN

955:
956: validate_curr_conv(x_return_status => x_return_status,
957: p_btcv_rec => p_btcv_rec);
958:
959: IF (x_return_status <> Okc_Api.G_RET_STS_SUCCESS) THEN
960: IF (x_return_status = Okc_Api.G_RET_STS_UNEXP_ERROR) THEN
961: -- need to exit
962: l_return_status := x_return_status;
963: RAISE G_EXCEPTION_HALT_VALIDATION;

Line 960: IF (x_return_status = Okc_Api.G_RET_STS_UNEXP_ERROR) THEN

956: validate_curr_conv(x_return_status => x_return_status,
957: p_btcv_rec => p_btcv_rec);
958:
959: IF (x_return_status <> Okc_Api.G_RET_STS_SUCCESS) THEN
960: IF (x_return_status = Okc_Api.G_RET_STS_UNEXP_ERROR) THEN
961: -- need to exit
962: l_return_status := x_return_status;
963: RAISE G_EXCEPTION_HALT_VALIDATION;
964: ELSE