# Add MtlQueue with Data Directive BPM

**URL:** <https://www.epiusers.help/t/add-mtlqueue-with-data-directive-bpm/60770>\
**Category:** Epicor ERP 10\
**Tags:** customization, e10, bpm\
**Created:** [October 14, 2019, 3:13pm UTC](https://www.epiusers.help/t/add-mtlqueue-with-data-directive-bpm/60770 "2019-10-14T15:13:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fkatsumi](https://www.epiusers.help/letter_avatar_proxy/v4/letter/f/a87d85/32.png) [@fkatsumi](https://www.epiusers.help/u/fkatsumi)\
**Post date:** [October 14, 2019, 3:13pm UTC](https://www.epiusers.help/t/add-mtlqueue-with-data-directive-bpm/60770/1 "2019-10-14T15:13:32Z")

</div>

I’m looking for a way to add Material Queue records based on table changes. The closest I can find is this post by Chris [https://www.epiusers.help/t/materialqueue-via-code/38886](https://www.epiusers.help/t/materialqueue-via-code/38886). I created a Data Directive BPM on PartBinInfo table as the trigger to add a record in MtlQueue table with Execute Custom Code. Can this be done?

---

<div class="post-metadata">

**Author:** ![gpayne](https://www.epiusers.help/user_avatar/www.epiusers.help/gpayne/32/55751_2.png) [@gpayne](https://www.epiusers.help/u/gpayne)\
**Post date:** [October 15, 2019, 4:16am UTC](https://www.epiusers.help/t/add-mtlqueue-with-data-directive-bpm/60770/2 "2019-10-15T04:16:12Z")

</div>

Yes, I have a DD on JobMtl when engineering adds material to a job to add a MtlQueue record, so their  
added material is delivered quickly.

---

<div class="post-metadata">

**Author:** ![itsme](https://www.epiusers.help/user_avatar/www.epiusers.help/itsme/32/67067_2.png) [@itsme](https://www.epiusers.help/u/itsme)\
**Post date:** [August 21, 2023, 4:03pm UTC](https://www.epiusers.help/t/add-mtlqueue-with-data-directive-bpm/60770/3 "2023-08-21T16:03:09Z")

</div>

Hi Greg,

Will you be able to provide more insights on this? Maybe if you can please share code or your approach on this. I am currently working on this to trigger it by a checkbox at JobMtl table. If it is set to true, it should get sent to material queue.

Thanks in advance.!
