Business & farm

I will assume this was never a C Corp. there are ordering rules for distributions. first distributions must come out of the AAA account until they reduce it to zero. then any excess distributions would come out of the OAA account.  generally, the OAA account represents tax-exempt interest. you may want to read the rules for distributions in the IRS instructions for the 1120S. see page 44

 

https://www.irs.gov/pub/irs-pdf/i1120s.pdf