Horizon Support
Contents

Integrate › Data model › Stock and inventory

Stock stockBalance

Stock and inventory7 fieldsReference LGB-…

Some labels on this page exist only in German so far; they are shown in German.

Fields

apiNameLabelKindNote
nameDesignationTextin the default view
from package Stock and inventory
itemMaterialReference→ stockItem
in the default view
from package Stock and inventory
locationLagerortReference→ storageLocation
in the default view
from package Stock and inventory
quantityStockFormulaif(0 == count(id) over any stockMovement via balance where (status == "gebucht" and kind in ["zugang", "umbuchung_zu", "inventur_plus"]), 0, sum(quantity) over any stockMovement via balance where (status == "gebucht" and kind in ["zugang", "umbuchung_zu", "inventur_plus"])) - if(0 == count(id) over any stockMovement via balance where (status == "gebucht" and kind in ["entnahme", "umbuchung_ab", "inventur_minus"]), 0, sum(quantity) over any stockMovement via balance where (status == "gebucht" and kind in ["entnahme", "umbuchung_ab", "inventur_minus"]))
from package Stock and inventory
stockValueBestandswertFormula(if(0 == count(id) over any stockMovement via balance where (status == "gebucht" and kind in ["zugang", "umbuchung_zu", "inventur_plus"]), 0, sum(quantity) over any stockMovement via balance where (status == "gebucht" and kind in ["zugang", "umbuchung_zu", "inventur_plus"])) - if(0 == count(id) over any stockMovement via balance where (status == "gebucht" and kind in ["entnahme", "umbuchung_ab", "inventur_minus"]), 0, sum(quantity) over any stockMovement via balance where (status == "gebucht" and kind in ["entnahme", "umbuchung_ab", "inventur_minus"]))) * max(unitValue) over ref via item
from package Stock and inventory
minimumStockMindestbestandDecimalin the default view
from package Stock and inventory
maximumStockAuffüllen bisDecimalin the default view
from package Stock and inventory

Who points to this type