1043: activity_rec.type in (PLANNED_ORDER,NONSTD_JOBS,
1044: DISCRETE_JOBS,REPETITIVE)) THEN
1045: SELECT NVL(cst.item_cost, 0)
1046: INTO v_res_cost
1047: FROM cst_item_costs cst,
1048: mtl_parameters org
1049: WHERE cst.cost_type_id(+) = org.primary_cost_method
1050: AND cst.organization_id(+) = org.cost_organization_id
1051: AND cst.inventory_item_id(+) = activity_rec.assembly_item_id