1.取料號.單位及版本
SELECT msi.inventory_item_id, msi.primary_uom_code,MAX(mir.revision) max_revision
INTO v_inv_id, v_item_unit,v_revision
FROM mtl_system_items_b msi,mtl_item_revisions_b mir
目前分類:ORACLE INV (1)
- Sep 02 Tue 2008 14:34
關於料號的SQL取值