Setup EDI Batches
D365 batches provide the ability to schedule the various processes involved with the EDI module. To reduce the number of batches and simplify the configuration and maintenance a batch control group form has been provided in which the EDI batch groups can be controlled from.
The EDI module process flow is made up of 5 basic steps:
Process | Description |
---|---|
Inbound documents | |
Import | Files are retrieved and imported into the modules inbound file staging area |
Process to staging | Files in the inbound file staging area are read and transformed based on the templates into the EDI document type staging tables |
Process to target | The EDI document type staging tables are processed to their target D365 documents and business functions are performed. |
Outbound documents | |
Process to outbound | EDI document type staging table records are processed based on the templates and files are generated into the outbound file staging area |
Export | Files in the outbound file staging area are exported. |
Each of these steps has a batch job that can be scheduled to automate it. Each of these batch jobs is run per company or multiple companies; and will run over all enabled EDI document types. This has the following advantages:
Users can access the form by navigating to EDI > Setup > Batch control group.
For each of the 5 steps above, a separate fast tab will be displayed. For each step:
Ongoing maintenance is an important aspect of D365 batches. The batch control form provides a status on the header of each fast tab as well as a link to the underlying batch job in the standard D365 form in which the standard batch logs can be found and updated.
Outbound staging records can be created either by:
The following section will describe the setup required for scenario 2.
Users can access the form by navigating to EDI > Periodic tasks > Export batch jobs.
Create a new Export batch job by: