Using Batch Attributes to Stop Out-of-Spec Lots Shipping in Dynamics 365 Supply Chain Management
Customer-specific batch attribute ranges, attribute-based batch reservation, quality order blocking and an approved exception path, so each customer receives only batches inside their own specification.
To stop out-of-spec lots shipping from Dynamics 365 Supply Chain Management, put each customer's limits into the system and make shipping depend on them. Set customer-specific batch attribute ranges on top of the product ranges, for example a tighter moisture or purity band for one customer. Reserve sales order lines by batch using attribute-based batch reservation, so only batches whose recorded values fall inside that customer's range are offered. Block every batch with a quality order until its test results are recorded and update the batch attributes and disposition code from the results. Finally, route any shipment outside the range through an approved exception path: a recorded customer concession and quality approval, never a quiet manual override.
Why do out-of-spec lots still reach customers when batch attributes are set up?
Because the attributes are recorded but not used to decide what ships. The usual pattern is the same: batch attributes exist on the product with one general range, the lab enters results, and the batch is released for sale when it passes that general range. The customer, however, holds you to a tighter band in their own specification, and nothing in the order flow knows about it. The warehouse picks by location or FEFO, the batch is within the product range, and the complaint arrives two weeks later.
The fix is not a better spreadsheet in the quality office. It is four pieces in Supply Chain Management working together: the customer's range held in the system, reservation that uses it, a block on untested batches, and a controlled way to ship outside the range when a customer agrees to it.
- Customer limits live in a contract or a spreadsheet, not on the customer and item.
- Sales orders are reserved automatically by location or expiry, so the batch is chosen before anyone checks the attributes.
- Lab results are recorded on the quality order but do not update the batch attributes, so the values the search sees are empty or old.
- Batches are available while tests are still open, because the quality association does not block.
- An urgent order is shipped with a known deviation on a phone call, with nothing recorded.
How do you set customer-specific batch attribute ranges?
In two layers. First assign the batch attributes to the released product, with the minimum and maximum range for the product, the target value and the tolerance action that decides whether a value outside the range gives a warning or an error. Microsoft documents that the product must have the batch dimension active in its tracking dimension group and that the product-level assignment must exist before you can assign the attribute at customer level.
Then assign the same attributes at customer level for the customers whose specification is tighter, with their own range. Keep the customer layer for real differences only: a customer range that copies the product range adds maintenance and nothing else. Group related attributes in batch attribute groups so a new product gets the set in one step. The batch values themselves are recorded on the Inventory batch attributes page, ideally by quality orders rather than by hand, as described below.
How does attribute-based batch reservation work on a sales order?
When order processing reserves a batch for a sales order line, the batch reservation lets them search on batch attributes, so the batches offered are the ones whose recorded values match what the customer needs; the selected batch is then reserved to the order line. That is the point where the customer range does its work: the batch is chosen against the customer's limits before the warehouse ever sees the order.
Two things decide whether it actually protects you. The batch values must be current, which is why quality results should update the batch attributes automatically. And the orders for sensitive customers must be reserved this way before release to the warehouse, not left to automatic reservation by location or expiry date. Decide per customer and item which orders need attribute-based reservation, and make it part of order release.
Which reservation hierarchy and warehouse settings does batch reservation need?
For items handled in warehouse-management-enabled warehouses, Microsoft documents that the batch number dimension must sit above the location dimension in the reservation hierarchy for the process-industry batch functions to apply: FEFO, same batch reservation, batch disposition codes and batch attributes. An item with batch below location is reserved at batch level only when the warehouse work is created, which is too late for a customer-specific choice.
Changing the reservation hierarchy on an item with stock and open transactions is not a setting you flip in production. Plan it as a small migration: identify the items, clear or close open transactions, change the hierarchy, and test picking, FEFO and replenishment again. How waves, replenishment and cut-off times behave once batches are reserved earlier is covered on warehouse waves, replenishment and cut-off.
How do quality orders block a batch until its results are in?
Through quality associations and the inventory blocking they create. A quality association generates a quality order on an event, such as a production order reported as finished or a purchase receipt, and while there are open quality orders the inventory is blocked from being issued; the blocking shows on the Inventory blocking page with the type Quality order. Event blocking on the association can also hold the source document until the quality order is validated.
Make the results do the work. In the quality test groups and tests, switch on the option to update the inventory batch attribute for each test linked to an attribute, and the option to update the batch disposition with a passed and a failed disposition code. A failed batch then gets an Unavailable disposition code, which Microsoft documents as blocking master planning, reservation, picking and shipping, and a passed batch carries current attribute values that the reservation search can use.
| Setting | Where | What it prevents |
|---|---|---|
| Quality association with blocking | Quality management setup | Issuing a batch while its quality order is open |
| Update inventory batch attribute on tests | Quality test groups and tests | Reservation searching on empty or stale attribute values |
| Update batch disposition on pass or fail | Quality test groups | A failed batch being reserved, picked or shipped |
| Disposition code Unavailable with block options | Batch disposition master | Use of a held batch for chosen operations and order types |
| Sales order quality association | Quality associations, sales order event | Shipping without an outgoing check for customers that require one |
Where should the hard stop sit: reservation, picking or shipment?
As late as possible, and in addition to reservation. Attribute-based reservation chooses the right batch; it is a filter, not a lock. Depending on your setup and version, a user can still reserve a batch manually, a planner can change a reservation, or warehouse work can be created against another batch in some flows, so test what your environment allows with a batch deliberately outside a customer range.
Where the test shows a gap, close it with one check at the last controllable step, usually before warehouse work is released or before the packing slip is posted: compare the batch on each line with the customer's range and stop the line if it is outside and there is no approved exception. That check is a small X++ extension on the posting or release step, written to the extension model so it survives updates. A sales order quality association can add an outgoing inspection for customers whose specification requires one.
What does an approved exception path look like?
A recorded decision, not a workaround. Sometimes the right answer is to ship a batch outside a customer's range: the customer accepts it at a price, or for a specific use, because the alternative is no delivery. That is a concession, and it should exist in the system with the customer's acceptance attached before the batch leaves.
- A concession record per sales order line, batch and attribute, with the measured value, the customer range and the reason.
- The customer acceptance attached, such as the email or signed deviation form.
- Approval by quality, not by sales or the warehouse, through a workflow with a named substitute so urgent orders are not stuck.
- The hard-stop check accepts the line only when an approved concession exists for exactly that batch.
- A monthly report of concessions by customer and attribute, so repeated exceptions become a specification or process discussion.
What are the steps to stop out-of-spec lots shipping?
Specify, set up, check the hierarchy, connect quality, reserve, stop, test. Build it in a sandbox with copies of real batches, then go live for the customers who complain most before rolling it out to everyone.
- Write down each customer specification: Collect the limits each customer actually holds you to, per item and attribute, from contracts, specifications and complaint history, with a named owner in quality.
- Set up batch attributes and product ranges: Define the batch attributes and attribute groups, assign them to the released products with minimum, maximum, target and a warning or error tolerance action.
- Add customer-specific ranges: Assign the attributes at customer level with the tighter ranges for the customers that need them; the product-level assignment has to exist first.
- Check the reservation hierarchy: For items in warehouse-management-enabled warehouses, use a reservation hierarchy with batch above location, so batch attributes and disposition codes are respected during reservation.
- Connect quality orders to the attributes: Set up quality associations, test groups and tests so that results update the inventory batch attributes and the batch disposition code on pass or fail, and so open quality orders block the batch.
- Reserve by attribute on sales orders: Train order processing to reserve batches through the batch reservation search on batch attributes, and decide which customers and items must be reserved this way before release to the warehouse.
- Add the hard stop and the exception path: Add a check before picking or packing slip that compares the batch with the customer range, and an approval record for concessions that the check accepts.
- Test with real batches and go live per customer: Test with real batches, including one deliberately out of range for a customer, then go live customer by customer starting with the ones complaining.
How should customer complaints feed back into the specification?
Every complaint about a batch is a test of the setup. Trace the shipped batch, compare its recorded attribute values with the customer's range in the system, and find which of the four pieces failed: the range was missing, the reservation was not attribute-based, the batch values were not current, or a deviation shipped without a concession. Fix that piece, not just the order.
Where complaints arrive as cases in Dynamics 365 Customer Service, a case can create the quality order in Supply Chain Management directly; that integration is covered on Customer Service cases that create quality orders. If batches are adjusted after lab tests before they are released, see batch adjustments and formula traceability.
What does Solzet deliver for batch attributes and customer specifications in Supply Chain Management?
Solzet sets up the whole chain with your quality, sales and warehouse teams: customer specifications captured as product and customer-level batch attribute ranges, the reservation hierarchy reviewed and migrated where batch has to move above location, quality associations, test groups and disposition codes that update batches from test results, attribute-based reservation built into order release, and the hard-stop check with an approved concession path as an X++ extension where testing shows standard does not close the gap. Our own senior consultants and developers test it with real batches before go-live. The service is Dynamics 365 Supply Chain Management, within Finance and Operations.
Where the customer-facing side should run without Microsoft licensing, some manufacturers choose a custom CRM connected to their ERP. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.
What do people ask us?
Can Dynamics 365 Supply Chain Management hold customer-specific batch attribute ranges?
Yes. Batch attributes are assigned to the released product with a range, target and tolerance action, and the same attributes can then be assigned at customer level with a customer-specific range. The product-level assignment has to exist first.
How do I reserve a batch that meets a customer specification on a sales order?
Use batch reservation on the sales order line and search on batch attributes, so the batches offered match the values the customer needs, then reserve the chosen batch to the line. Do this before release to the warehouse for customers with tighter ranges.
Why does batch reservation ignore our batch attributes in the warehouse?
For warehouse-management-enabled items, Microsoft documents that batch attributes, disposition codes and FEFO need a reservation hierarchy with batch above location. With batch below location, the batch is only chosen when warehouse work is created.
How do I stop a batch being shipped before its tests are complete?
Use a quality association that creates a quality order and blocks the inventory while the order is open, and have the test group update the batch disposition code on pass or fail. An Unavailable disposition code can block reservation, picking and shipping.
Is attribute-based reservation enough to stop out-of-spec shipments?
It chooses the right batch but is a filter, not a lock. Test whether a batch outside a customer range can still be reserved or picked in your setup, and where it can, add a check before warehouse release or packing slip that stops the line unless a concession is approved.
How should we handle shipping a batch outside a customer specification on purpose?
As a recorded concession: the batch, attribute, measured value and customer range, the customer acceptance attached, approval by quality, and a check that only lets that exact batch through. Review concessions monthly by customer.
Does Solzet implement batch attributes and quality blocking in Supply Chain Management?
Yes. We capture customer specifications as batch attribute ranges, review the reservation hierarchy, connect quality orders to attributes and disposition codes, build attribute-based reservation into order release and add the hard-stop check and concession approval where needed.
Where should you go next?
Dynamics 365 Supply Chain Management
Inventory, warehouse, quality, planning and production, implemented and supported.
Complaint cases that create quality orders
Customer Service cases feeding quality orders in Finance and Operations.
Batch adjustments and formula traceability
Batches adjusted after lab tests, with consumption and variance traced.
Warehouse waves, replenishment and cut-off
Wave and replenishment design once batches are reserved early.
Finance and Operations implementation
Finance, Supply Chain Management and Project Operations, with X++ where needed.
Which solution is right for your business?
Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.