Accounts table cannot be blank error

Hi,

While i was trying to run the payroll iam getting error stating that accounts table cannot be blank.

Kindly help me to resolve the issue

Did you mapped salary components to respective GL accounts ?

Yes I have updated salary components to respective GL Accounts.

is it resolve ? im facing same issue

My issue got resolved. The error was due to non mapping of Salary components to respective GL.

can you please tell me how to map salary component to GL im using ERPNext 15