#895: AuftragForecastType.kt

projectforge-business/src/main/kotlin/org/projectforge/business/fibu/AuftragForecastType.kt

Type: Kotlin enum class (I18nEnum)

Package: org.projectforge.business.fibu

Full path: projectforge-business/src/main/kotlin/org/projectforge/business/fibu/AuftragForecastType.kt

52 lines · 13 code · 33 comments · 6 blank

Enum defining how order sales are distributed in forecasts. When sales of an order are distributed, this type determines whether sales are invoiced/forecast in the current month or the following month. The default is FOLLOWING_MONTH.

Enum Values

ValueKeyI18n KeyDescription
CURRENT_MONTH"currentMonth"fibu.auftrag.forecastType.currentMonthSales are invoiced/forecast in the current month
FOLLOWING_MONTH"followingMonth"fibu.auftrag.forecastType.followingMonthSales are invoiced/forecast in the following month (default)

Companion Object

MemberValue
defaultFOLLOWING_MONTH
baseKey"fibu.auftrag.forecastType"

Interface Implementation

Implements I18nEnum, providing the i18nKey property which returns the concatenation of baseKey and the value's key (e.g., "fibu.auftrag.forecastType.followingMonth").

Git History

868d6abb7 2025 -> 2026
49b1d6b8d Forecast and orderbook: forecast-Type for orders/positions added (current month or following month)
63081666f Source file headers: 2024-> 2025.
5f9bbfbd3 Fix typos in projectforge-business directory
567ca70cd Migration in progress...
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
c526c1bbb I18nEnum, IUserRightId -> Kotlin.
7c79f1922 Copyright of source header -> 2020.
af35917ac More code cleanup
1fcfe0b45 Doc. BookStatus and BookType converted to Kotlin.
680cef262 Doc. BookStatus and BookType converted to Kotlin.
dd5ca38ac CopyRight of all java file-header updated or created.
2d86a8cd6 PROJECTFORGE-2306 Refactorings for keeping access check at update time
9ebb88522 Initial commit