DBA Data[Home] [Help]

APPS.OKC_OPPORTUNITY_PVT dependencies on OKC_CONTEXT

Line 45: okc_context.set_okc_org_context(p_chr_id => p_contract_id);

41: --
42: IF (l_debug = 'Y') THEN
43: okc_debug.log('1015: Setting Contract Context');
44: END IF;
45: okc_context.set_okc_org_context(p_chr_id => p_contract_id);
46: IF (l_debug = 'Y') THEN
47: okc_debug.log('1020: Before create_opp_header');
48: END IF;
49: Create_Opp_Header(p_api_version,

Line 187: AND nvl(ORG_ID,-99) = SYS_CONTEXT('OKC_CONTEXT', 'ORG_ID');

183: FROM okx_cust_site_uses_v
184: WHERE id1 = b_id1
185: AND site_use_code = p_use_code -- ship..to_party_site_id
186: AND status = 'A' -- Active Status
187: AND nvl(ORG_ID,-99) = SYS_CONTEXT('OKC_CONTEXT', 'ORG_ID');
188:
189:
190: cursor c7 (b_win_probability NUMBER) is
191: select sales_stage_id

Line 773: l_org_id := okc_context.get_okc_org_id;

769: okc_debug.log(' g_rty_code = '||g_rty_code);
770: END IF;
771: x_return_status := okc_api.g_ret_sts_success;
772: -- Set the org_id for the curernt contract
773: l_org_id := okc_context.get_okc_org_id;
774: -- set the opp header id
775: l_header_rec.lead_id := p_lead_id;
776: /*
777: -- added to update header amt