Subtotals by batch number

Hi All,

Consider I am receiving some items through a purchase order with different batch numbers . How can I have the subtotals of the quantities by batch numbers in my packing slips ? Please help.

Packing slip of the sales order I presume? In the form setup you can add it but I believe the subtotal would be a customization to the report (you may already have customized it).