# Increment Customer Name

**URL:** <https://www.epiusers.help/t/increment-customer-name/45039>\
**Category:** Epicor ERP 10\
**Tags:** e10\
**Created:** [June 1, 2018, 1:54pm UTC](https://www.epiusers.help/t/increment-customer-name/45039 "2018-06-01T13:54:59Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evan\_Purdy](https://www.epiusers.help/user_avatar/www.epiusers.help/evan_purdy/32/69101_2.png) [@Evan\_Purdy](https://www.epiusers.help/u/Evan_Purdy)\
**Post date:** [June 1, 2018, 1:54pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/1 "2018-06-01T13:54:59Z")

</div>

I want to make it so when a new customer is created the customer ID defaults to the first two characters of the customer name and then an index that automatically increments. What would be the best way to go about this?

---

<div class="post-metadata">

**Author:** ![knash](https://www.epiusers.help/user_avatar/www.epiusers.help/knash/32/74179_2.png) [@knash](https://www.epiusers.help/u/knash)\
**Post date:** [June 1, 2018, 2:07pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/2 "2018-06-01T14:07:45Z")

</div>

Do a quick search @timshuwy has put together a few documents that will get you what you a looking for.

---

<div class="post-metadata">

**Author:** ![Evan\_Purdy](https://www.epiusers.help/user_avatar/www.epiusers.help/evan_purdy/32/69101_2.png) [@Evan\_Purdy](https://www.epiusers.help/u/Evan_Purdy)\
**Post date:** [June 1, 2018, 2:10pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/3 "2018-06-01T14:10:46Z")

</div>

I did an advanced search on @timshuwy with the keyword “increment” and got no results. Could you link them for me?

Things I have found via google have used a BPM with custom code. I cannot use custom c# in a BPM as I am a SaaS user…

---

<div class="post-metadata">

**Author:** ![knash](https://www.epiusers.help/user_avatar/www.epiusers.help/knash/32/74179_2.png) [@knash](https://www.epiusers.help/u/knash)\
**Post date:** [June 1, 2018, 2:13pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/4 "2018-06-01T14:13:14Z")

</div>

I was referring to this. Not sure about SaaS

> **[Auto Numbering - Customer ID](https://www.epiusers.help/t/auto-numbering-customer-id/43884/10)**
>
> It has been fun seeing the document that i published YEARS ago roll around the internet on how to auto-assign customer/supplier/project ID. I made it to be public for that reason… but it has gone under many iterations. Method 1: I “invented” 25...

---

<div class="post-metadata">

**Author:** ![Evan\_Purdy](https://www.epiusers.help/user_avatar/www.epiusers.help/evan_purdy/32/69101_2.png) [@Evan\_Purdy](https://www.epiusers.help/u/Evan_Purdy)\
**Post date:** [June 1, 2018, 2:21pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/5 "2018-06-01T14:21:14Z")

</div>

Hm, both methods use custom c# code in a BPM. I wish the cloud version wasn’t so restricted, it makes it hard to get help. Every cool thing I see people doing with Epicor is impossible for me. 😥

---

<div class="post-metadata">

**Author:** ![Mark\_Wonsil](https://www.epiusers.help/user_avatar/www.epiusers.help/mark_wonsil/32/51594_2.png) [@Mark\_Wonsil](https://www.epiusers.help/u/Mark_Wonsil)\
**Post date:** [June 1, 2018, 2:30pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/6 "2018-06-01T14:30:55Z")

</div>

Evan,

Talk to your CAM about moving to Dedicated Tenancy where you don’t see these limits. At Insights, they talked about changed to the Multi Tenant program but I’m not sure what they entail.

Mark W.

---

<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:** [June 1, 2018, 2:38pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/7 "2018-06-01T14:38:53Z")

</div>

I’ll check with a few people I know who’ve done similar and see if there are non C# alternatives.

---

<div class="post-metadata">

**Author:** ![timshuwy](https://www.epiusers.help/user_avatar/www.epiusers.help/timshuwy/32/90122_2.png) [@timshuwy](https://www.epiusers.help/u/timshuwy)\
**Post date:** [June 1, 2018, 2:41pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/8 "2018-06-01T14:41:00Z")

</div>

Yup… this is one reason I am moving to an “All Widgets whenever possible” direction. I worked on a version without C# (it is possible) but never got it to a point i could publish.

---

<div class="post-metadata">

**Author:** ![Evan\_Purdy](https://www.epiusers.help/user_avatar/www.epiusers.help/evan_purdy/32/69101_2.png) [@Evan\_Purdy](https://www.epiusers.help/u/Evan_Purdy)\
**Post date:** [June 1, 2018, 7:51pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/9 "2018-06-01T19:51:57Z")

</div>

If its possible, could you point me in the right direction? 🙇‍♂️

---

<div class="post-metadata">

**Author:** ![Evan\_Purdy](https://www.epiusers.help/user_avatar/www.epiusers.help/evan_purdy/32/69101_2.png) [@Evan\_Purdy](https://www.epiusers.help/u/Evan_Purdy)\
**Post date:** [June 1, 2018, 7:56pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/10 "2018-06-01T19:56:39Z")

</div>

> [@Mark\_Wonsil](#):
>
> At Insights, they talked about changed to the Multi Tenant program but I’m not sure what they entail.
> 
> Mark W.

Probably additional restrictions 🙄

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [June 1, 2018, 8:25pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/11 "2018-06-01T20:25:52Z")

</div>

Can I ask why you need the ID to be linked like that? If you are looking for an easy way to cross reference by name check out predictive search. If you have access to epic web this shows you how to set it up. Then you can start typing the first letters of a customer name and get a short list to pick the ID from.

[https://epicweb.epicor.com/Education/OnlineHelpFeatureSummary/Epicor%20ERP%2010/10.2.100/Help/enu/Standard/Tools\_Searches/PredictiveSearch.html](https://epicweb.epicor.com/Education/OnlineHelpFeatureSummary/Epicor%20ERP%2010/10.2.100/Help/enu/Standard/Tools_Searches/PredictiveSearch.html)

---

<div class="post-metadata">

**Author:** ![timshuwy](https://www.epiusers.help/user_avatar/www.epiusers.help/timshuwy/32/90122_2.png) [@timshuwy](https://www.epiusers.help/u/timshuwy)\
**Post date:** [June 1, 2018, 8:39pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/12 "2018-06-01T20:39:26Z")

</div>

Guess its time for one of my mini-rants…  
😁

1. Customer ID is intentionally designed in Epicor to be Freeform…
2. You are allowed to EDIT (ie… CHANGE) the customer ID, EVEN AFTER they have placed orders, invoices, processed payments, etc, and you will not loose any history.
3. the customer ID should therefore NOT be a random number, but instead should be something that the regular users of the customer can easily remember (Yes, as @Banderson pointed out… you CAN search, and can setup predictive search… but we all know that people can and will remember things like their customer’s id… if you are going to use predictive search, they why worry about the CustID at all? Why don’t we just display the invisible Customer NUMBER?

For the reasons above, I have always promoted that the customer ID be something people can remember.  
“CalPanel” = California Panel Company  
“PlatSoft” = Platinum Software Corp  
“DW” = Dataworks Software  
“WM” = WalMart  
“WM-SC” = Walmart San Clemente

Question: What if PlatSoft merges with DW… what do you do?  
Answer: Change CustID DW to EPICOR… change their name to “Epicor Software Corp” and deactivate PlatSoft

Question: What if someone cant remember “CalPanel” and they want to call it “CP”  
Answer: Change the CustID to anything you want.

IMHO, people put far too much meaning into the “CustID” field… it is just a way to quickly recall a customer by typing in an ID.

OK… Mini-rant Over… you may return to your regularly scheduled work.

---

<div class="post-metadata">

**Author:** ![Mark\_Wonsil](https://www.epiusers.help/user_avatar/www.epiusers.help/mark_wonsil/32/51594_2.png) [@Mark\_Wonsil](https://www.epiusers.help/u/Mark_Wonsil)\
**Post date:** [June 1, 2018, 8:50pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/13 "2018-06-01T20:50:45Z")

</div>

Not to be a suck-up, but I agree with Tim. It’s not like there isn’t search. The only time you MUST set a supplier or customer ID to a particular value is for inter-company trading.

If you don’t like the Customer ID’s or Supplier IDs, you can always export them, reassign them, and use DMT or a UBAQ to change them. They’re not like part numbers… Sometimes we get stuck on what the “old system” did and make our lives more difficult.

That’s as ranty as I’ll get.

---

<div class="post-metadata">

**Author:** ![Mark\_Wonsil](https://www.epiusers.help/user_avatar/www.epiusers.help/mark_wonsil/32/51594_2.png) [@Mark\_Wonsil](https://www.epiusers.help/u/Mark_Wonsil)\
**Post date:** [June 1, 2018, 8:51pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/14 "2018-06-01T20:51:44Z")

</div>

> [@Evan\_Purdy](#):
>
> Probably additional restrictions 🙄

Actually, more like DT is what I heard.

---

<div class="post-metadata">

**Author:** ![Evan\_Purdy](https://www.epiusers.help/user_avatar/www.epiusers.help/evan_purdy/32/69101_2.png) [@Evan\_Purdy](https://www.epiusers.help/u/Evan_Purdy)\
**Post date:** [June 5, 2018, 6:11pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/15 "2018-06-05T18:11:25Z")

</div>

Well, I don’t really care what the CustomerID’s are. I was just having a problem were certain special characters were causing BAQ’s to crash, and when I brought that up to my coworker I was told that we used to have something that automatically created a customer ID in certain format. (E9 days I think?)

While enforcing a naming scheme is one way to get around the problem, I think I will just have them change every customer that has the special characters in them while I wait for Epicor to fix the issue. They accepted the issue remarkably fast so hopefully it won’t be too long.

---

<div class="post-metadata">

**Author:** ![Evan\_Purdy](https://www.epiusers.help/user_avatar/www.epiusers.help/evan_purdy/32/69101_2.png) [@Evan\_Purdy](https://www.epiusers.help/u/Evan_Purdy)\
**Post date:** [June 5, 2018, 6:13pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/16 "2018-06-05T18:13:21Z")

</div>

> [@Banderson](#):
>
> If you are looking for an easy way to cross reference by name check out predictive search.

Hmm, that looks really cool. I don’t have the rights to set it up though.

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [June 5, 2018, 6:14pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/17 "2018-06-05T18:14:44Z")

</div>

> [@Evan\_Purdy](#):
>
> While enforcing a naming scheme is one way to get around the problem,

You can enforce validation restrictions in a BPM or customization without having to go all the way to auto creating ID’s. (And yes, Epicor should do this already if it isn’t allowed other places…)

edit: I do not know about restrictions on cloud though for what is available for that. I just know it’s possible in a lot of different areas.

---

<div class="post-metadata">

**Author:** ![MontyMan](https://www.epiusers.help/user_avatar/www.epiusers.help/montyman/32/5195_2.png) [@MontyMan](https://www.epiusers.help/u/MontyMan)\
**Post date:** [June 6, 2018, 12:21pm UTC](https://www.epiusers.help/t/increment-customer-name/45039/18 "2018-06-06T12:21:30Z")

</div>

Dear Brandon,  
I recommend this approach whenever an internal issue is found where the software is willing to accept values that will cause it not to work properly. In 10.0 we had an issue where a field (I think it was ship via) could have a length up to 32 characters, but if it was 31 or 32 then those packers could not be used to generate a bill of lading. So we fixed the cases where the data was already preventing, and installed a data directive to error-out if someone tried to create a new one.  
Best  
…Monty.
