Anything that affects net income, also affects the statement of retained earnings. Some transactions that affect net income include those that increase or decrease in revenue, cost of goods sold and expenses.