Kost2.javaKost2DO.Kost2 is the billable cost center that links projects to cost categories. It follows the same 8-digit structure (N.BBB.TT.EE) as Kost1 but diverges at the suffix level: digits 7–8 are not a plain integer but a Kost2Art object defining the cost type category (e.g., whether bookings are invoiceable to the customer).
Methods:
getId() — Synthetic database key.getKostentraegerStatus() — Active/inactive status.getNummernkreis() — Digit 1.getBereich() — Digits 2–4 (matches customer number when linked to a project).getTeilbereich() — Digits 5–6 (matches project number).getKost2Art() — Digits 7–8 as a Kost2Art reference; the key link to the cost type system.getProjekt() — Optional project assignment (nullable).getDescription(), getComment() — Free-text fields.getFormattedString() — Rendered as 1.234.56.78.868d6abb7 2025 -> 2026 63081666f Source file headers: 2024-> 2025. 4c04cfd65 MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.) 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