Skip to content

BILLING_CSP_DEROGATION_AMOUNT (Historical table)

CSP derogation amounts with respect to participant allocated payment.

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
PARTICIPANTID varchar(10) 🔑 varchar(10) 🔑 The participant allocated the payment amount for the derogation
AMOUNT_ID varchar(20) 🔑 varchar(20) 🔑 Amount identifier represented as a string, from \"ta1\" through to \"ta6\" (or \"ta8\" for a lymmco derogation result)
DEROGATION_AMOUNT numeric(18, 8) numeric(18, 8) Derogation amount associated with the amount identifier
LASTCHANGED datetime(3) datetime2(0) Last changed date for the record

Official MMS data model indexes

Index name Index type Index columns (in order)
BILLING_CSP_DEROGATN_AMNT_NDX1 nonclustered LASTCHANGED
BILLING_CSP_DEROGATN_AMNT_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, PARTICIPANTID, AMOUNT_ID

GR-MMS data model indexes

Index name Index type Index columns (in order)
IX_BILLING_CSP_DEROGATION_AMOUNT_LASTCHANGED nonclustered LASTCHANGED
PK_BILLING_CSP_DEROGATION_AMOUNT clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, PARTICIPANTID, AMOUNT_ID

Historical-MMS data model indexes

Index name Index type Index columns (in order)
BILLING_CSP_DEROGATN_AMNT_NDX1 nonclustered LASTCHANGED
BILLING_CSP_DEROGATN_AMNT_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, PARTICIPANTID, AMOUNT_ID