Skip to content

BILLING_ENERGY_TRAN_SAPS

The SAP Billing Transaction 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) 🔑 tinyint 🔑 The Billing WeekNo
BILLRUNNO numeric(3, 0) 🔑 smallint 🔑 The Billing RunNo
PARTICIPANTID varchar(20) 🔑 varchar(20) 🔑 The SAP Participant ID
TNI varchar(20) 🔑 varchar(20) 🔑 The SAPS Connection Point ID
REGIONID varchar(20) varchar(20) The Region ID associated with the TNI
CONSUMED_ENERGY_MWH numeric(18, 8) numeric(18, 8) The Energy MWh Consumed for that TNI for the Participant Id in that Billing Week
SENTOUT_ENERGY_MWH numeric(18, 8) numeric(18, 8) The Energy MWh Sent Out for the TNI for the Participant Id in that Billing Week
CONSUMED_ENERGY_COST numeric(18, 8) numeric(18, 8) The Cost of the Consumed Energy
SENTOUT_ENERGY_COST numeric(18, 8) numeric(18, 8) The Cost of the Sent Out Energy
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_ENERGY_TRAN_SAPS_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, PARTICIPANTID, TNI

GR-MMS data model indexes

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

Historical-MMS data model indexes

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