i’m quite new, using dolibarr 19.0.2.
i’m going step by step, since 6 months now. i’m at the point that i would to have an automatic Replenishment of stock items.
i’d like that the purchease orders get automatically created,
may i trigger create orders by cron/api
yes, you can create orders through the API, but there might be a module that can do actions, though I don’t remember the name of that module because I don’t use it
Briefly: you must know which function must be called on which PHP file and put it there. Sincerely, I don’t know which function and file you need to call to generate self-replenishment purchase orders. Making a bit of searching in the code you will find “easily”.
By the way: this mechanism will work for you if you need or prefer to create your own PHP script to do other things. So is quite powerful and YOU DON’T NEED API’s neither MAKEs or ZAPIERs