HOW TO - Print labels with X products quantity?

77 views
Skip to first unread message

Alejandro Guerra

unread,
Oct 13, 2015, 8:07:24 AM10/13/15
to iDempiere
Hi all,

how do I generate a report that will print out the amount of barcodes for the amount of items in stock for each product?
Regards,
Alejandro

Anozi Mada

unread,
Oct 13, 2015, 10:29:05 PM10/13/15
to iDempiere
Hi Alejandro

You can try something like this
SELECT p.UPC, s.QtyOnHand, generate_series(1,s.QtyOnHand::int)
FROM M_StorageOnHand s
INNER JOIN M_Product p ON
(p.M_Product_ID = s.M_Product_ID)
WHERE s
.QtyOnHand > 0
AND p
.UPC IS NOT NULL

Regards,
Anozi Mada

redhuan d. oon

unread,
Oct 13, 2015, 11:32:45 PM10/13/15
to iDempiere
Very good idea you given me Anozi. I will incorporate this as a config setter for http://wiki.idempiere.org/en/Plugin:_Alternative_Output

Alejandro Guerra

unread,
Oct 14, 2015, 8:25:17 PM10/14/15
to iDempiere
Hi Anozi,

thank you 
regards
Reply all
Reply to author
Forward
0 new messages