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 |
| Cost Price List Date | costPriceListDateValidator | Blocks orders whose requested delivery date falls outside the cost price list validity period |
| 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 |
| Product Supplier Order Amount | productSupplierOrderAmountValidator | Warns when the lines of a secondary supplier fall outside that supplier's order amount limits |
| Purchase Order Amount | purchaseOrderAmountValidator | Warns when the order total falls outside the supplier's minimum or maximum order amount |
| Purchase Order Zero Quantity | zeroQuantityValidator | Blocks purchase orders that contain line items with a quantity of zero |
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.