473,394 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 4594
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****@emerytelcom.net> wrote in message
news:10*************@corp.supernews.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
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...
0
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...
4
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...
1
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...
7
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...
5
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...
24
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...
6
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...
6
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...

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.