Files
arthur 9ce6ae37be lint(standard): corrections completes mode standard
- Em dashes: 1712 remplaces par tirets simples (86 fichiers + _index.md,
  en-tete section Limagrain conserve)
- Checklists: 24 '- [ ]' -> '- ☐' (3 pages operations, plus de todos Obsidian)
- Ancres: 33 reparees (slugs GitHub + ancres HTML <a id> reconnues),
  1 reciblee (manuel de reten)
- related: tenseflow -> tense-flow, pie -> mechanical-elements,
  group.md retire (doublon shipping)
- Registre: compteur global 122 -> 131 pages
- Rapport racine _lint_report.md mis a jour (scan v2 + re-scan final: 0 anomalie)
- Aucun fichier limagrain/ modifie (cloisonnement)
2026-07-20 13:01:21 +02:00

109 lines
6.4 KiB
Markdown

---
title: "Directives (Client-Specific Rules)"
type: module
sources:
- areas/directives/index.md
- areas/directives/directives_admin/index.md
- areas/directives/directives_admin/directives_documents.md
- areas/directives/directives_admin/directives_custom_processes.md
- areas/directives/directives_admin/directives_required_container_type.md
- areas/directives/directives_admin/directives_preferred_container_type.md
- areas/directives/directives_admin/directives_client_container_parameters.md
- areas/directives/directives_admin/directives_stock_parameters.md
- areas/directives/directives_admin/directives_shipping_logic.md
- areas/directives/configuration/initial_configuration.md
related:
- modules/billing-3pl.md
- modules/owner-extensions.md
- concepts/order-outbound.md
- concepts/container.md
- concepts/stock.md
last_compiled: "2026-04-10"
---
# Directives (Client-Specific Rules)
## Overview
The Directives module enables warehouse managers to configure client-specific rules that customize logistics behavior for individual owners (3PL clients) or accounts (end customers) without affecting other clients' stock processing.
There are two distinct directive types:
- **Owner directives**: rules applied to stock belonging to a specific 3PL client organization (owner) - affect workflow and document format/language
- **Account directives**: rules applied to stock shipped to a specific customer (account) - affect container selection, stock quality requirements, and shipping logic
Directives are configured per warehouse and apply to all shipping orders associated with the owner or account after the directive is created. Orders created before the directive are not affected.
## Key capabilities
- Per-owner: custom document language/format (labels, packing lists, delivery lists), custom workflow processes
- Per-account: required or preferred container type for client containers
- Per-account: maximum weight, height, and layer count for client containers
- Per-account: minimum shelf life (days of life remaining at time of shipping)
- Per-account: maximum number of lots in a shipment
- Per-account: shipping logic override (FIFO, FEFO, Best Before Date, production date, LIFO)
- Per-account or per-owner: document format and language override
## Architecture
### Owner directives
Rules applied to stock based on the **owner** (3PL client company or sales company):
| Directive | Description |
|-----------|-------------|
| Document format and language | Client container labels, packing lists, and delivery lists are printed in the format and language specified. Overrides the warehouse default. |
| Custom workflows | Customizes the warehouse workflow for stock processes of a specific 3PL client. Workflows must be developed by Operations staff. Allows per-owner process variations without system-wide changes. |
### Account directives
Rules applied to stock based on the **account** (end customer receiving the goods):
| Directive | Description |
|-----------|-------------|
| Required container type | All shipping order containers for this account must use exactly this container type (if no container type is specified at the order level). No substitution allowed. |
| Preferred container type | Shipping order containers for this account are preferably assigned this container type (if no preference is specified at order level). Can be substituted if unavailable. |
| Maximum weight | Client containers for this account cannot exceed this weight. |
| Maximum height | Client containers for this account cannot exceed this height. |
| Maximum number of layers | Operator is informed of the maximum layers allowed when selecting client containers. |
| Minimum shelf life | Stock shipped for this account must have expiration/best-before/end-of-shelf-life date at least N days after the shipping date. Expired stock by this rule is excluded from the shipment. |
| Maximum number of lots | Stock shipped for this account must not come from more than N different lots. |
| Shipping logic | Stock for this account is picked following a specific logic: FIFO (first in, first out), FEFO (first expiry, first out), Best Before Date, Production date, or LIFO (last in, first out). Overrides the warehouse default shipping logic. |
| Document format and language | Labels and shipping documents printed in the specified format and language for this account. |
### Scope and precedence
- Directives are configured **per warehouse** centrally in the directives configuration view
- They can also be accessed individually from the owner or account master views
- If an order already has its own container type or preference specified, the directive does not override it
- Multiple directives can be active for the same owner or account (different rule types)
- Directives apply only to orders created **after** the directive was set
## Configuration
1. Access the Directives configuration view (warehouse management menu)
2. Select directive type: Owner or Account
3. Select the owner or account to configure
4. Choose the specific rule type (document language, container type, shelf life, etc.)
5. Set the rule parameters
6. Save - directive applies to all future shipping orders for this owner/account
For custom workflow directives: workflows must be developed and approved by Operations staff before being assignable to an owner directive.
## Operations
Directives operate automatically - once configured, they apply silently to all matching shipping orders. Operators see the effects during order processing:
- Container selection is constrained or guided by container type directives
- Lot selection is limited by lot count directives
- Stock eligibility is filtered by shelf life directives
- Documents print in the configured language/format
- Workflow steps may differ per owner based on custom workflow directives
## Related
- [[owner-extensions]] - Owner Extensions adds the owner field to orders; required before owner directives can be applied to specific 3PL clients
- [[billing-3pl]] - Billing uses owner identification on orders; directives ensure per-owner processing consistency
- [[order-outbound]] - Shipping orders are the primary entity affected by account directives
- [[container]] - Container type directives affect client container selection during packing
- [[stock]] - Shelf life and lot count directives filter which stock is eligible for shipping to each account
- [[client-specific-rules]] - stub module (source unavailable); functionally equivalent to this Directives module