DBA Data[Home] [Help]

APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_RULES_ENGINE_PVT

Line 9467: OKC_XPRT_RULES_ENGINE_PVT.init_contract_expert(p_document_id, p_document_type, l_template_id, l_has_questions);

9463: RETURN;
9464: END IF;
9465:
9466: --initialising rules engine
9467: OKC_XPRT_RULES_ENGINE_PVT.init_contract_expert(p_document_id, p_document_type, l_template_id, l_has_questions);
9468:
9469: --
9470: -- Template is enabled for Expert.
9471: -- Check if CE has been partially invoked.

Line 9476: OR (OKC_XPRT_RULES_ENGINE_PVT.has_all_questions_answered(p_document_id, p_document_type) = 'N' AND (p_bv_mode = 'QA' OR p_bv_mode = 'APPR')) ) THEN

9472: -- Add Error in Stack.
9473: --
9474:
9475: IF ((l_has_responses = 'Y' AND l_ce_finish_flag = 'N' AND (p_bv_mode = 'QA' OR p_bv_mode = 'APPR'))
9476: OR (OKC_XPRT_RULES_ENGINE_PVT.has_all_questions_answered(p_document_id, p_document_type) = 'N' AND (p_bv_mode = 'QA' OR p_bv_mode = 'APPR')) ) THEN
9477: --
9478: -- Contract Expert has not been applied to the document
9479: --Contract Expert ran partially
9480:

Line 10792: IF NVL(l_ce_enabled,'N') = 'N' OR l_contract_source <> 'STRUCTURED' OR NVL(l_expert_enabled, 'N') <> 'Y' OR OKC_XPRT_RULES_ENGINE_PVT.has_all_questions_answered(p_document_id, p_document_type) = 'Y' THEN

10788: -- Bug# 6329925. Check if CE Profile is Enabled
10789: FND_PROFILE.GET(name=> 'OKC_K_EXPERT_ENABLED', val => l_ce_enabled);
10790:
10791: IF nvl(fnd_profile.value('OKC_USE_CONTRACTS_RULES_ENGINE'), 'N') = 'Y' THEN --okc rules engine
10792: IF NVL(l_ce_enabled,'N') = 'N' OR l_contract_source <> 'STRUCTURED' OR NVL(l_expert_enabled, 'N') <> 'Y' OR OKC_XPRT_RULES_ENGINE_PVT.has_all_questions_answered(p_document_id, p_document_type) = 'Y' THEN
10793: l_return_val := 'N';
10794:
10795: /* Expert is not run completely */
10796: ELSIF OKC_XPRT_RULES_ENGINE_PVT.has_all_questions_answered(p_document_id, p_document_type) = 'N' THEN

Line 10796: ELSIF OKC_XPRT_RULES_ENGINE_PVT.has_all_questions_answered(p_document_id, p_document_type) = 'N' THEN

10792: IF NVL(l_ce_enabled,'N') = 'N' OR l_contract_source <> 'STRUCTURED' OR NVL(l_expert_enabled, 'N') <> 'Y' OR OKC_XPRT_RULES_ENGINE_PVT.has_all_questions_answered(p_document_id, p_document_type) = 'Y' THEN
10793: l_return_val := 'N';
10794:
10795: /* Expert is not run completely */
10796: ELSIF OKC_XPRT_RULES_ENGINE_PVT.has_all_questions_answered(p_document_id, p_document_type) = 'N' THEN
10797: l_has_questions := check_rule_type_has_questions(
10798: p_template_id => l_template_id,
10799: p_rule_type => p_rule_type );
10800: