ores.trading.activity_category
Table of Contents
Reference data table defining the closed activity category set used by
ores.trading.activity_type. The rows are the categories the trading
activity seed (projects/ores.sql/populate/trading/trading_activity_types_populate.sql)
already uses, so the set is the component's own rather than an external standard.
The values are the ORE XSD spellings, so a stored value round-trips through the ORE XML unchanged. No conversion is introduced here.
1. Flags
2. Columns
2.1. code
Unique activity category code.
Examples: 'new_activity', 'lifecycle_event', 'misbooking', 'valuation_change', 'cancellation'.
std::string("new_activity")
2.2. description
Detailed description of the activity category.
std::string(faker::lorem::sentence())
3. SQL
3.1. Flags
3.2. Extra drops
drop function if exists ores_trading_validate_activity_category_fn;
4. C++
4.1. Flags
4.2. Repository
4.3. Domain includes
#include <string>
4.4. Conventions
4.5. Table display
| column | header |
|---|---|
| code | Code |
| description | Description |
| modified_by | Modified By |
| version | Version |
4.6. Custom repository methods
5. See also
- ores.trading — component group overview.