#899: AuftragsOrderState.kt
projectforge-business/src/main/kotlin/org/projectforge/business/fibu/AuftragsOrderState.kt
Type: Enum ·
Purpose: Categorizes the business state of an order or order position ·
Package: org.projectforge.business.fibu
Source path: projectforge-business/src/main/kotlin/org/projectforge/business/fibu/AuftragsOrderState.kt
36 lines · 7 code · 26 comments · 3 blank
A three-value enum that classifies orders/positions into business categories: POTENTIAL (acquisition phase), COMMISSIONED (confirmed/ordered), or LOST (not won). Used for summarization in order book statistics and forecast views. Renamed from "ORDERED" to "COMMISSIONED" to better reflect business terminology.
Enum Values
| Value | Meaning |
POTENTIAL | Order/position is in the acquisition/pipeline phase — not yet confirmed |
COMMISSIONED | Order/position has been officially commissioned/ordered by the customer |
LOST | Order/position was not won |
Methods
isIn(vararg state: AuftragsOrderState): Boolean — checks if this value matches any of the given states. Used in conditional logic throughout order processing.
Git History
868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
42dc9fa16 Orders: ordered -> commissioned.
d02c8a770 Migration stuff in progress...
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
7c79f1922 Copyright of source header -> 2020.
dd5ca38ac CopyRight of all java file-header updated or created.
9ebb88522 Initial commit