Cost Centers and Cost Units (CST)
The cst submodule of acc owns the analytical accounting dimensions: cost centers (one per Department) and cost units (a per-document-line dimension that lets postings be tagged to a project, an inventory lot, or any other tracked unit). It depends on com.org for the department a cost center is for, on acc.doc for the source document line a cost unit was created against, and on cat.itm for the item a cost unit relates to.
Concepts
Cost CenterThe accounting projection of a
Department. Postings tagged with a department are aggregated under its cost center for departmental P&L reporting.Cost UnitA finer-grained analytical dimension created from a specific document line. Used to attach posted amounts to a project, a customer order, an inventory lot, or any other "thing" that needs its own P&L. Each cost unit can be marked financially closed once all postings are settled.
Cost AllocationAn enum that says, in a given context, whether a cost-unit reference is optional, mandatory, or not allowed.
Entities
Cost Center (CostCenter)
The accounting projection of a department.
| Field | Description |
|---|---|
| The department this cost center is for (one-to-one, business key). |
Cost Unit (CostUnit)
A document-line-derived analytical dimension.
| Field | Description |
|---|---|
| Business key (up to 24 characters). |
| Human-readable name. |
| Optional code from an external system. |
| The document line the cost unit was created from (final). |
| The item the cost unit relates to (final). |
| Whether the cost unit is closed for further postings. |
| Derived owning company (business-information field). |
| Derived owning partner (business-information field). |
Cost Allocation (CostAllocation)
| Code | Name | Meaning |
|---|---|---|
| Optional | Cost-unit reference may be supplied. |
| Mandatory | Cost-unit reference is required. |
| Not allowed | Cost-unit reference must be absent. |
Functionality
The submodule does not currently expose Spring services from this package. Cost centers and cost units are maintained through the standard CRUD pages, and downstream postings reference cost units directly through the standard generated readers/writers.
Public API
ACC_CST_QueryApi
The query API class exists as an empty placeholder — no methods are exposed at this time. Other modules read cost units and cost centers through the standard generated readers.
ACC_CST_CommandApi
This submodule does not provide a command API class. Cost centers and cost units are maintained through the default CRUD pages; downstream document-line writers create cost units when needed.
ViewModel actions
The submodule defines view models for CostCenter and CostUnit but does not declare any custom UI actions.