DBA Data[Home] [Help]

APPS.OKS_COPY_CONTRACT_PVT dependencies on OKC_CONTEXT

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

1646: END IF;
1647:
1648: /* The following logic of setting the context has been moved here from below becasue of the requirement of Euro Conversion - Bug 2155930 */
1649: -- Sets the context.
1650: okc_context.set_okc_org_context(l_chrv_rec.authoring_org_id,l_chrv_rec.inv_organization_id);
1651: --END IF;
1652:
1653: IF l_chrv_rec.authoring_org_id <> okc_context.get_okc_org_id OR
1654: l_chrv_rec.inv_organization_id <> okc_context.get_okc_organization_id THEN

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

1649: -- Sets the context.
1650: okc_context.set_okc_org_context(l_chrv_rec.authoring_org_id,l_chrv_rec.inv_organization_id);
1651: --END IF;
1652:
1653: IF l_chrv_rec.authoring_org_id <> okc_context.get_okc_org_id OR
1654: l_chrv_rec.inv_organization_id <> okc_context.get_okc_organization_id THEN
1655: OKC_API.SET_MESSAGE('OKC','OKC_INCOMPATIBLE_ORG');
1656: x_return_status := OKC_API.G_RET_STS_ERROR;
1657: RAISE G_EXCEPTION_HALT_VALIDATION;

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

1650: okc_context.set_okc_org_context(l_chrv_rec.authoring_org_id,l_chrv_rec.inv_organization_id);
1651: --END IF;
1652:
1653: IF l_chrv_rec.authoring_org_id <> okc_context.get_okc_org_id OR
1654: l_chrv_rec.inv_organization_id <> okc_context.get_okc_organization_id THEN
1655: OKC_API.SET_MESSAGE('OKC','OKC_INCOMPATIBLE_ORG');
1656: x_return_status := OKC_API.G_RET_STS_ERROR;
1657: RAISE G_EXCEPTION_HALT_VALIDATION;
1658: END IF;

Line 15168: l_Authoring_Org_ID := okc_context.get_okc_org_id;

15164: x_entity_id := NULL;
15165: x_return_status := FND_API.G_RET_STS_SUCCESS;
15166: ELSE
15167:
15168: l_Authoring_Org_ID := okc_context.get_okc_org_id;
15169: l_Cust_Account_Site_ID := P_Bill_To_Site_Use_ID;
15170:
15171: IF (P_Cust_Acct_ID IS NULL) THEN
15172: OPEN GetAcctInfo;

Line 18950: ,p_org_id => okc_context.get_okc_org_id

18946: END IF;
18947: QP_LOCK_PRICELIST_GRP.Lock_Price(p_source_list_line_id => OKCOKSLinesRecTab.OksB_LOCKED_PRICE_LIST_LINE_ID(i)
18948: ,p_list_source_code => 'OKS'
18949: ,p_orig_system_header_ref => l_new_contract_number
18950: ,p_org_id => okc_context.get_okc_org_id
18951: ,x_locked_price_list_id => l_locked_price_list_id
18952: ,x_locked_list_line_id => l_locked_price_list_line_id
18953: ,x_return_status => l_return_status
18954: ,x_msg_count => x_msg_count

Line 24213: ,p_org_id => okc_context.get_okc_org_id

24209: If (OKCOKSLinesRecTab.OksB_OldOksLineID(i) IS NOT NULL AND OKCOKSLinesRecTab.OksB_LOCKED_PRICE_LIST_ID(i) IS NOT NULL) then
24210: QP_LOCK_PRICELIST_GRP.Lock_Price(p_source_list_line_id => OKCOKSLinesRecTab.OksB_LOCKED_PRICE_LIST_LINE_ID(i)
24211: ,p_list_source_code => 'OKS'
24212: ,p_orig_system_header_ref => l_new_contract_number
24213: ,p_org_id => okc_context.get_okc_org_id
24214: ,x_locked_price_list_id => l_locked_price_list_id
24215: ,x_locked_list_line_id => l_locked_price_list_line_id
24216: ,x_return_status => l_return_status
24217: ,x_msg_count => x_msg_count