Hello, can anyone help me with making serial numbers in this way: When I purchase 10 chairs, I want to monitor all of it by having serial numbers each of those 10 and those 10 numbers should have the prefix “CHR-” if they are chairs. “TBL” if tables, the codes are associated with the item category. BTW, items have categories predefined by beforehand on the items by relationships. So when I will want to monitor these 10 chairs, I will only have to click the “generate control numbers” button and each of those purchased items get their own control numbers.
Unfortunately that's not where macro's go, it's a bit of a learning curve, take a look at this site how-to-automate-autocad-with-command-macros/ he covers the basics of macro's and gives a nice example of how and where to place them, there is also a link to the more traditional method. You might need to read through a couple of times but once understand it, macro's can be really useful, I'd be lost without them.
Sequential exit numbering usually begins with exit 1 at the beginning of the road; each subsequent exit is given the next number. Letter suffixes are commonly used when new exits are added. For example, on the New York State Thruway, an exit was added between 21 and 22, and was given the number 21A. Subsequently, a new exit was added between 21 and 21A, leading to the sequence 21 - 21B - 21A - 22. In Florida, some new exits got the suffix C, so that if it had or acquired separate exits for the two directions, they would be 15CA and 15CB rather than 15AB. There are also occurrences of this happening on the New Jersey Turnpike; the original interchanges opened in 1951, with newer exits as recently as 1982. On the Baltimore Beltway, there is an exit 12B-C (MD 372), as well as 12A (US 1). There is also an exit 8A (I-895) and an exit 8 (MD 168).
When generating invoice numbers based on the customer number, you can choose whether or not to include any date information. Either way, the number will begin with the customer number and then be followed by the date (if desired) and the sequence number. No matter how you decide to structure your invoice number, the sequence number always needs to come at the end. This makes it easiest to find and to differentiate from the others in its sequence.
An invoice number is simply a way to uniquely mark an invoice to help keep track of your business transactions. Consecutive or sequential invoice numbers help to ensure that each invoice is unique and each business transaction can be clearly and comprehensively organized and referenced – for accounting reasons as well as customer support. While a receipt is generally used as proof of payment and therefore documents a finalized sale, an invoice is a request for payment that includes more detailed payment or contact information in addition to pricing information for the goods or services rendered. Having a proper invoice numbering system helps you avoid duplicate payments that can amount to large losses for your company.
Yes, I have used this system in a multi-user setting. As noted, the key is to commit the record immediately after generating the sequence. However, if the application is one where there is very heavy transaction processing. In other words dozens of users creating records simultaneously, you might want to guard further against duplication. At the speeds computers process, it is not impossible that multiple users will grab the max value before it can be incremented and saved.

An exit can be numbered by where the exit in the direction of increased mileage leaves the freeway, or by where the road that the exit serves crosses the freeway (which is occasionally ambiguous). From this number, the integer exit number can be determined by rounding up, rounding down, or rounding to the nearest integer. Many jurisdictions prefer to avoid an exit 0.[citation needed] To this end, the numbers are either rounded up to get the exit number, or any exit that would get the number 0 is instead numbered 1. Examples of highways with an exit 0 are British Columbia Highway 1 on the mainland, Interstate 70 in Wheeling, West Virginia along the West Virginia–Ohio border, and Interstate 90 on the Montana side of the Idaho–Montana border.
This requires no pre-knowledge of a primary key and only assumes that when you load the form initially, it is already sorted. Any records newly inserted will get the next bigger number. However, if you requery and it causes the newly inserted rows to be re-sorted, they will be now given a new number that relates to their actual position within the set, which can be either good or bad, depending on your specific requirements.
When generating invoice numbers based on the customer number, you can choose whether or not to include any date information. Either way, the number will begin with the customer number and then be followed by the date (if desired) and the sequence number. No matter how you decide to structure your invoice number, the sequence number always needs to come at the end. This makes it easiest to find and to differentiate from the others in its sequence.
I've read a few posts which I thought would cover this but haven't been able to make anything work. Basically I have a piling layout with 350 piles on it which have to be numbered. I have done this by block and attribute and can edit the number to each one individually. However, If one pile gets added I have to renumber the subsequent ones to have a logical sequence for the builder. Not too much of a problem if is near the end of the numbers, but a real pain if it is near the top. The piles are not on  a regular grid either so I can't just select and move the numbers en bloc. Is there any way to speed this up in Acad LT 2013? It would save me hours of editing time.
The Artifact ID should NOT be your PK. There is no reason for it to be and to try and use it as such will be a headache. A primary key is simply a unique identifier for a record. Many purists will tell you that users should never see the PK and in your case, I would recommend that. Use an Autonumber as you PK and you can use that as your corresponding Foreign Key in related records. To prevent duplication you can make the combination of Collection Point ID and Artifact ID a unique, multi-field index. Then display the combination as I indicated where you need to show the user a record ID. This is all explained int he blog.
Sequential numbers can be printed almost anywhere on a sheet or form and can be positioned horizontally or vertically. Numbers can also be repeated in another position on the form. When developing your artwork, consider putting a box for numbering, making it easier for your customers or employees to find and reference a specific job or transaction. You may also differentiate your number by color. Most printers allow a choice of colors, typically black or red, to make your number stand out. Start your sequencing at any point you like, to pick up where you left off on your last print order.
×