ores.refdata.currency_currency_group
Table of Contents
Many-to-many junction between currency and currency_group, mirroring
the existing party_currencies pattern. A currency can belong to any
number of groups simultaneously (e.g. NOK: G11 and SCANDIES and
COMMODITY) — see
Currency pair support in reference data for the design rationale
(replacing the original boolean is_g11 flag).
Left
ISO 4217 code of the currency.
References ores_refdata_currencies_tbl.iso_code (soft FK).
std::string("NOK")
Right
Code of the currency group this currency belongs to.
References ores_refdata_currency_groups_tbl.code (soft FK).
std::string("G11")
Columns
SQL
Flags
Repository
C++
Flags
Domain includes
#include <chrono> #include <string>
Entity includes
#include <string> #include "sqlgen/Timestamp.hpp" #include "sqlgen/PrimaryKey.hpp"
Conventions
Table display
| column | header |
|---|---|
| currency_iso_code | Currency |
| currency_group_code | Group |
| modified_by | Modified By |
| version | Version |
See also
- ores.refdata — component group overview.
- Currency pair support in reference data — parent story.