Automatic process deferred entry not working

Even after enabling the “Automatically process deferred accounting entry” option in Accounts Settings, when posting a Sales Invoice with a deferred revenue period, the system is not automatically processing the deferred accounting entries.

Hi Ranjithkumar,

This issue might be related to the scheduler not running. The deferred entries are processed automatically by the background scheduler job (process_deferred_accounting). Please check the following:

  1. Ensure scheduler is enabled
    Run:

    bench enable-scheduler
    
  2. Check if the job is executing
    Run:

    bench doctor
    

    Make sure the background workers and scheduler are active.

  3. Make sure your deferred revenue account and item settings are correctly configured
    Verify that:

    • The deferred revenue account is set on the item.
    • The item has a deferred revenue period defined.

If all settings look fine and the scheduler is running, try manually running the job to test:

bench execute erpnext.accounts.doctype.deferred_revenue.process_deferred_accounting.process_deferred_accounting

Let me know if this helps or if you’d like help checking the configuration!

I guess you mean bench execute erpnext.accounts.deferred_revenue.process_deferred_accounting

On the server side in frappe-bench folder.

you can run that commands to enable scheduler and check.

But I’ll suggest you go in RQ Job Doctype list and there you can check your scheduler status.

If disabled then first enable it. Using bench enable-scheduler

If you have any questions please let me know