Hi Brus,
I've managed to re-create this here. Thanks for bringing this to our attention. It does get calculated if yu have some quantity shipped, but then the discount does not get saved with the invoice that has the calculated discount.
We'll have R&D take a look. Sorry for the inconvenience.
_________________________
Andrew Bates