Why do you need an 8594 for a stock sale?
Pre-purchase negative retained earnings has no basis effect on new shareholders.