Tony CHEMIT pushed to branch feature/issue_2959 at ultreiaio / ird-observe
Commits:
-
9bc1160a
by Tony Chemit at 2024-12-10T20:47:04+01:00
1 changed file:
Changes:
| ... | ... | @@ -14,7 +14,7 @@ Table déversée dans la table d'ObServe **Landing**. |
| 14 | 14 | | LOT_COM_04 | C_ESP | Landing.species | [2](#n_0_2), [5](#n_0_5) |
|
| 15 | 15 | | LOT_COM_05 | C_CAT_C | Landing.weightCategory | [3](#n_0_3) |
|
| 16 | 16 | | LOT_COM_06 | V_POIDS_LC | Landing.weight | |
|
| 17 | -| LOT_COM_07 | C_DEST | Landing.destination | [4](#n_0_4) |
|
|
| 17 | +| LOT_COM_07 | C_DEST | Landing.destination | [4](#n_0_4), [5](#n_0_5) |
|
|
| 18 | 18 | |
| 19 | 19 | * Note 1 <a name="n_0_1"></a>
|
| 20 | 20 | |
| ... | ... | @@ -34,8 +34,15 @@ Mapping direct sur le code du référentiel **ps_landing.Destination**. |
| 34 | 34 | |
| 35 | 35 | * Note 5 <a name="n_0_5"></a>
|
| 36 | 36 | |
| 37 | -On positionne **ps_landing.Landing.fate** à partir du code suivant
|
|
| 37 | +On positionne **ps_landing.Landing.fate** en suivant ce code
|
|
| 38 | 38 | |
| 39 | -```ps_landing.Fate(LOT_COM.C_ESP == 8 ? 2 : 1)```
|
|
| 39 | +**FIXME Voir https://gitlab.com/ultreiaio/ird-observe/-/issues/2959 **
|
|
| 40 | + |
|
| 41 | +On distingue quatre cas :
|
|
| 42 | + |
|
| 43 | +1. Si LOT_COM.C_DEST dans ```4 ou 5``` alors on utilise ps_landing.Fate de code 4 (transbordement)
|
|
| 44 | +2. Si LOT_COM.C_DEST dans ```18, 28, 40 à 61, 64 à 65)``` alors on utilise ps_landing.Fate de code 3 (vendu au marché local)
|
|
| 45 | +2. Sinon si LOT_COM.C_ESP est dans ```8, 800 à 899``` alors on utilise ps_landing.Fate de code 2 (rejeté)
|
|
| 46 | +3. Sinon on utilise ps_landing.Fate de code 1 (traité)
|
|
| 40 | 47 | |
| 41 | 48 | [Retour à l'introduction](./index.html) |