Invoice variable

SOLVED

Is there a variable available within report designer to total the quantity of the quantity entered when creating an invoice. I note the number of lines is shown but I need to check before the invoice is posted that the total quantity input is correct. Also is there a warning BEFORE update that advises a zero quantity and or zero price shown on an invoice.

Thanks Neville