<undefined account>

SUGGESTED

I had a chart of accounts error and the tech support at Sage was terrible.  He made me run a program that forced me to lose a few accounts on the chart of accounts.  So I had to recreate those accounts.  But when I open payments to enter the cash account it gives me an error of <undefined account>  How to fix this?