Financial Statements- Hot to calculate Net Profit

Hello,

I feel confusion while calculating the net profit in Income statement through the financial statement in ax2012

How Income statement will calculate the net profit it wil done automatically are manually we have to assign any ledger account.

I am prepared the format shown in CEU Company, But my doubt is here net profit/loss account is showing means manually should we calculate the amount and assign to ledger code to the structure or automatically it will take the net p/l, If it will take automatically how it will done.Can any one tel me the income statement how it works in ax2012