DBA Data[Home] [Help]

APPS.OKS_COPY_CONTRACT_PVT dependencies on OKC_CONTEXT

Line 1657: okc_context.set_okc_org_context(l_chrv_rec.authoring_org_id,l_chrv_rec.inv_organization_id);

1653: END IF;
1654:
1655: /* The following logic of setting the context has been moved here from below becasue of the requirement of Euro Conversion - Bug 2155930 */
1656: -- Sets the context.
1657: okc_context.set_okc_org_context(l_chrv_rec.authoring_org_id,l_chrv_rec.inv_organization_id);
1658: --END IF;
1659:
1660: IF l_chrv_rec.authoring_org_id <> okc_context.get_okc_org_id OR
1661: l_chrv_rec.inv_organization_id <> okc_context.get_okc_organization_id THEN

Line 1660: IF l_chrv_rec.authoring_org_id <> okc_context.get_okc_org_id OR

1656: -- Sets the context.
1657: okc_context.set_okc_org_context(l_chrv_rec.authoring_org_id,l_chrv_rec.inv_organization_id);
1658: --END IF;
1659:
1660: IF l_chrv_rec.authoring_org_id <> okc_context.get_okc_org_id OR
1661: l_chrv_rec.inv_organization_id <> okc_context.get_okc_organization_id THEN
1662: OKC_API.SET_MESSAGE('OKC','OKC_INCOMPATIBLE_ORG');
1663: x_return_status := OKC_API.G_RET_STS_ERROR;
1664: RAISE G_EXCEPTION_HALT_VALIDATION;

Line 1661: l_chrv_rec.inv_organization_id <> okc_context.get_okc_organization_id THEN

1657: okc_context.set_okc_org_context(l_chrv_rec.authoring_org_id,l_chrv_rec.inv_organization_id);
1658: --END IF;
1659:
1660: IF l_chrv_rec.authoring_org_id <> okc_context.get_okc_org_id OR
1661: l_chrv_rec.inv_organization_id <> okc_context.get_okc_organization_id THEN
1662: OKC_API.SET_MESSAGE('OKC','OKC_INCOMPATIBLE_ORG');
1663: x_return_status := OKC_API.G_RET_STS_ERROR;
1664: RAISE G_EXCEPTION_HALT_VALIDATION;
1665: END IF;

Line 15213: l_Authoring_Org_ID := okc_context.get_okc_org_id;

15209: x_entity_id := NULL;
15210: x_return_status := FND_API.G_RET_STS_SUCCESS;
15211: ELSE
15212:
15213: l_Authoring_Org_ID := okc_context.get_okc_org_id;
15214: l_Cust_Account_Site_ID := P_Bill_To_Site_Use_ID;
15215:
15216: IF (P_Cust_Acct_ID IS NULL) THEN
15217: OPEN GetAcctInfo;

Line 19085: ,p_org_id => okc_context.get_okc_org_id

19081: END IF;
19082: QP_LOCK_PRICELIST_GRP.Lock_Price(p_source_list_line_id => OKCOKSLinesRecTab.OksB_LOCKED_PRICE_LIST_LINE_ID(i)
19083: ,p_list_source_code => 'OKS'
19084: ,p_orig_system_header_ref => l_new_contract_number
19085: ,p_org_id => okc_context.get_okc_org_id
19086: ,x_locked_price_list_id => l_locked_price_list_id
19087: ,x_locked_list_line_id => l_locked_price_list_line_id
19088: ,x_return_status => l_return_status
19089: ,x_msg_count => x_msg_count

Line 24408: ,p_org_id => okc_context.get_okc_org_id

24404: If (OKCOKSLinesRecTab.OksB_OldOksLineID(i) IS NOT NULL AND OKCOKSLinesRecTab.OksB_LOCKED_PRICE_LIST_ID(i) IS NOT NULL) then
24405: QP_LOCK_PRICELIST_GRP.Lock_Price(p_source_list_line_id => OKCOKSLinesRecTab.OksB_LOCKED_PRICE_LIST_LINE_ID(i)
24406: ,p_list_source_code => 'OKS'
24407: ,p_orig_system_header_ref => l_new_contract_number
24408: ,p_org_id => okc_context.get_okc_org_id
24409: ,x_locked_price_list_id => l_locked_price_list_id
24410: ,x_locked_list_line_id => l_locked_price_list_line_id
24411: ,x_return_status => l_return_status
24412: ,x_msg_count => x_msg_count