When a dividend is declared, the following journals are posted:
Cr Dividends Payable
When the dividend is paid the journal is:
Dr Dividends Payable
Please bear in mind that the ordinary dividends need to be declared and not simply proposed or promised for a journal to be posted.