# Receipt Entry - Bartender label

**URL:** <https://www.epiusers.help/t/receipt-entry-bartender-label/50109>\
**Category:** Epicor ERP 10\
**Tags:** customization\
**Created:** [November 28, 2018, 6:11pm UTC](https://www.epiusers.help/t/receipt-entry-bartender-label/50109 "2018-11-28T18:11:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![changchai](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@changchai](https://www.epiusers.help/u/changchai)\
**Post date:** [November 28, 2018, 6:11pm UTC](https://www.epiusers.help/t/receipt-entry-bartender-label/50109/1 "2018-11-28T18:11:15Z")

</div>

I created a BPM that triggers off when a line is received, and then print the label with the qty. However, I now have a need to be able to split the label with the specified qty. Example, if I receive 24 unit in 2 boxes, my user want to be able to specify 12 unit and print 2 labels.

 ![image](https://epiusers.help/uploads/default/original/2X/6/6bb8587eb1f460fc36503052999791fd38c98aa8.png)

I noticed that in Receipt Entry under Action and then Print Tag, that this provide exactly what I need. Is there a way I can invoke my BPM by creating a button and using the BPM to quick off the number of labels and qty per screenshot provided? I was thinking about just using the SSRS and print as a label, but only issue is that we have multiple sites with different label printer. Also depending on who’s printing the label from the same plant, they have their own specified label printer as well. So that’s why the BPM was created to begin with.

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [November 28, 2018, 6:38pm UTC](https://www.epiusers.help/t/receipt-entry-bartender-label/50109/2 "2018-11-28T18:38:14Z")

</div>

I did something similar at my previous employer. I used a BPM and BPM Form to accomplish the task. I however used manual creation of the BarTender trigger file.

---

<div class="post-metadata">

**Author:** ![changchai](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@changchai](https://www.epiusers.help/u/changchai)\
**Post date:** [November 28, 2018, 7:04pm UTC](https://www.epiusers.help/t/receipt-entry-bartender-label/50109/3 "2018-11-28T19:04:13Z")

</div>

Hi Chris,

I did see one of the post you posted. Will take a look at your example. Can probably use custom code to determine which plant and userid to determine which label printer it is. Will attempt and if stuck, will post.

---

<div class="post-metadata">

**Author:** ![changchai](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@changchai](https://www.epiusers.help/u/changchai)\
**Post date:** [November 28, 2018, 7:41pm UTC](https://www.epiusers.help/t/receipt-entry-bartender-label/50109/4 "2018-11-28T19:41:10Z")

</div>

Chris,

Is this the same thread you are referencing?

> **[Write to CSV with button. Used for Bartender](https://www.epiusers.help/t/write-to-csv-with-button-used-for-bartender/37650/4)**
>
> Brandon, That’s super easy! It has a few steps: Determine what printer (or allow user to select a printer) Compile the data you want on your label (to pass to bartender) - In you case, sounds like you already have your data in a grid so we just...

I think this may work and I am looking at your example. Seems you are pulling the fields from a datagridview. Would I use a BOReader to pull the data from the database then since there’s no datagridview?

Also another question is the datagridview in Print Tag is name “eugTag” and you have “LabelGrid”. When I test the code this is what I got.

> ‘Script’ does not contain a definition for ‘LabelGrid’ and no extension method ‘LabelGrid’ accepting a first argument of type ‘Script’ could be found (are you missing a using directive or an assembly reference?)

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [November 28, 2018, 8:50pm UTC](https://www.epiusers.help/t/receipt-entry-bartender-label/50109/5 "2018-11-28T20:50:23Z")

</div>

That is an example of writing your own BT trigger file. For the actual implementation, I created a BPM Data Form, added some controls (grid to hold parts, etc). I passed the expected data for qty/parts to the form so I could enforce data integrity. For example, if I expect 20 pieces of PartA. Then I can make any combination of labels\qtys that equaled 20 pieces:  
2 labels of 10  
or  
2 labels of 9 and 1 label of 2  
etc

---

<div class="post-metadata">

**Author:** ![changchai](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@changchai](https://www.epiusers.help/u/changchai)\
**Post date:** [November 28, 2018, 10:26pm UTC](https://www.epiusers.help/t/receipt-entry-bartender-label/50109/6 "2018-11-28T22:26:21Z")

</div>

Thanks Chris. I want to use the “Print Tag” under Action from the Receipt Entry form since that has some of those functionalities added already. Seems that if I click on each line received, it knows the qty amount that was received. I can then specify how many qty per container and Epicor automatically create the rows correctly. Example, if I received 1000qty and specify 400 per container, it generate 2 rows. One row with qty 400 and 2 labels and second row with qty 200 and 1 label.

![image](https://epiusers.help/uploads/default/original/2X/6/6066adb6a9894610c62a7803b8fe0f5db969df26.png)

Do you know how I can pull in the fields? Example, I would like to pull in the PartNum, Description, packslip, packline, receiptdate, etc?
