Advertisement
Advertisement
| 07.24.2008 at 06:07AM PDT, ID: 23591886 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: |
set feedback off
set pages 0
set lines 120
spool /gtxappl/Stock_Mirroring/Results/pyfs_allocablestock_supply240708.csv
select upper('item_id,shipnode_key,onhand')
from dual;
select a.item_id || ',' || b.shipnode_key || ',' || b.quantity
from yfs_inventory_item a, yfs_inventory_supply b
where b.supply_type = 'ONHAND'
and b.inventory_item_key = a.inventory_item_key;
spool off
|