Generate Warehouse Shipping Order (940 EDI) file from Epicor

Good Evening,

This question revolves around Epicor EDI functionality.

Currently, we generate an EDI 940 flat-file from a post process BPM method on the Erp.OrderAllocation.AutoAllocation BPM. It looks at the allocated rows in the MtlQueue table, and builds the lines in the file from those rows. This works for the most part, however it does occasionally generate duplicate 940 files. Is there a better spot in the system to place this functionality?

The logic does check to make sure the row has not already been allocated, but if more than one person is allocating at a time in the Fulfillment Workbench, it still manages to grab the same orders.

Does anyone do this differently? Thanks! :slight_smile: