DBA Data[Home] [Help]

APPS.OKS_IBINT_PUB dependencies on OKC_CONTEXT

Line 336: And MTL.Organization_id = okc_context.get_okc_organization_id;

332: ,MTL.Primary_UOM_Code
333: ,MTL.Service_starting_delay
334: From OKX_SYSTEM_ITEMS_V MTL
335: Where MTL.id1 = p_Inventory_id
336: And MTL.Organization_id = okc_context.get_okc_organization_id;
337:
338: Cursor l_org_csr (p_line_id Number) Is
339: select org_id
340: ,sold_from_org_id

Line 545: Okc_context.set_okc_org_context (p_instance_rec.org_id, p_instance_rec.organization_id);

541: Raise G_EXCEPTION_HALT_VALIDATION;
542: End If;
543:
544: -- Setting the org context
545: Okc_context.set_okc_org_context (p_instance_rec.org_id, p_instance_rec.organization_id);
546:
547: Else
548:
549: -- Vigandhi : 08-Dec-2005

Line 627: Okc_context.set_okc_org_context (p_instance_rec.org_id, p_instance_rec.organization_id);

623: ',Sold from org id = '|| l_org_rec.sold_from_org_id ||
624: ',Ship from org id = '||l_org_rec.ship_from_org_id );
625: END IF;
626: If Fnd_Profile.Value('OKS_CONTRACTS_VALIDATION_SOURCE') = 'IB' OR Fnd_Profile.Value('OKS_CONTRACTS_VALIDATION_SOURCE') Is NULL Then
627: Okc_context.set_okc_org_context (p_instance_rec.org_id, p_instance_rec.organization_id);
628:
629: Elsif Fnd_Profile.Value('OKS_CONTRACTS_VALIDATION_SOURCE') = 'MO' Then
630: Okc_context.set_okc_org_context (l_org_rec.org_id, NULL );
631:

Line 630: Okc_context.set_okc_org_context (l_org_rec.org_id, NULL );

626: If Fnd_Profile.Value('OKS_CONTRACTS_VALIDATION_SOURCE') = 'IB' OR Fnd_Profile.Value('OKS_CONTRACTS_VALIDATION_SOURCE') Is NULL Then
627: Okc_context.set_okc_org_context (p_instance_rec.org_id, p_instance_rec.organization_id);
628:
629: Elsif Fnd_Profile.Value('OKS_CONTRACTS_VALIDATION_SOURCE') = 'MO' Then
630: Okc_context.set_okc_org_context (l_org_rec.org_id, NULL );
631:
632: Elsif Fnd_Profile.Value('OKS_CONTRACTS_VALIDATION_SOURCE') = 'SO' Then
633:
634: l_organization_id := Null;

Line 643: Okc_context.set_okc_org_context (l_org_rec.org_id, l_organization_id);

639: Else
640: l_organization_id := Null;
641: End If;
642:
643: Okc_context.set_okc_org_context (l_org_rec.org_id, l_organization_id);
644:
645: Elsif Fnd_Profile.Value('OKS_CONTRACTS_VALIDATION_SOURCE') = 'SH' Then
646: Okc_context.set_okc_org_context (l_org_rec.org_id, l_org_rec.ship_from_org_id);
647:

Line 646: Okc_context.set_okc_org_context (l_org_rec.org_id, l_org_rec.ship_from_org_id);

642:
643: Okc_context.set_okc_org_context (l_org_rec.org_id, l_organization_id);
644:
645: Elsif Fnd_Profile.Value('OKS_CONTRACTS_VALIDATION_SOURCE') = 'SH' Then
646: Okc_context.set_okc_org_context (l_org_rec.org_id, l_org_rec.ship_from_org_id);
647:
648: End If;
649:
650:

Line 655: 'Org id = '||okc_context.get_okc_org_id ||

651: End If;
652:
653: IF FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL THEN
654: fnd_log.string(FND_LOG.LEVEL_STATEMENT,G_MODULE_CURRENT||'.IB_NEW.after org setup',
655: 'Org id = '||okc_context.get_okc_org_id ||
656: ',Organization id = '|| okc_context.get_okc_organization_id );
657: END IF;
658:
659: OKS_EXTWAR_UTIL_PVT.Get_Warranty_Info

Line 656: ',Organization id = '|| okc_context.get_okc_organization_id );

652:
653: IF FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL THEN
654: fnd_log.string(FND_LOG.LEVEL_STATEMENT,G_MODULE_CURRENT||'.IB_NEW.after org setup',
655: 'Org id = '||okc_context.get_okc_org_id ||
656: ',Organization id = '|| okc_context.get_okc_organization_id );
657: END IF;
658:
659: OKS_EXTWAR_UTIL_PVT.Get_Warranty_Info
660: (

Line 3106: lp_org_assignments_tbl(1).operating_unit_id := okc_context.get_okc_org_id;

3102: lp_txn_rec.transaction_date := sysdate;
3103: lp_txn_rec.source_transaction_date := sysdate;
3104: lp_txn_rec.transaction_type_id:=1;
3105: --Populate org related information based upon IB team suggestion - bug12981731
3106: lp_org_assignments_tbl(1).operating_unit_id := okc_context.get_okc_org_id;
3107: lp_org_assignments_tbl(1).relationship_type_code := 'SOLD_FROM';
3108: lp_org_assignments_tbl(1).active_start_date := sysdate;
3109: lp_org_assignments_tbl(1).active_end_date := null;
3110: