Scheduled Tasks for consolidating data from 3rd party systems

Hi,

I’d like to setup some daily/hourly jobs to pull in data from a few external systems for later use in erpnext. First, any guidance of existing ways where this is done / custom apps doing this would be much appreciated.

In short, some examples of things I’d like to weave in, either build entirely in erpnext/frappe or pushing via separate job-runner → api.

  • Slurping logs from UPS & FedEx to allow searching tracking-no’s in erpnext for later association with Purchase Receipts.

  • Importing & pre-populating ranges of serial-numbers created in manufacturing environments / MES systems for later use when validating integrity during stock operations.

Optimally, batch-data like this would be queued up unprocessed, run through validation in case manual attention is needed and/or put in a work flow for manual accept and retry / conflict resolution when needed.

best
David

You can add hooks to the frappe scheduler which uses celery for queing

https://frappe.io/help/hooks

Check how this is used in ERPNext

Great, thanks!

Any existing ways/views to list jobs pending and histor (queued, failed, success, etc)?

And best approach on how to store temporary for later validation via a semi-manual workflow, see my original post. Custom app/module?

David

bench doctor will show your status

Failed jobs will go to Scheduler Log

For custom help, can you consider Not Found

thanks! I’ll get in touch regarding the assisted dev. good idea!