ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
rounding_type Struct Referencefinal

Valid rounding methods per ORE XML schema. More...

#include <rounding_type.hpp>

Collaboration diagram for rounding_type:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
std::string code
 Unique rounding type code.
 
std::string name
 Human-readable name for the rounding type.
 
std::string description
 Detailed description of the rounding type with numeric examples.
 
int display_order
 Order for UI display purposes.
 
std::string modified_by
 Username of the person who last modified this rounding type.
 
std::string performed_by
 Username of the account that performed this action.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded.
 

Detailed Description

Valid rounding methods per ORE XML schema.

Reference data table defining valid rounding method classifications. Values match xs:enumeration in ORE's currencyconfig.xsd.

Rounding types are managed by the system tenant and are used to specify how currency amounts are rounded in financial calculations.

Member Data Documentation

◆ code

std::string code

Unique rounding type code.

Examples: 'Up', 'Down', 'Closest', 'Floor', 'Ceiling'.

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).