Analysis of Factors with Impact on Earnings and their Management in Commercial Companies