ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
batch Struct Referencefinal

A logical grouping of workunits forming a financial computation batch. More...

#include <batch.hpp>

Collaboration diagram for batch:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
utility::uuid::tenant_id tenant_id = utility::uuid::tenant_id::system()
 Tenant identifier for multi-tenancy isolation.
 
boost::uuids::uuid id
 UUID primary key for the batch.
 
std::string external_ref
 External reference linking this batch to the originating finance system or project.
 
std::string status
 Lifecycle status: open, processing, assimilating, or closed.
 
std::string modified_by
 Username of the person who last modified this compute batch.
 
std::string performed_by
 Username of the account that performed this action.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded.
 

Detailed Description

A logical grouping of workunits forming a financial computation batch.

Tracks the lifecycle of a collection of workunits that together constitute a financial computation (e.g., a risk report run). The Assimilator monitors batch completion to trigger downstream report generation.

Member Data Documentation

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).