ORE Studio 0.0.4
Loading...
Searching...
No Matches
Variables
ores::database::domain::change_reason_constants::codes Namespace Reference

Change reason codes used throughout the system. More...

Variables

constexpr std::string_view new_record = "system.new_record"
 Used when creating new records in the system.
 
constexpr std::string_view external_data_import = "system.external_data_import"
 Used for data loaded from external sources (e.g. ORE XML import).
 
constexpr std::string_view non_material_update = "common.non_material_update"
 Used for updates that don't change material business data.
 

Detailed Description

Change reason codes used throughout the system.

These codes must match entries in the change_reasons database table. Placed in ores.database as they define database field values used across multiple domain components (IAM, DQ, etc.).

Variable Documentation

◆ new_record

constexpr std::string_view new_record = "system.new_record"
constexpr

Used when creating new records in the system.

Applied automatically by service layer when entities are first created.

◆ external_data_import

constexpr std::string_view external_data_import = "system.external_data_import"
constexpr

Used for data loaded from external sources (e.g. ORE XML import).

Requires data lineage commentary for auditability.

◆ non_material_update

constexpr std::string_view non_material_update = "common.non_material_update"
constexpr

Used for updates that don't change material business data.

Examples: password changes, email updates, touch operations (version bump without field changes).