Skip to content

SET_SUBST_RUN_VERSION

Settlements substitution demand run version numbers.

Package

SETTLEMENT_DATA

Visibility

Public

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
SETTLEMENTDATE datetime(3) 🔑 datetime2(0) 🔑 Settlement date
SETTLEMENTRUNNO numeric(3, 0) 🔑 smallint 🔑 Settlement run number
REFERENCESETTLEMENTDATE datetime(3) 🔑 datetime2(0) 🔑 The settlement date of a settlement run included in the reference period
REFERENCESETTLEMENTRUNNO numeric(3, 0) 🔑 smallint 🔑 The settlement run number matching the settlement date for a settlement run included in the reference period

Official MMS data model indexes

Index name Index type Index columns (in order)
SET_SUBST_RUN_VERSION_PK clustered, unique, primary key SETTLEMENTDATE, SETTLEMENTRUNNO, REFERENCESETTLEMENTDATE, REFERENCESETTLEMENTRUNNO

GR-MMS data model indexes

Index name Index type Index columns (in order)
PK_SET_SUBST_RUN_VERSION clustered, unique, primary key SETTLEMENTDATE, SETTLEMENTRUNNO, REFERENCESETTLEMENTDATE, REFERENCESETTLEMENTRUNNO

Historical-MMS data model indexes

Index name Index type Index columns (in order)
SET_SUBST_RUN_VERSION_PK clustered, unique, primary key SETTLEMENTDATE, SETTLEMENTRUNNO, REFERENCESETTLEMENTDATE, REFERENCESETTLEMENTRUNNO