DBA Data[Home] [Help]

VIEW: APPS.EDW_MTL_SUB_INV_FKV

Source

View Text - Preformatted

SELECT msi.secondary_inventory_name, msi.organization_id, msi.secondary_inventory_name||'-'||mp.organization_code||'-'||inst.instance_code from mtl_secondary_inventories msi, hr_all_organization_units bg, hr_all_organization_units org, mtl_parameters mp, edw_local_instance inst WHERE msi.organization_id = mp.organization_id + 0 AND bg.organization_id = org.business_group_id AND org.organization_id = mp.organization_id
View Text - HTML Formatted

SELECT MSI.SECONDARY_INVENTORY_NAME
, MSI.ORGANIZATION_ID
, MSI.SECONDARY_INVENTORY_NAME||'-'||MP.ORGANIZATION_CODE||'-'||INST.INSTANCE_CODE
FROM MTL_SECONDARY_INVENTORIES MSI
, HR_ALL_ORGANIZATION_UNITS BG
, HR_ALL_ORGANIZATION_UNITS ORG
, MTL_PARAMETERS MP
, EDW_LOCAL_INSTANCE INST
WHERE MSI.ORGANIZATION_ID = MP.ORGANIZATION_ID + 0
AND BG.ORGANIZATION_ID = ORG.BUSINESS_GROUP_ID
AND ORG.ORGANIZATION_ID = MP.ORGANIZATION_ID