Skip to content

BILLING_RES_TRADER_PAYMENT (Historical table)

Billing result table for reserve trader contract payments.

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
CONTRACTID varchar(20) 🔑 varchar(20) 🔑 Reserve trader contract identifier
PAYMENT_TYPE varchar(40) 🔑 varchar(40) 🔑 Payment type for the reserve trader contract payment amount
PARTICIPANTID varchar(20) 🔑 varchar(20) 🔑 Participant identifier associated with the contract
PAYMENT_AMOUNT numeric(18, 8) numeric(18, 8) Payment amount to the participant

Official MMS data model indexes

Index name Index type Index columns (in order)
BILLING_RES_TRADER_PAYMENT_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, CONTRACTID, PAYMENT_TYPE, PARTICIPANTID

GR-MMS data model indexes

Index name Index type Index columns (in order)
PK_BILLING_RES_TRADER_PAYMENT clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, CONTRACTID, PAYMENT_TYPE, PARTICIPANTID

Historical-MMS data model indexes

Index name Index type Index columns (in order)
BILLING_RES_TRADER_PAYMENT_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, CONTRACTID, PAYMENT_TYPE, PARTICIPANTID