Package su.onno.annotations
Annotation Interface AccumulationRegister
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether aAccumulationType.BALANCEregister may retain negative resource totals.Controls whether a backdated post/unpost restores later documents that wrote to this register.Stable DB table name.Human-facing display label, distinct from the URL-safename()identity.
-
Element Details
-
name
String name -
title
String titleHuman-facing display label, distinct from the URL-safename()identity. Use it for localized or multi-word titles while keepingnameASCII and space-free so routes stay clean. Surfaces in the UI metadata and is used for nav items and report headings. When empty, falls back toname().- Default:
""
-
tableName
String tableNameStable DB table name. When empty, derived fromname().- Default:
""
-
type
AccumulationType type- Default:
BALANCE
-
allowNegative
boolean allowNegativeWhether aAccumulationType.BALANCEregister may retain negative resource totals. Keep this disabled for constrained balances such as inventory; enable it for balances whose domain permits debt or overdrafts, such as cash or credit accounts. Ignored forAccumulationType.TURNOVERregisters.- Default:
false
-
postingOrder
PostingOrder postingOrderControls whether a backdated post/unpost restores later documents that wrote to this register. UsePostingOrder.CHRONOLOGICALwhen later posting calculations depend on earlier register state, such as moving-average inventory cost.- Default:
INDEPENDENT
-
context
String context- Default:
""
-