Fields
| apiName | Label | Kind | Note |
|---|---|---|---|
name | Chargennummer | Text | in the default view from package Stock and inventory |
item | Material | Reference | → stockItemin the default view from package Stock and inventory |
expiresOn | Ablaufdatum | Date | in the default view from package Stock and inventory |
quantity | Stock | Formula | if(0 == count(id) over any stockMovement via batch where (status == "gebucht" and kind in ["zugang", "umbuchung_zu", "inventur_plus"]), 0, sum(quantity) over any stockMovement via batch where (status == "gebucht" and kind in ["zugang", "umbuchung_zu", "inventur_plus"])) - if(0 == count(id) over any stockMovement via batch where (status == "gebucht" and kind in ["entnahme", "umbuchung_ab", "inventur_minus"]), 0, sum(quantity) over any stockMovement via batch where (status == "gebucht" and kind in ["entnahme", "umbuchung_ab", "inventur_minus"]))from package Stock and inventory |
note | Notiz | Long text | from package Stock and inventory |