AuftragsStatus.ktEnumerates the lifecycle states of an Auftrag (order/project) in the financial accounting (Fibu) module. Each status maps to an aggregate AuftragsOrderState for reporting and filtering purposes. Implements I18nEnum for internationalized display labels.
| Constant | Key | Order State | Meaning |
|---|---|---|---|
IN_ERSTELLUNG | in_erstellung | POTENTIAL | Order is being drafted |
POTENZIAL | potenzial | POTENTIAL | Only potential / opportunity |
GELEGT | gelegt | POTENTIAL | Quotation submitted |
LOI | loi | POTENTIAL | Letter of Intent received |
OPTIONAL | optional | POTENTIAL | Optional / uncertain |
BEAUFTRAGT | beauftragt | COMMISSIONED | Order is commissioned / active |
ABGESCHLOSSEN | abgeschlossen | COMMISSIONED | Order is completed |
ESKALATION | eskalation | COMMISSIONED | Escalated (but still commissioned) |
ABGELEHNT | abgelehnt | LOST | Order was rejected |
ERSETZT | ersetzt | LOST | Order replaced by a newer one |
Each status has a key property used to construct the full i18n key as "fibu.auftrag.status.{key}".
safeValueOf(name) safely looks up an enum constant by name, returning null if not found instead of throwing.
isIn(vararg status) — checks if this status is among the given set.isNotIn(vararg status) — negated form of isIn.The computed orderState property maps statuses into three groups:
868d6abb7 2025 -> 2026 63081666f Source file headers: 2024-> 2025. 42dc9fa16 Orders: ordered -> commisioned. 3f25c773a Migration stuff in progress... d02c8a770 Migration stuff in progress... 567ca70cd Migration in progress... spring.datasource.hikari.auto-commit=false 87dd5b87c AuftragsCache refactored, migration stuff... (all tests OK)