Purchase Order Validators
Reference for all built-in purchase order validators in Omnium.
Overview
Omnium provides the following built-in purchase order validators. Each validator implements the IPurchaseOrderValidator interface and is registered as a connector. To enable a validator, add it to the Connectors section in tenant settings with the IPurchaseOrderValidator implementation.
| Validator | Connector ID | Description |
|---|---|---|
| Assortment Code | assortmentCodeValidator | Validates product assortment codes against supplier and tenant settings |
| Internal Transfer Inventory | internalTransferInventoryValidator | Validates that the source warehouse has sufficient stock for internal transfers |
| Package Break | packageBreakValidator | Validates that ordered quantities are multiples of the supplier's packaging quantity |
| Product Discontinuation | productDiscontinuationValidator | Blocks ordering of products whose discontinuation date has passed |
| Purchase Order Amount | purchaseOrderAmountValidator | Warns when the order total falls outside the supplier's minimum or maximum order amount |
Connector configuration
To enable a validator, add it to the connectors array in tenant settings:
Refer to each validator's page for details on additional configuration properties.
