# Auto print EDI not working

**URL:** <https://www.epiusers.help/t/auto-print-edi-not-working/44451>\
**Category:** Epicor ERP 10\
**Created:** [May 5, 2018, 11:15am UTC](https://www.epiusers.help/t/auto-print-edi-not-working/44451 "2018-05-05T11:15:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hally](https://www.epiusers.help/user_avatar/www.epiusers.help/hally/32/1263_2.png) [@Hally](https://www.epiusers.help/u/Hally)\
**Post date:** [May 5, 2018, 11:15am UTC](https://www.epiusers.help/t/auto-print-edi-not-working/44451/1 "2018-05-05T11:15:46Z")

</div>

I’ve been working on a bit of a custom bpm to create a file for EDI. I have been following the EDI\Demand management. So for a test I thought I’d just create the Auto Print on the Data Directive, configure the EDI report and setup the customer document. When I post the invoice I can see that the EDIready field has changed to true, but nothing prints. I can confirm if I do a reprint of the invoice and select the EDI report style it generates the file. For some reason the data directive does not fire.

Looking for some pointers on how I can track this down. Any assistance appreciated.

---

<div class="post-metadata">

**Author:** ![danbedwards](https://www.epiusers.help/letter_avatar_proxy/v4/letter/d/9f8e36/32.png) [@danbedwards](https://www.epiusers.help/u/danbedwards)\
**Post date:** [May 5, 2018, 2:03pm UTC](https://www.epiusers.help/t/auto-print-edi-not-working/44451/2 "2018-05-05T14:03:20Z")

</div>

Does your condition look like this?  
 ![image](https://epiusers.help/uploads/default/original/2X/3/32e9edf186a510eb4e5bc92e16c3b633fa595ea5.png)  
Does the Auto Print look like this?  
 ![image](https://epiusers.help/uploads/default/original/2X/1/1aca41c3ebfc6b5593befeea76b600b6d69cf55c.png)

![image](https://epiusers.help/uploads/default/original/2X/3/3245e991680c220e3c61a9bedbb161b2fea44771.png)

![image](https://epiusers.help/uploads/default/original/2X/8/80ca8fa18e4c92577bbde07571322f0ceaf4aa2a.png)

---

<div class="post-metadata">

**Author:** ![Hally](https://www.epiusers.help/user_avatar/www.epiusers.help/hally/32/1263_2.png) [@Hally](https://www.epiusers.help/u/Hally)\
**Post date:** [May 5, 2018, 11:43pm UTC](https://www.epiusers.help/t/auto-print-edi-not-working/44451/3 "2018-05-05T23:43:46Z")

</div>

Dan,  
I think you hit the nail on the head. It is now working. Thanks very much. Just now need to move my linqpad code over and I think I’ll have a winner. I appreciate your time for taking the screen shots.

The condition in the technical document is that threw me off. It shows.

 ![image](https://epiusers.help/uploads/default/original/2X/6/66a0be02c1debe9a6581990a836befa69fca1c01.png) But that was taking from a shipment context to an invoice, which I should have considered.

Thanks again.
