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

An external trading partner participating in financial transactions. More...

#include <counterparty.hpp>

Collaboration diagram for counterparty:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
std::string tenant_id
 Tenant identifier for multi-tenancy isolation.
 
boost::uuids::uuid id
 UUID uniquely identifying this counterparty.
 
std::string full_name
 Full legal name of the counterparty.
 
std::string short_code
 Short code for quick reference.
 
std::optional< std::string > transliterated_name
 ASCII transliteration of the entity name.
 
std::string party_type
 Classification of this counterparty.
 
std::optional< boost::uuids::uuid > parent_counterparty_id
 Parent counterparty for hierarchy.
 
std::string business_center_code
 Business center location code.
 
std::string status
 Current lifecycle status.
 
std::string modified_by
 Username of the person who last modified this counterparty.
 
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

An external trading partner participating in financial transactions.

External trading partners and counterparties that participate in financial transactions with the organisation. Counterparties form a hierarchy through parent_counterparty_id for group structures.

Member Data Documentation

◆ id

boost::uuids::uuid id

UUID uniquely identifying this counterparty.

Surrogate key for the counterparty record.

◆ full_name

std::string full_name

Full legal name of the counterparty.

The official registered name of the external entity.

◆ short_code

std::string short_code

Short code for quick reference.

A brief mnemonic code used in trading systems.

◆ transliterated_name

std::optional<std::string> transliterated_name

ASCII transliteration of the entity name.

Populated from GLEIF data for entities with non-Latin names (CJK, Cyrillic, Arabic, etc.). Null for entities already in Latin script.

◆ party_type

std::string party_type

Classification of this counterparty.

References the party_type lookup table.

◆ parent_counterparty_id

std::optional<boost::uuids::uuid> parent_counterparty_id

Parent counterparty for hierarchy.

References the parent counterparty record for group structures. Null for root counterparties.

◆ business_center_code

std::string business_center_code

Business center location code.

FpML business center code indicating primary location.

◆ status

std::string status

Current lifecycle status.

References the party_status lookup table.

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).