ores.refdata.day_counter
Table of Contents
ORE names a day counter by text, and its schema accepts about seventy
spellings: A365, A365F, Actual/365 (Fixed) and ACT/365.FIXED are four
of them. The curve configuration corpus writes nine distinct spellings, and five
of them have no row in day_count_fraction_type, whose codes are canonical
names rather than ORE's text.
The table is reference data: a list of the day counters ORE's schema names, for
a person reading a curve configuration. It states no rule. Which spellings a
column accepts is the value set's, convention.day_counter, which also states
the form a configuration holds for each; no column is validated against this
table, because a list of spellings and a rule over one form are two authorities
and only one of them can be right.
1. Flags
2. Columns
2.1. code
The day counter exactly as an ORE document may write it: 'A365', 'Actual/365 (Fixed)', 'ACT/ACT', '30E/360'. One row per spelling, because ORE accepts several spellings of one day counter and the export writes back the one the document used.
std::string("A365")
2.2. description
What the spelling means, in one line, for a reader who does not know ORE.
std::string(faker::lorem::sentence())
3. SQL
3.1. Flags
4. C++
4.1. Flags
4.2. Repository
4.3. Domain includes
#include <string>
4.4. Conventions
4.5. Presentation
4.5.1. Detail fields
| field | label | widget | type | is_key | is_required | placeholder |
|---|---|---|---|---|---|---|
| code | Code | codeEdit | line_edit | true | true | e.g. A365 |
| description | Description | descriptionEdit | text_edit | Enter a description |
4.5.2. Columns
| enum_name | field | header | type | width |
|---|---|---|---|---|
| Code | code | Code | string | 200 |
| Description | description | Description | string | 350 |
| Version | version | Version | int | 80 |
| ModifiedBy | modified_by | Modified By | string | 120 |
| RecordedAt | recorded_at | Recorded At | timestamp | 150 |
4.6. Custom repository methods
5. See also
- ores.refdata — component group overview.