Automatic reorder works but rather slowly

I’m sorry, but my Python is a bit rusty.

I noticed that when I leave my local instance on for a day, the Material Request eventually appears.

Can you please explain how it is created? Is it a scheduled process that runs every 12 hours? Is it triggered by some (user) action? I can’t figure it out…