DBA Data[Home] [Help]

VIEW: APPS.EDW_PLAN_NAME_FKV

Source

View Text - Preformatted

SELECT mpl.compile_designator||'-'||mpl.organization_id||'-'||inst.instance_code, mpl.compile_designator, mpl.organization_id FROM mfg_lookups ml1, mtl_parameters mp, mrp_plans mpl, edw_local_instance inst WHERE ml1.lookup_type = 'MRP_PLAN_TYPE' AND ml1.lookup_code = mpl.plan_type AND mp.organization_id=mpl.organization_id AND mpl.plan_completion_date is not NULL
View Text - HTML Formatted

SELECT MPL.COMPILE_DESIGNATOR||'-'||MPL.ORGANIZATION_ID||'-'||INST.INSTANCE_CODE
, MPL.COMPILE_DESIGNATOR
, MPL.ORGANIZATION_ID
FROM MFG_LOOKUPS ML1
, MTL_PARAMETERS MP
, MRP_PLANS MPL
, EDW_LOCAL_INSTANCE INST
WHERE ML1.LOOKUP_TYPE = 'MRP_PLAN_TYPE'
AND ML1.LOOKUP_CODE = MPL.PLAN_TYPE
AND MP.ORGANIZATION_ID=MPL.ORGANIZATION_ID
AND MPL.PLAN_COMPLETION_DATE IS NOT NULL