In my last accounting package the Statement of Retained Earnings for an S-CORP was calculated as:
Prior Retained Earning + Income - Net of Shareholder Distributions = End of Period Retained Earnings
The entry for a Distribution to Shareholders can be entered in two ways:
debit Distribution to Shareholders and credit Checking
or
debit Distribution to Shareholders and credit Distributions Payable
debit Distributions Payment and credit Cash
Below is the M-RETAIND account schedule for the Statement of Retained Earnings Report

Despite what it shows on row P0007, the final report always adds the value in Distributions to Shareholders (row P0005) to Net Income + Prior Retained Earnings (F0003) instead of subtracting the amount.
I tried this in Cronus and I get the same result as production.
Is there something I'm doing wrong?
Thank you,
Ian