BILLING_SUBST_RUN_VERSION
Details of settlement runs used as input in the substitute demand calculation.
Package
BILLING_RUN
Visibility
Private
Table schema
| Column |
Official MMS Datatype |
GR-MMS Datatype |
Comment |
| CONTRACTYEAR |
numeric(4, 0)  |
smallint  |
Billing contract year |
| WEEKNO |
numeric(3, 0)  |
smallint  |
Billing week number |
| BILLRUNNO |
numeric(3, 0)  |
smallint  |
Billing run number |
| REFERENCESETTLEMENTDATE |
datetime(3)  |
datetime2(0)  |
Settlement Date |
| 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) |
| BILLING_SUBST_RUN_VERSION_PK |
clustered, unique, primary key |
CONTRACTYEAR, WEEKNO, BILLRUNNO, REFERENCESETTLEMENTDATE, REFERENCESETTLEMENTRUNNO |
GR-MMS data model indexes
| Index name |
Index type |
Index columns (in order) |
| PK_BILLING_SUBST_RUN_VERSION |
clustered, unique, primary key |
CONTRACTYEAR, WEEKNO, BILLRUNNO, REFERENCESETTLEMENTDATE, REFERENCESETTLEMENTRUNNO |
Historical-MMS data model indexes
| Index name |
Index type |
Index columns (in order) |
| BILLING_SUBST_RUN_VERSION_PK |
clustered, unique, primary key |
CONTRACTYEAR, WEEKNO, BILLRUNNO, REFERENCESETTLEMENTDATE, REFERENCESETTLEMENTRUNNO |