Mon–Fri 08:30–17:30 WIB
Jl. Raya Bogor KM 26 No. 38, RT.2/RW.8, Susukan, Kec. Ciracas, East Jakarta, Special Capital Region of Jakarta 13750
Back to Blog
Technology & Business • November 13, 2026

Barcode Scanning for Factory Warehouse Goods Receipt: Validation Rules, Warning vs Hard Stop, and Audit Trail

Hifshan Riesvicky

12 min read
Barcode Scanning for Factory Warehouse Goods Receipt: Validation Rules, Warning vs Hard Stop, and Audit Trail

Barcode scanning for warehouse goods receipt is the process of matching the barcode on arriving goods against a receipt document in the system, then recording the quantity as incoming stock. Its quality depends on validation rules: conditions that must stop the scan (hard stop), conditions that only warrant a warning, protection against double scans, and an audit trail.

In many factory warehouses, receiving is still recorded on spreadsheets or paper and then retyped. Small mistakes such as a wrong part, a different unit of measure, or an excess quantity only surface when stock fails to reconcile. This article explains how to design validation rules for incoming-goods scans, which ones should block and which should only warn, and how to keep data clean when a scan is submitted twice.

The content describes general practice, not a standard and not a guarantee of results. Rules differ from plant to plant. To discuss your receiving flow, contact our team. An overview of receiving features in a WMS is in the WMS inbound and receiving article and on the WMS service page.

What Is Barcode Scanning for Warehouse Goods Receipt in a Factory?

Receiving barcode scanning is the step where a warehouse operator scans the barcode on goods or packaging as they arrive, and the system judges whether those goods may be accepted against the open document. Factory warehouse receiving is the whole activity of accepting raw materials or components from suppliers, from arrival until the stock is recorded.

A goods receipt is the document that proves goods were received, and it usually refers to a purchase order (PO). Incoming goods validation is the set of automatic checks applied to every scan: is the part active, is it on the document, is the unit of measure the same, and is the quantity reasonable.

The difference from manual entry is when the check happens. With manual entry, errors are found later by someone reconciling data. With validated scanning, errors are rejected or flagged while the goods are still at the receiving desk, when correction is cheapest and the physical evidence is still there. The supplier and the person who delivered the goods are also still present, so a discrepancy can be discussed on the spot.

How Does the Incoming Scan Flow Work from PO to Stock?

The common flow starts with purchasing. A purchase request (PR) is approved, a PO is issued, and a receipt is opened for that PO. The warehouse operator selects the open receipt, scans the barcode, enters the quantity, and presses Enter. The system validates, saves, and returns the cursor to the barcode field so the next scan can start immediately.

The flow rests on one principle: the receipt document exists before the goods arrive. That gives the system a reference for every scan, namely the expected parts, units, and quantities. Without a reference document, validation can only check very basic things, such as whether the barcode was readable, not whether the item was actually ordered.

Each successful scan adds one receiving transaction and raises the received quantity on the document. When every line is fulfilled, or when an authorized user closes it, the receipt status changes and further scans are rejected. Details of opening and closing documents are covered in the WMS inbound module article.

Which Validations Should Stop a Scan?

A hard stop is a rule that rejects the scan outright. Use hard stops for conditions that make the data certainly wrong or indefensible, not merely unusual. The table below lists example conditions and the reasoning. These are general examples; each plant adapts them to its receiving policy and the kinds of goods it receives. Every row should have a reason that can be explained to the operator, not just a prohibition.

ConditionTypeReason
Inactive partHard stopA part no longer in use must not add stock
Part not on the receipt documentHard stopGoods that were not ordered must be handled through another process
Different unit of measure (UOM)Hard stopQuantities in different units corrupt stock when summed
Receipt already closedHard stopA closed document must not change
Duplicate barcodeHard stopThe same barcode must not be counted twice
Quantity above thresholdWarningMay be legitimate, needs a recorded reason

When Is a Warning Enough and When Must It Be a Hard Stop?

The practical rule: if a condition is almost certainly a data error, make it a hard stop; if it can legitimately happen on the floor, make it a warning with a mandatory reason. Warning vs hard stop in scanning is really about who gets to decide. A hard stop means the system decides. A warning means the operator decides, leaving a trace.

A quantity above the order is an example of a warning. Suppliers sometimes ship more because of standard packaging, and the plant may choose to accept it. The operator may continue after recording a reason, such as excess packaging, so the decision can be traced later. The supplier can then be asked to explain using the same record.

Avoid two extremes. If every condition becomes a hard stop, operators look for workarounds outside the system. If every condition becomes a warning, validation loses its purpose. The quantity threshold considered excessive should be kept as adjustable configuration, not a number buried in the program. That way policy can change without changing code.

How Do Idempotency Keys Prevent Double Scans?

Rescanning the same barcode

An operator may scan the same barcode twice, unsure whether the first scan worked or because the hand moved again. The duplicate-barcode rule rejects the second scan as a hard stop, so one physical barcode is counted once. This is common with operators working fast, especially when goods arrive stacked and the queue at the receiving desk is long. The rejection message should state clearly that the barcode is already recorded, so the operator does not think the system is broken.

The rule protects stock from inflation caused by habit, without burdening operators with extra checks outside the scan screen. It assumes barcodes are unique per package or unit according to plant rules. If one barcode is legitimately used for many identical packages, the duplicate rule must be adapted to that labeling approach, not simply switched off.

Resending the same request

Another problem arises on the network. A scan request can be sent twice because of an unstable connection or a repeatedly pressed button. An idempotency key is a unique identifier created by the client for one scan intent. When the server receives a request with the same key, it returns the earlier result and adds no new transaction.

This makes resending safe. The operator does not need to wonder whether the scan went through, and stock does not increase twice. Operators are also not tempted to retype the same quantity just in case. Idempotency complements the duplicate-barcode rule: one guards against operator habit, the other against network behavior. The key is usually created when the operator starts a scan, reused if the same request is sent again, and created anew for the next scan. The server keeps keys and results long enough, with the duration set as configuration, not a fixed number in the program.

What Should an Audit Trail Record for Scans?

An audit trail is a chronological record showing who did what, when, and on which document. For receiving scans, record every attempt, successful or rejected, because rejections are often more informative than successes.

  • User identity and scan time, in a consistent time zone.
  • The receipt document and the line targeted.
  • Barcode, part, unit, and the quantity entered.
  • The validation result: accepted, warning, or hard stop, with the reason.
  • The reason typed by the operator when continuing past a warning.
  • The idempotency key, so resends can be recognized.

This record answers questions that typically arise in an internal audit or a dispute with a supplier: when the goods were received, by whom, and why an excess quantity was accepted. Audit records should not be editable through ordinary screens. Corrections are made with a new transaction that is also recorded, not by overwriting old records, so the history stays intact and can be defended to internal auditors and suppliers alike.

How Do You Make the Scan Screen Fast for Warehouse Operators?

The scan screen is used many times a day, often one-handed and under time pressure. Design a short sequence: scan the barcode, enter the quantity, press Enter. After a valid scan is saved, focus returns automatically to the barcode field so the operator never needs to touch a mouse or the screen.

Error messages should state the cause and the next action, not a technical code. Distinguish warnings from hard stops with text and icons, not color alone. A warning shows a reason field and a continue button; a hard stop shows only an explanation with no continue button.

Also show context that helps the decision: the part name, the ordered quantity, and the quantity already received. An operator who sees those numbers can judge immediately whether a warning makes sense, without opening another document. A readable screen also reduces the habit of pressing continue without reading the warning, especially when the queue is long.

Case Study: The Receiving Flow in DAISHIN

Automata is building DAISHIN, a web-based warehouse and manufacturing system for PT Shinko Kogyo Indonesia, a manufacturing company. The system is in development and will replace a workflow based on Excel and VBA. No operational results are claimed; what is described here is behavior that has been implemented.

Receipts open when a PO is issued, following the flow of PR, approval, PO, then goods receipt. The operator scans the barcode, enters the quantity, and presses Enter; a valid scan is saved immediately and focus returns to the barcode field. A quantity above the threshold gives a warning that may continue after a reason is recorded. An inactive part, a part not on the document, a UOM mismatch, a closed receipt, and a duplicate barcode are hard stops. Retrying a request with the same idempotency key returns the previous result, and every scan is audited. This describes the behavior of a system under construction, not usage results, and the rules can be adapted to each plant's policy.

10-Step Checklist for Designing Receiving Scan Rules

  1. Make sure the receipt document is already open before goods arrive, sourced from an issued PO, so every scan has a reference.
  2. List every rejection condition: inactive part, not on the document, different UOM, closed document, duplicate barcode.
  3. Separate hard stops from warnings with one question: can this condition legitimately happen on the floor? If yes, make it a warning.
  4. Keep the quantity threshold as adjustable configuration.
  5. Require a written reason for every warning that is continued, and store it with the transaction.
  6. Use an idempotency key on every scan request.
  7. Reject duplicate barcodes with a clear message.
  8. Record every scan attempt, including rejected ones, in the audit trail with the reason.
  9. Return focus to the barcode field after a valid scan.
  10. Test with real data and bad situations: double scans, a network drop mid-scan, a document closed while the operator is working, and excess quantity.

Common Mistakes in Incoming Scan Validation

  • Every condition made a hard stop. Operators look for workarounds outside the system.
  • Every condition made a warning. Validation no longer prevents errors.
  • The warning reason may be left blank. Decisions cannot be traced.
  • No protection against double scans. Stock inflates unnoticed.
  • Only successful scans are recorded. Repeated rejection patterns stay invisible.
  • Thresholds buried in the program. Every policy change needs a code change and a new release.

These mistakes share one habit: treating validation as a formality, when it is the only point at which data can still be fixed cheaply. Good validation sides with the operator, because it prevents problems before they become correction work. Clear rules also cut debate at the receiving desk, since a clear decision comes from a rule, not from an individual's judgment. Receiving scan results also feed vendor KPI calculation, and goods that have been received are issued under the equally strict rules in FIFO issuing per lot.

Frequently Asked Questions

What is barcode scanning for warehouse goods receipt?

Barcode scanning for warehouse goods receipt is scanning the barcode of arriving goods to match it against a receipt document, then recording it as incoming stock. The system checks part, unit, and quantity at scan time, so errors are rejected or flagged before they enter stock.

What is the difference between a warning and a hard stop in scanning?

A hard stop rejects the scan outright and is used for conditions that are certainly wrong, such as an inactive part or a duplicate barcode. A warning lets the operator continue after recording a reason, and is used for conditions that can be legitimate, such as a quantity above the order.

How do you prevent double scans on a slow network?

Use an idempotency key on every scan request. When the server receives a request with the same key, it returns the earlier result and adds no new transaction. The duplicate-barcode rule complements it for rescans by the operator.

What should a receiving scan audit record?

Record the user, time, target document and line, barcode, part, unit, quantity, validation result with its reason, the warning reason, and the idempotency key. Record rejected scans too, because rejection patterns help find process problems.

Is DAISHIN already in use at the factory?

No. DAISHIN, the warehouse and manufacturing system Automata is building for PT Shinko Kogyo Indonesia, is still in development. This article only describes behavior that has been implemented, without claims of operational results.

How do we start applying receiving barcode scanning in our warehouse?

Start by mapping your receiving flow and deciding which conditions are hard stops and which are warnings. To discuss your needs, contact our team for a demo through the contact page. Our WMS approach is on the WMS service page.

Found this helpful? Share with your network.