Print a batch label on the production order, scan it on Picking List Registration
The client says: "When production makes a batch, we want a label on it. When the storeman picks, he should scan the label and the right batch should be on the picking list." Both halves are configuration on Barcode Assignment. Nothing is programmed.
The production order screen is labelled Manufacturing Order in the system. Its process code is PCPO.
The label, before anything else
A batch label is 06 followed by the batch number. Batch B2401 is printed as the code 06B2401, with B2401 as the readable text underneath.
The 06 is what makes it readable later. The delivered DEFAULT nomenclature has a rule that says a code starting with 06 is a lot, and what follows is the lot number. See the batch label worked through.
Why there is no Print on the header
Generate barcode on a document builds a code from the document's header fields. A batch number is not a header field of the production order. It sits on the lines of the batch grid, and one order can have several. So the label is offered where the batch is: on the cell.
Configure it
Open Barcode Assignment for the company. Create the document if the company has none.
Half one: the Print link on the production order
- Add a process line. Screen
PCPO. Purpose: print batch labels. - Tick Generate Enabled and Active. Leave Symbology empty for
code128. - Click Actions on that line and add one action line with these values.
| Field | Value |
|---|---|
| Sequence | 1 |
| Action | PRINTCELL |
| Grid | flexproductionorderbombatchbalancing |
| Column | batchnumber |
| Target | 06 |
| Active | Ticked |
Leave Context Activity and Scanned Entity Type empty. They are not used by a PRINTCELL line.
Half two: scanning on Picking List Registration
- Add a second process line. Screen
ICPL. Purpose: scan batches while picking. - Tick Scan Enabled and Active. Leave Nomenclature empty so the screen reads with
DEFAULT. - Add no action lines. Picking List Registration knows what a scanned batch means and handles it itself.
- Save. Close the two screens if they are open, and open them again.