473,804 Members | 2,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating Account numbers and such

Does anyone know where I can get some info on creating customer account
numbers, part numbers and such. In other words what the logic is behind
their creation. I am not looking for code, just how they go about it. I
don't want to use something like a phone number or anything else that may
change over time. Any info would be greatly appreciated.

Thanks Matt
Nov 13 '05 #1
3 4613
Matt Smolic wrote:
Does anyone know where I can get some info on creating customer
account numbers, part numbers and such. In other words what the logic
is behind their creation. I am not looking for code, just how they go
about it. I don't want to use something like a phone number or
anything else that may change over time. Any info would be greatly
appreciated.

Thanks Matt


Some companies have "logic" behind them and some don't. Our company's customer
numbers are just plain old 6 digit numbers (no logic) whereas our part numbers
have a format of...

digits-digits-digit

....where the first set of digits identifies the part "family", the second is an
ordinal sequence (1,2,3), and the last digit indicates things like whether the
part is purchased versus fabricated, versus an assembly, etc..

I don't think you will find anything like "the bible of assigning numbers".
Just use whatever works for you.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
pks
Matt Smolic wrote:
Does anyone know where I can get some info on creating customer account numbers, part numbers and such. In other words what the logic is behind their creation. I am not looking for code, just how they go about it. I don't want to use something like a phone number or anything else that may change over time. Any info would be greatly appreciated.

Thanks Matt


You will need some incremental counter portion of the number. You can
begin with some type of identifying sequence, such as branch number or
year, and then an incremental sequence to make sure you don't have
duplicates. I have some people who liked specifying the month the
client record was created (format mmy or mmyy) or just the year (yyyy
or yy) or the date (yymmdd). On your counter, make sure you have
enough digits to ensure room for growth. A 5 digit counter will allow
for 100,000 customers where 6 digits will handle 1,000,000 records.
That counter can count up separately for each branch/year/whatever, or
you can use a system-wide pool of numbers.

You do NOT want to use this customer ID as the primary key, since the
customer numbers WILL at some point change. (They will, just count on
it.) Indexed and no duplicates is fine, but the PK should be invisible
to the average user since they always find a "good" reason that a
different number should be assigned.

Part numbers. I would probably want some portion of that number to
reflect the vendor I purchase the parts from, maybe another portion if
you have a department or function that uses the part (exhaust system,
a/c system, general use?) and then some incremental counter. Again,
don't use this part number as the primary key as somebody somewhere
will want to change it.

Nov 13 '05 #3
Since you can query a table on any column, why use such compound numbers at
all? A simple number will suffice to identify a customer, part, etc.. Use
a compound number to maintain compatability with an existing system, if the
user insists on it, or some other good reason.

This subject is touched on here, which I just happened to be looking at the
other day, although it is concerning a different topic:
http://www.sqlteam.com/item.asp?ItemID=2599

I believe that there are other websites in existence which deal with
normalization and such that might also delve into this concept, but I think
they would generally advise against using compound numbering schemes.

I could see this being an advantage if the identifier were "nemonic" in
nature. For example, you could use a 4-letter code to identify customers,
so DuPont would be DUPO and General Motors would be GEMO or something like
that and the users of the system would get to know the customer codes of
regular customers so they wouldn't have to look them up. But something
along the lines of DUPO12345678 would involve looking up the customer
anyway.

"Matt Smolic" <sm****@emeryte lcom.net> wrote in message
news:10******** *****@corp.supe rnews.com...
Does anyone know where I can get some info on creating customer account
numbers, part numbers and such. In other words what the logic is behind
their creation. I am not looking for code, just how they go about it. I
don't want to use something like a phone number or anything else that may
change over time. Any info would be greatly appreciated.

Thanks Matt

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1934
by: David Berry | last post by:
Hi All. I'm trying to write an ASP page that shows me the UNIQUE account number for a customer (so I can pass it to another page) based on a search criteria. For example, I want to do a select statement on the customer table and orders table (joining on the ACCTNO) for all "Video" products. Ex: sq = "SELECT CUSTOMER.ACCTNO, CUSTOMER.NAME FROM CUSTOMER INNER JOIN ORDERS ON CUSTOMER.ACCTNO = ORDERS.ACCTNO WHERE PRODUCT_TYPE = 'Video' "...
0
1819
by: Wayne Gibson | last post by:
Hi all, Please ignore the other post.. The cat jumped on the machine and sent it before I could stop it!! Was wondering if anybody has expericence this problem.. I am writting an application in C# using windows forms, to create windows user profiles and then updating the registry information for the new profiles. I have managed to create the user successfully and thought that I was
4
1938
by: sp | last post by:
Hello everybody, How can I create xsl for the following xml? ******************************************************* <?xml version="1.0"?> <result state="success"> <row> <column name="isbn">0-226-56737-0</column> <column name="commenttext">There is a popular and romantic myth about Rembrandt and the Jewish people. One of history's greatest artists, we are
1
1507
by: Andre Ranieri | last post by:
I'm designing an extranet web site that customers will use to log in and see their account history, make payments against their balance, etc. I've declared a strongly typed DataSet as a public static object in the main accounts page - "public Customer.DataSet dsMyData = new Customer.DataSet();" and populate the tables with information about the account, services, etc which are referenced from the other pages as such: lblEMail.Text =...
7
8397
by: rcamarda | last post by:
I wish to build a table based on values from another table. I need to populate a table between two dates from another table. Using the START_DT and END_DT, create records between those dates. I need a new column that is the days between the date and the MID_DT The data I wish to end with would look something like this: PERIOD DATE DAY_NO 200602 2005-07-06 -89 200602 2005-07-07 -88 200602 2005-07-08 -87
5
1864
by: Kosmos | last post by:
Hey :) hopefully someone can help me with this...I decided to take on the task of programming an access database for my legal co-op/internship...I'm studying law and music production on the side...most of the background I have in programming has to do with music production... The program I'm creating pulls data from an excel sheet (with defined fields) and brings them into an access database. The data being pulled is the following: ...
24
2672
by: Kosmos | last post by:
Hey guys I'm a newbie and in fact I'm not even a programmer but decided to take up the task of learning access and creating a database. And I've gotten pretty far in terms of importing from excel and taking serial numbers such as AXT209939300LT and just stripping them down to the number of 209939300 for example. So here's where I am confused...and I've asked this question a couple of times but I've given it more thought and I think this is the...
6
2728
by: JohnDoe528 | last post by:
In Access 2000, I have a table with the following columns: ID(pk); DateTime; CallerID; DNIS; AcctNumber1; ... AcctNumber15; The final 15 columns have different account numbers listed for the same ID/DateTime/CallerID/DNIS. However, not every ID has 15 account numbers, some IDs only have one, some have several (with the most being 15), and some have no account numbers at all. Example: ID: 1 DateTime: 200709230818411
6
2035
by: Pep | last post by:
Firstly, I'm not sure if this is the right group for this query, so please forgive me if I am wrong. My problem is that most users I distribute my software to cannot install it on their systems due to not having the correct administrator rights. I'm perplexed over this as I cannot reasonably ask corporations to allow the local secretary to have admin or power user rights just to install my software. My software is intended for user...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10599
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10346
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10090
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7635
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6863
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.