DBA Data[Home] [Help]

APPS.INV_UTILITIES dependencies on CST_CG_ITEM_COSTS_VIEW

Line 608: FROM cst_cg_item_costs_view ccicv, mtl_parameters mp

604: FROM MTL_PARAMETERS mp
605: WHERE mp.organization_id=v_org_id ;
606: SELECT NVL(ccicv.item_cost, 0)
607: INTO v_item_cost
608: FROM cst_cg_item_costs_view ccicv, mtl_parameters mp
609: WHERE v_locator_id IS NULL
610: AND ccicv.organization_id = v_org_id
611: AND ccicv.inventory_item_id = v_item_id
612: AND ccicv.organization_id = mp.organization_id

Line 616: FROM mtl_item_locations mil, cst_cg_item_costs_view ccicv, mtl_parameters mp

612: AND ccicv.organization_id = mp.organization_id
613: AND ccicv.cost_group_id = DECODE(mp.primary_cost_method, 1, 1, NVL(mp.default_cost_group_id, 1))
614: UNION ALL
615: SELECT NVL(ccicv.item_cost, 0)
616: FROM mtl_item_locations mil, cst_cg_item_costs_view ccicv, mtl_parameters mp
617: WHERE v_locator_id IS NOT NULL
618: AND mil.organization_id = v_org_id
619: AND mil.inventory_location_id = v_locator_id
620: AND mil.project_id IS NULL

Line 627: FROM mtl_item_locations mil, mrp_project_parameters mrp, cst_cg_item_costs_view ccicv, mtl_parameters mp

623: AND ccicv.organization_id = mp.organization_id
624: AND ccicv.cost_group_id = DECODE(mp.primary_cost_method, 1, 1, DECODE(l_wms_enabled_flag,'Y',ccicv.cost_group_id, NVL(mp.default_cost_group_id, 1)))
625: UNION ALL
626: SELECT NVL(ccicv.item_cost, 0)
627: FROM mtl_item_locations mil, mrp_project_parameters mrp, cst_cg_item_costs_view ccicv, mtl_parameters mp
628: WHERE v_locator_id IS NOT NULL
629: AND mil.organization_id = v_org_id
630: AND mil.inventory_location_id = v_locator_id
631: AND mil.project_id IS NOT NULL

Line 643: --For WMS org with average costing, there may be more than one rows in cst_cg_item_costs_view.

639: WHEN NO_DATA_FOUND THEN
640: v_item_cost := -999;
641: WHEN TOO_MANY_ROWS THEN --Bug --Forward port 7037252/6349028/6343400
642: IF (l_wms_enabled_flag = 'Y' ) THEN
643: --For WMS org with average costing, there may be more than one rows in cst_cg_item_costs_view.
644: --In this case, the correct cost will be stamped from INV_COST_GROUP_PVT after obtaining exact cost group.
645: v_item_cost := 1; --This is hard-coded so that we can retrieve the percent value in INV_COST_GROUP_PVT.
646: ELSE
647: v_item_cost := -999; --This should result in error for non-wms orgs.