You would need to change not only the payables transaction history table but the payables history apply table. The second table records the payments applied to invoices by document (check) number.
For details on these tables, check out our newly updated Information Flow and Posting at www.AccoladePublications.com