# BPM for Shipment Notification Email

**URL:** <https://www.epiusers.help/t/bpm-for-shipment-notification-email/40380>\
**Category:** Epicor ERP 10\
**Created:** [September 15, 2017, 10:24pm UTC](https://www.epiusers.help/t/bpm-for-shipment-notification-email/40380 "2017-09-15T22:24:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Randy](https://www.epiusers.help/user_avatar/www.epiusers.help/randy/32/51539_2.png) [@Randy](https://www.epiusers.help/u/Randy)\
**Post date:** [September 15, 2017, 10:24pm UTC](https://www.epiusers.help/t/bpm-for-shipment-notification-email/40380/1 "2017-09-15T22:24:57Z")

</div>

I have a BPM to sends the email worked out, but how did you tackle shipments that were phantom packed and have multiple Tracking numbers? (CartonTrkDtl)

---

<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:** [September 16, 2017, 3:49am UTC](https://www.epiusers.help/t/bpm-for-shipment-notification-email/40380/2 "2017-09-16T03:49:10Z")

</div>

We do a external nightly process ( still in E9 ) that does an email per customer. Two sections Packages and Contents per packnum.

Greg

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

---

<div class="post-metadata">

**Author:** ![Randy](https://www.epiusers.help/user_avatar/www.epiusers.help/randy/32/51539_2.png) [@Randy](https://www.epiusers.help/u/Randy)\
**Post date:** [September 16, 2017, 12:18pm UTC](https://www.epiusers.help/t/bpm-for-shipment-notification-email/40380/3 "2017-09-16T12:18:25Z")

</div>

That’s near the format they want, so good to know there is a way. 😉

---

<div class="post-metadata">

**Author:** ![hkeric.wci](https://www.epiusers.help/user_avatar/www.epiusers.help/hkeric.wci/32/52019_2.png) [@hkeric.wci](https://www.epiusers.help/u/hkeric.wci)\
**Post date:** [September 16, 2017, 12:23pm UTC](https://www.epiusers.help/t/bpm-for-shipment-notification-email/40380/4 "2017-09-16T12:23:26Z")

</div>

Starter Pack =P [Email Template Again - Pulling the Company Settings · GitHub](https://gist.github.com/hasokeric/8de176aa70df78650d40d5d7987727f2)

---

<div class="post-metadata">

**Author:** ![Randy](https://www.epiusers.help/user_avatar/www.epiusers.help/randy/32/51539_2.png) [@Randy](https://www.epiusers.help/u/Randy)\
**Post date:** [September 16, 2017, 12:32pm UTC](https://www.epiusers.help/t/bpm-for-shipment-notification-email/40380/5 "2017-09-16T12:32:36Z")

</div>

Thanks @hkeric.wci. This will give me some good help.

---

<div class="post-metadata">

**Author:** ![hkeric.wci](https://www.epiusers.help/user_avatar/www.epiusers.help/hkeric.wci/32/52019_2.png) [@hkeric.wci](https://www.epiusers.help/u/hkeric.wci)\
**Post date:** [September 16, 2017, 12:36pm UTC](https://www.epiusers.help/t/bpm-for-shipment-notification-email/40380/6 "2017-09-16T12:36:56Z")

</div>

It should atleast help you with the HTML Table =) you can always improve upon it. It also uses the Email Address and Name from the Company Configuration.

 ![2017-09-16_0836](https://epiusers.help/uploads/default/original/2X/6/6f00a2b708d7c53511a7cc0b32b1504b6829dc94.png)

---

<div class="post-metadata">

**Author:** ![Randy](https://www.epiusers.help/user_avatar/www.epiusers.help/randy/32/51539_2.png) [@Randy](https://www.epiusers.help/u/Randy)\
**Post date:** [September 16, 2017, 3:23pm UTC](https://www.epiusers.help/t/bpm-for-shipment-notification-email/40380/7 "2017-09-16T15:23:25Z")

</div>

I’ll circle back around for the HTML, I couldn’t get it to work with the code I’d already was using so used a simple concatenate to get the Cartons & ShipDtl data.

I have to work on the Sales Order notification, they want that one with the PDF of the sales order acknowledgement so a bigger deal right now.

```
The Tracking Number(s) for your shipment from Southern Imperial:
	Carton Number 1	Tracking Number z1234
 	Carton Number 2	Tracking Number z4567

The following items were shipped:
	Order 10700	Line 1	Part 123456789	Quantity 4	Purchase Order 987654
	Order 10700	Line 2	Part 1234589-A	Quantity 2	Purchase Order 987654
```
