0

Velinette

Velinette - 10

per_page: 1 - maxpage: 1 - page_ri: 1 - page_rf: 51

10

10 - perpage: 1

select (prod.giacenza-items.qty) as 'pezzi rimanenti' from umbTAB3_Product prod left outer join(select prodcode, sum(qty) as qty from pwrcart_orderitems WHERE prodcode='VEL002' and idcart in (select id from pwrcart_order where status != 99 and status > 9) group by prodcode) items on prod.codice = items.prodcode where items.qty is not null and prod.name not like'Costo %'

dt.Rows= 1

disponibile =True

select (prod.giacenza-items.qty) as 'pezzi rimanenti' from umbTAB3_Product prod left outer join(select prodcode, sum(qty) as qty from pwrcart_orderitems WHERE prodcode='VEL006' and idcart in (select id from pwrcart_order where status != 99 and status > 9) group by prodcode) items on prod.codice = items.prodcode where items.qty is not null and prod.name not like'Costo %'

dt.Rows= 1

disponibile =True

select (prod.giacenza-items.qty) as 'pezzi rimanenti' from umbTAB3_Product prod left outer join(select prodcode, sum(qty) as qty from pwrcart_orderitems WHERE prodcode='VEL009' and idcart in (select id from pwrcart_order where status != 99 and status > 9) group by prodcode) items on prod.codice = items.prodcode where items.qty is not null and prod.name not like'Costo %'

dt.Rows= 1

disponibile =True

select (prod.giacenza-items.qty) as 'pezzi rimanenti' from umbTAB3_Product prod left outer join(select prodcode, sum(qty) as qty from pwrcart_orderitems WHERE prodcode='VEL012' and idcart in (select id from pwrcart_order where status != 99 and status > 9) group by prodcode) items on prod.codice = items.prodcode where items.qty is not null and prod.name not like'Costo %'

dt.Rows= 1

disponibile =True