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)
This commit is contained in:
2026-07-20 13:01:21 +02:00
parent 7496aafe64
commit 9ce6ae37be
88 changed files with 1769 additions and 1871 deletions
+15 -15
View File
@@ -9,7 +9,7 @@ related:
- concepts/product-item.md
- concepts/reception.md
- concepts/stations.md
- modules/pie.md
- concepts/mechanical-elements.md
last_compiled: "2026-04-17"
---
@@ -17,7 +17,7 @@ last_compiled: "2026-04-17"
## Overview
EasyWMS tracks **five distinct weight fields** on every container and **two weight fields** on every stock line. These fields support reception sanity checks, detection of shrinkage or miscounts at the PIE (weighing station), and variable-weight items (e.g., meat, fish, fruit sold by the kilo). Understanding which field is updated by which event and which one the shipping / reporting logic reads is critical: the French UI term *"poids théorique"* is ambiguous (it can mean either of two different fields).
EasyWMS tracks **five distinct weight fields** on every container and **two weight fields** on every stock line. These fields support reception sanity checks, detection of shrinkage or miscounts at the PIE (weighing station), and variable-weight items (e.g., meat, fish, fruit sold by the kilo). Understanding which field is updated by which event - and which one the shipping / reporting logic reads - is critical: the French UI term *"poids théorique"* is ambiguous (it can mean either of two different fields).
## Container-level weight fields
@@ -31,7 +31,7 @@ Five fields, each with a distinct trigger and formula.
| **Real Weight** | Poids réel | `max(Calculated Weight, Theoretical Scale Weight)` | Recomputed automatically when its inputs change |
| **Theoretical Scale Weight** | Poids théorique (balance) | Scale Weight adjustments | Set after PIE pass, then updated by adjustments |
> ⚠️ **Translation trap** *"Poids théorique"* in French maps to **two different fields** in English:
> ⚠️ **Translation trap** - *"Poids théorique"* in French maps to **two different fields** in English:
> - **Poids théorique (article)** = `Theoretical Weight` (from the item master)
> - **Poids théorique (balance)** = `Theoretical Scale Weight` (from the scale, minus adjustments)
>
@@ -54,13 +54,13 @@ On each stock line (`Stock` record):
| **Poids (kg)** | Real weight of the line |
| **Poids théorique (kg)** | Theoretical weight of the line, from the item master |
Stock-line weights are updated on stock adjustments, weighings, and custom processes **only when the item is configured as variable-weight**. The PIE does **not** update stock-line weights directly it updates container-level fields only.
Stock-line weights are updated on stock adjustments, weighings, and custom processes **only when the item is configured as variable-weight**. The PIE does **not** update stock-line weights directly - it updates container-level fields only.
## Behavior at stock creation
- **Real weight of the stock (line)** starts at `0` it is only populated by a PIE pass, a `StockAdjust` on a variable-weight item, or a custom.
- **Real weight of the stock (line)** starts at `0` - it is only populated by a PIE pass, a `StockAdjust` on a variable-weight item, or a custom.
- **Theoretical weight of the stock (line)** is computed immediately from the item master.
- **Container tare weight** (pallet type weight in EasyS) is **frozen at container creation** changing the tare in EasyS later **does not propagate** to existing containers. Only newly created containers pick up the new tare.
- **Container tare weight** (pallet type weight in EasyS) is **frozen at container creation** - changing the tare in EasyS later **does not propagate** to existing containers. Only newly created containers pick up the new tare.
## PIE pass
@@ -97,11 +97,11 @@ The workflow **`Stock_CheckWeightToCreateStockInContainer_UI`** runs at stock cr
- Compares the entered weight against the item master.
- If the item is variable-weight and the tolerance is exceeded, it **raises an RFT alert** (does not reject).
> Reject-rather-than-alert behaviour at the PIE requires a custom workflow see *Open questions* below.
> Reject-rather-than-alert behaviour at the PIE requires a custom workflow - see *Open questions* below.
## Worked examples
### Fixed-weight item 25 kg pallet, item weighs 250 kg
### Fixed-weight item - 25 kg pallet, item weighs 250 kg
| Step | Calculated | Scale | Theoretical (item) | Real | Theoretical Scale |
|---|---|---|---|---|---|
@@ -114,9 +114,9 @@ The workflow **`Stock_CheckWeightToCreateStockInContainer_UI`** runs at stock cr
|---|---|---|---|---|---|
| New pallet | 280 | 280 | 274 | 274 | 280 |
> Theoretical (item) = 250 (goods) + 24 (new pallet tare). The older pallet keeps 275 confirming that the container tare is frozen at creation.
> Theoretical (item) = 250 (goods) + 24 (new pallet tare). The older pallet keeps 275 - confirming that the container tare is frozen at creation.
### Variable-weight item 10 bags, 100 kg declared
### Variable-weight item - 10 bags, 100 kg declared
| Step | Calculated | Scale | Theoretical (item) | Real | Theoretical Scale |
|---|---|---|---|---|---|
@@ -134,8 +134,8 @@ The workflow **`Stock_CheckWeightToCreateStockInContainer_UI`** runs at stock cr
## Related
- [[container]] all five weight fields are attributes of the container ; see "SSCC and weights" on the container page
- [[stock]] the two stock-line fields, updated for variable-weight items
- [[product-item]] logistic profile carries the variable-weight and "Poids moyen" flags, item master holds unit weight
- [[reception]] receipt line can carry the expected weight used by "Poids moyen" at stock creation
- [[stations]] PIE station type drives scale-weight capture
- [[container]] - all five weight fields are attributes of the container ; see "SSCC and weights" on the container page
- [[stock]] - the two stock-line fields, updated for variable-weight items
- [[product-item]] - logistic profile carries the variable-weight and "Poids moyen" flags, item master holds unit weight
- [[reception]] - receipt line can carry the expected weight used by "Poids moyen" at stock creation
- [[stations]] - PIE station type drives scale-weight capture