23
23 - 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='RB001' 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='RB003' 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='RB0250' 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='RB0272' 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='RB0296' 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='RB0298' 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='RB0335' 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='RB0401' 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='RB0401FR' 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='RB0402' 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='RB0413' 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='RB0425' 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='RB0455' 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='RB0522' 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='RB0551' 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='RB1839' 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='RB2075' 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='RB2201' 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='RB2202' 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='RB2247' 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