How client will receive the benefits of corporate actions such as dividend/rights/bonus?

How client will receive the benefits of corporate actions such as dividend/rights/bonus?

​If shares lying in demat account:
​C​lient will receive shares/ dividend/ bonus/ interest directly from the company's registrar into ​​​his/her bank account/ demat account or through cheque/ DD.

Shares lying in trading/ pool account:
​C​lient will receive shares/ dividend/ bonus/ interest from broker where holding a trading and a demat account.