Skip to content

BILLING_DIR_RECOVERY_DETAIL

The Billing Directions Recovery Details for the participants.

Package

BILLING_RUN

Visibility

Private

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
CONTRACTYEAR numeric(4, 0) 🔑 smallint 🔑 The Billing Contract Year
WEEKNO numeric(3, 0) 🔑 smallint 🔑 The Billing WeekNo
BILLRUNNO numeric(3, 0) 🔑 smallint 🔑 The Billing RunNo
DIRECTION_ID varchar(20) 🔑 varchar(20) 🔑 The Direction Unique Identifier
PARTICIPANTID varchar(20) 🔑 varchar(20) 🔑 The Direction Payment Participant ID
PARTICIPANTCATEGORYID varchar(20) 🔑 varchar(20) 🔑 The Participant Category for recovery Customer/Generator /SmallGen
REGIONID varchar(20) 🔑 varchar(20) 🔑 The Region ID for the recovery
RECOVERY_AMOUNT numeric(18, 8) numeric(18, 8) The Direction Recovery Amount
RECOVERY_ENERGY numeric(18, 8) numeric(18, 8) The Energy Value used for the Recovery
REGION_ENERGY numeric(18, 8) numeric(18, 8) The total Energy at the Region ID
EXCLUDED_ENERGY numeric(18, 8) numeric(18, 8) The Energy Value (Scheduled Loads) that is excluded
LASTCHANGED datetime(3) datetime2(0) The Last datetime record is updated

Official MMS data model indexes

Index name Index type Index columns (in order)
BILLING_DIR_RECOVERY_DETAIL_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, DIRECTION_ID, PARTICIPANTID, PARTICIPANTCATEGORYID, REGIONID

GR-MMS data model indexes

Index name Index type Index columns (in order)
PK_BILLING_DIR_RECOVERY_DETAIL clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, DIRECTION_ID, PARTICIPANTID, PARTICIPANTCATEGORYID, REGIONID

Historical-MMS data model indexes

Index name Index type Index columns (in order)
BILLING_DIR_RECOVERY_DETAIL_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, DIRECTION_ID, PARTICIPANTID, PARTICIPANTCATEGORYID, REGIONID