How i can edit my historical payment

SOLVED

i am new in sage 50 and I have to make a new company and for outstanding supplier  added the invoice and the amount is wrong in historical payment and case my  balance is wrong  now how i can fixed it