Assign lot numbers to production orders

Set up a lot numbering scheme, then fill in lot numbers on production order lines on confirm or by assigning them yourself.

In Uphance, you set up a lot numbering scheme, then fill in lot numbers on production order lines when you confirm an order or by assigning them yourself. Only the lines that don't have a lot number yet are filled in, in line order.

Before you assign lot numbers to production orders

Assign lot numbers to production orders

Set up your lot numbering scheme

Your scheme decides what each lot number looks like and how its sequence counts up. Every generated lot number is your prefix followed by the sequence, zero-padded to the width you choose.

  1. Choose a sequence scope of global or per production order; there's no blank option, so every scheme uses one or the other.
  2. Enter your prefix, adding {YYYY}, {YY}, {MM} or {DD} wherever you want the current date to appear in the lot number.
  3. Set the sequence padding to a whole number of 0 or more, which is the width the sequence is zero-padded to, with no padding at 0.
  4. Switch manual assignment off if you want lots assigned automatically when you confirm a production order, since a new scheme starts with it switched on.

Your settings save without the page reloading. With a global scheme, the form also shows a preview of the next lot number, taken from the global counter.

Assign lots to an order

Once your scheme is in place, lot numbers go onto production order lines automatically when you confirm an order with manual assignment switched off. You can also assign them yourself on any confirmed order.

  1. Go to Production / Purchasing > Production Orders. Open a production order and confirm it; if manual assignment is switched off, lots are assigned automatically as you confirm, unless it's a sample order. Production / Purchasing > Production Orders in the left menu
  2. To assign lots yourself on a confirmed order, open the Assign lots dialog, which shows the next lot number preview and lists each line item with its total quantity, whether it already has a lot or is pending, and its lot number.
  3. Click the Assign lots button in the dialog to fill in the lines that are still pending.

Each line that had no lot number now carries one, filled in line order, and the line keeps both its sequence and its lot number. Lines that already had a lot number are left as they were.

Good to know

If something goes wrong

Common questions

Why aren't lot numbers assigned when I confirm a production order?

Confirming a production order assigns lot numbers automatically only when lot numbers are enabled for your organization and the scheme's manual assignment is switched off. A new lot numbering scheme starts with manual assignment switched on, and a sample order never gets lot numbers on confirm.

How do I put the date or year in my lot numbers?

A lot number's prefix can include {YYYY}, {YY}, {MM} and {DD}, which are replaced by the current date. Each generated lot number is that prefix followed by the sequence, zero-padded to the padding width you set.

Why did a lot number skip ahead on a production order line?

Under a global lot numbering scheme, a lot number already used on any production order line in your organization is skipped and the next sequence is taken.

Why do lot numbers restart on each production order?

With a per production order scheme, each order's lot sequence counts up from that order's own highest lot sequence, so two different orders can carry the same lot number. The lot numbering settings form also offers a global sequence scope.

Why won't my lot numbering settings save?

The lot numbering scheme only saves with a scope of global or per production order, a whole-number padding of 0 or more, and a next lot counter of at least 1. When saving fails, a message lists what's wrong.