validate lots on sales orders

Customer Specification Profile  •  Article  •  4/22/2026  • 

When you assign a lot number to an item tracking line on a sales order, the system automatically checks the lot's attribute values against the active customer specification profile for that customer and item. The system accepts compliant lots automatically without showing errors. Validation applies to both manual lot entry and the Select Entries dialog.

Compliance response

The following table describes the system response when a lot fails compliance on a sales order.

Compliance ActionUser TypeBehavior
Show ErrorStandard userError shown. Lot number cleared. You must choose a different lot.
Show ErrorAuthorized userConfirmation dialog with failure details. Override reason required. Lot assigned and override logged.
Show WarningAny userWarning shown with failure details. Lot assigned regardless.

If no active profile exists for the customer and item, all lots are accepted without validation.

Override behavior

You can override a lot attribute on a sales order. The override is recorded on the Specification Profile Override Log page with the Stage field value set as Lot. A red spec override indicator appears on the sales order subform line. The flag resets if you change the Item No. field value in the line.

During shipment posting, previously overridden lots pass automatically if the profile has not changed since the override.

Scope

Validation applies to sales orders only. Transfer orders are not subject to compliance checks.