To process EDI Transactions through Scheduled Action (Cron)
From the scheduled action, all EDI transactions in the draft state are processed based on the type.
Incoming type: Records will be created in Odoo.
Outgoing type: Records will be exported/uploaded to FTP from Odoo. Based on the configuration table, the XML file will be uploaded to the directory specified in the configuration.
On successful EDI transaction processed that record will move to the done state, if any issue arises then it will move into the failed state & log will generated to check issue.
Scheduled Action
Incoming record created of Sale Order
Incoming record created of Purchase Order
Outgoing record: XML file is generated and exported to the configured FTP directory.