Error Message during Payroll Entry

We have been using Payroll for few months without any issues. We have encountered error with messsage “Net Pay cannnot be negative” during creation of payroll for month of Oct 2019.
We have allocated Materinity Leave (ML) and Sanctioned ML to one employee and added 3 employees during this period.

It could possibly be that you are deducting pay for leaves and you have allocated more leaves in a month than the number of days? Maybe you could post screenshots with relevant data of your use case in case you need more help.