I ran into this with Misc Items when printing from Invoice History. They were entering Qty = 0, but an ExtensionAmt, so the Invoice reflected the right amount, but then that line was not written to the history file (so re-prints were wrong). I never got a solution from Sage, so I ended up forcing the item to a Misc Charge.