SELECT cql.inventory_item_id,clcd.*
FROM CST_QUANTITY_LAYERS cql
, mtl_system_items_b msi
, CST_LAYER_COST_DETAILS clcd
WHERE cql.inventory_item_id = msi.inventory_item_id
AND cql.organization_id = msi.organization_id
AND msi.segment4 = 'SBC/HP'
AND cql.organization_id = 372
AND cql.layer_id = clcd.layer_id
AND cql.inventory_item_id = 17495806
FROM CST_QUANTITY_LAYERS cql
, mtl_system_items_b msi
, CST_LAYER_COST_DETAILS clcd
WHERE cql.inventory_item_id = msi.inventory_item_id
AND cql.organization_id = msi.organization_id
AND msi.segment4 = 'SBC/HP'
AND cql.organization_id = 372
AND cql.layer_id = clcd.layer_id
AND cql.inventory_item_id = 17495806
No comments:
Post a Comment