Skip to content

BILLING_RES_TRADER_RECOVERY (Historical table)

Billing result table for reserve trader contract recovery.

Package

HISTORICAL_TABLES

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
REGIONID varchar(20) 🔑 varchar(20) 🔑 Region id for the aggregated recovery amount
PARTICIPANTID varchar(20) 🔑 varchar(20) 🔑 Participant identifier
RECOVERY_AMOUNT numeric(18, 8) numeric(18, 8) Payment amount to be recovered from the participant

Official MMS data model indexes

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

GR-MMS data model indexes

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

Historical-MMS data model indexes

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