ores.reporting.configuration_market_binding
Table of Contents
One Parameter of the Markets block in a run document: a market role, and the market configuration the run binds to it. The block belongs to the configuration that describes the run, so reports that share a configuration share its market roles. The role is a free string in ORE's schema, and the value names a configuration set built in todaysmarket.xml, which ores.analytics owns. This table holds the binding, not the configuration it names.
1. Flags
2. Columns
2.1. id
UUID uniquely identifying this binding.
2.2. party_id
The party that owns the document this row belongs to. Set from the session that writes the document, and enforced by row level security, so a party sees only its own configuration.
ctx.generate_uuid()
2.3. configuration_id
The configuration whose run carries this binding. A report definition binds the configuration.
2.4. role
The market role the run binds, as ORE names it: pricing, simulation and the rest.
2.5. market_configuration_name
The configuration set the role binds to, named as the market document names it.
2.6. position
The order the document wrote the binding in.
3. SQL
3.1. Flags
4. Foreign keys
4.1. configuration_id
5. C++
5.1. Flags
5.2. Repository
5.3. Domain includes
#include <string>
5.4. Entity includes
#include <string>
5.5. Conventions
5.6. Table display
| column | header |
|---|---|
| role | Role |
| market_configuration_name | Market Configuration |
| position | Position |
| modified_by | Modified By |
| version | Version |
5.7. Presentation
5.7.1. Detail fields
| field | label | type | is_key | is_required | placeholder |
|---|---|---|---|---|---|
| role | Role | line_edit | true | e.g. pricing | |
| market_configuration_name | Market Configuration | line_edit | true | Enter the configuration set name | |
| position | Position | spin_edit | true | Enter position |
5.7.2. Columns
| enum_name | field | header | type | width |
|---|---|---|---|---|
| Role | role | Role | string | 160 |
| MarketConfigurationName | market_configuration_name | Market Configuration | string | 220 |
| Position | position | Position | int | 80 |
| Version | version | Version | int | 80 |
| ModifiedBy | modified_by | Modified By | string | 120 |
5.8. Custom repository methods
6. See also
- ores.reporting — component group overview.