update dari Rika 20130709
Update Print PO,,
select * from
purchaseorderitem

select ITEMNAME,KODE,PRID,sum(QTY) qty from
purchaseorderitem poi
left join
v_po_item on poi.itemid=v_po_item.id
where
poi.purchaseorderid=71
group by ITEMNAME,KODE,PRID

select ITEMNAME,KODE,PRID,sum(QTY) qty from purchaseorderitem poi 
left join v_po_item on poi.itemid=v_po_item.id  
where poi.purchaseorderid=71 
group by ITEMNAME,KODE,PRID

[params=(long) 71]} [code=923, state=42000]