ores.refdata.rounding_type

Table of Contents

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.

Flags

Primary key

Unique rounding type code.

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

Natural keys

name

Human-readable name for the rounding type.

std::string(faker::word::adjective()) + " Rounding"

Columns

description

Detailed description of the rounding type with numeric examples.

std::string(faker::lorem::sentence())

display_order

Order for UI display purposes.

faker::number::integer(1, 100)

SQL

Flags

Extra drops

drop function if exists ores_refdata_validate_rounding_type_fn;

C++

Flags

Repository

Domain includes

#include <chrono>
#include <string>

Entity includes

#include <string>
#include "sqlgen/Timestamp.hpp"

Conventions

Table display

column header
code Code
name Name
description Description
display_order Order
modified_by Modified By
version Version

Qt

Columns (Qt model)

enum_name field header type width
Code code Code string 150
Name name Name string 200
Description description Description string 300
DisplayOrder display_order Order int 80
Version version Version int 80
ModifiedBy modified_by Modified By string 120
RecordedAt recorded_at Recorded At timestamp 150

Custom repository methods

See also

Emacs 29.1 (Org mode 9.6.6)