Where it should be input to be reflected the dividend payment to the share holder and to be deducted from the corporation income?
This is quite straightforward. Pull up Schedule 3 and scroll down to line 450 where you can enter the dividends paid on the line for "total taxable dividends paid in the year to other than connected corporation."
Incidentally, don't read that taxable dividend amount to mean the grossed up amount which shows up on the shareholders' T1 returns. You'd just enter the actual dividend amount paid out.