Arrimix
Contents

Pack rules and compatibility groups

Two ways to teach the engine what you already know about your goods.

Pack rules

A pack rule says how many units of a product go into one packaging: 12 bottles A-100 per carton C3. When it applies, the engine does not search for an arrangement: it fills packs of exactly that size, then one last pack with the rest.

Create a pack rule

  1. Go to Catalog → Pack rules.
  2. Enter the product code, the packaging code, the quantity, and the rule: Exactly or At most.
  3. Save. Both codes must exist.

You can also import them (a "units per carton" column, see Importing a catalog) or send them through the API (POST /v1/pack-rules).

When a rule applies

  • The packaging of the rule must be allowed at the level being packed (it belongs to the level's kinds and, if the level is restricted to some codes, to those codes).
  • The rule must fit physically: the engine checks that the quantity fits in the packaging (size and max load). If it does not, the rule is ignored with a warning, and the engine packs normally.

Example

300 bottles, rule 24 per carton C3 → 12 full cartons of 24, then 1 carton of 12. Every carton is marked as filled by a pack rule in the plan.

Compatibility groups

A group is a label you put on products, for example:

Code Name Mixing Needs approved packaging
COLD Cold chain +2/+8 °C Never mixed with other groups ✓
FROZEN Frozen −20 °C Never mixed with other groups ✓
ADR Dangerous goods Never mixed with other groups ✓
FOOD Food Can share packaging

Create a group

  1. Go to Catalog → Compatibility groups.
  2. Enter a code (letters, digits, _ . -), a name, the mixing rule and, if needed, tick Needs approved packaging. A color helps you spot it.
  3. Save.

Then put the code on products (field Compatibility groups, comma separated) or on request lines (column Groups).

What the rules do

  • Never mixed with other groups (separate): at every level, units of this group never share a packaging with units without it. A pallet of COLD cartons stays COLD, and its truck too.
  • Needs approved packaging: the units only travel in containers or vehicles that list the group in their Accepted groups. Typical: a reefer container accepts COLD. Cartons and pallets do not need to list it.
  • If no container accepts a group, its units are not placed, with the reason no compatible container.

Tutorial: a cold chain

  1. Create the group COLD, never mixed, needs approved packaging.
  2. Put COLD on your vaccine products.
  3. Open your reefer container in Catalog → Packaging and add COLD to Accepted groups.
  4. Plan a request mixing vaccines and dry goods: the plan shows one reefer for the vaccines and a dry truck for the rest.