Bug 5351: dim dim2 not defined lines 623, 627 of purchasing/includes/db/invoice_db...