Skip to content

SETAPCCOMPENSATION (Historical table)

SETAPCCOMPENSATION shows Administered Price Cap (APC) compensation payments for each period.

Package

HISTORICAL_TABLES

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
SETTLEMENTDATE datetime(3) 🔑 datetime2(0) 🔑 Calendar Settlement Date
VERSIONNO numeric(3, 0) 🔑 smallint 🔑 Settlement run number
PARTICIPANTID varchar(10) 🔑 varchar(10) 🔑 Participant identifier
REGIONID varchar(10) 🔑 varchar(10) 🔑 Region Identifier
PERIODID numeric(3, 0) 🔑 smallint 🔑 Settlement period (based on calendar day)
APCCOMPENSATION numeric(15, 5) numeric(15, 5) APC amount
LASTCHANGED datetime(3) datetime2(0) Last date and time record changed

Official MMS data model indexes

Index name Index type Index columns (in order)
SETAPCCOMPENSATION_LCX nonclustered LASTCHANGED
SETAPCCOMPENSATION_PK clustered, unique, primary key SETTLEMENTDATE, VERSIONNO, PARTICIPANTID, REGIONID, PERIODID

GR-MMS data model indexes

Index name Index type Index columns (in order)
IX_SETAPCCOMPENSATION_LASTCHANGED nonclustered LASTCHANGED
PK_SETAPCCOMPENSATION clustered, unique, primary key SETTLEMENTDATE, VERSIONNO, PARTICIPANTID, REGIONID, PERIODID

Historical-MMS data model indexes

Index name Index type Index columns (in order)
SETAPCCOMPENSATION_LCX nonclustered LASTCHANGED
SETAPCCOMPENSATION_PK clustered, unique, primary key SETTLEMENTDATE, VERSIONNO, PARTICIPANTID, REGIONID, PERIODID