Reference & Data Model
Material costs from purchases (good_purchase.material_cost)
An ordered purchase books its net value as a reconciled actual booking „Materialkosten“; a delivered one also books a stock inbound.
Trigger
Section titled “Trigger”A purchase (good_purchase) changes status, order date, unit price, quantity, discount, surcharge or project, or is deleted. For the stock inbound (rule good_purchase.stock_inbound): status, quantity, received quantity, delivery date or good.
Condition
Section titled “Condition”Status belongs to base class „Bestellt“ (ordered: Bestellt, Bestellung bestätigt, In Klärung) or „Geliefert“ (delivered: Teilweise geliefert, Geliefert, In Prüfung, Abgenommen, In Rechnung gestellt, Bezahlt), the purchase is assigned to a project and not deleted. The project has a cost item „Materialkosten“ (material costs). „Bezahlt“ has no effect of its own.
What is created
Section titled “What is created”An actual booking on „Materialkosten“:
Amount = unit price (net) × quantity × (1 − discount %) × (1 + surcharge %)Date = order date („ordered_at“), otherwise creation date of the purchaseText = „Materialkosten aus Einkauf“Source = Einkauf · „<Menge> × <Gut> (<Titel>)“Example: 100 € × 2 × 0,9 × 1,05 = 189,00 €.
In base class „Geliefert“ additionally a fulfilled stock inbound „Wareneingang aus Einkauf“ for the received quantity (otherwise order quantity, rounded up), date = delivery date, otherwise creation date. The inbound is system-generated and cannot be edited in the warehouse.
On change or rollback
Section titled “On change or rollback”Reconciled: price, quantity and date changes update booking and stock inbound. A void status („Abgelehnt“, „Storniert“, „Retourniert“, „Abgelaufen“, „Bei Prüfung abgelehnt“) or deleting the purchase removes both. No „Korrigieren“ needed.
Where visible
Section titled “Where visible”Cost item „Materialkosten“, section „Kosten“; source in Projektansicht › Beschaffung › Einkäufe (Guides › Procurement).
Known limitations
Section titled “Known limitations”- Tax rate is not included (net booking).
- The purchase’s currency is ignored; the booking takes the numeric value into the project currency.
- A purchase without a project books nothing.
See Purchase · Actual booking.