{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"SECDEP_INTEREST_PAY","VERSION":1}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec15.htm#196"],"comment":"The interest amount for security deposit calculated by billing, based on whether it is a fixed/floating rate","description":"BILLING_SECDEP_INTEREST_PAY data is confidential, and is available only\nto the relevant participant.","primary_keys":["BILLRUNNO","CONTRACTYEAR","PARTICIPANTID","SECURITY_DEPOSIT_ID","WEEKNO"],"columns":{"BILLRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"The billing run no. the SDA application is processed and interest calculated","is_integer":true,"unsigned_int":true,"num_int_bits":16},"CONTRACTYEAR":{"sql_type":"NUMBER(4,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"The billing contract year the SDA application is processed and interest calculated","is_integer":true,"unsigned_int":true,"num_int_bits":16},"PARTICIPANTID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":true,"comment":"The participant ID of the security deposit for whom the interest is paid","is_categorical":true},"SECURITY_DEPOSIT_ID":{"sql_type":"VARCHAR2(20)","pl_type":"str","mandatory":true,"comment":"The security deposit ID for which billing has calculated the Interest amount"},"WEEKNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"The billing week no. the SDA application is processed and interest calculated","warnings":["There may be 53 weeks in a year, depending on how weeks align to the year start/end."],"is_integer":true,"unsigned_int":true,"num_int_bits":16},"INTEREST_ACCT_ID":{"sql_type":"VARCHAR2(20)","pl_type":"str","mandatory":false,"comment":"The interest account ID used by billing for calculating the interest.\nNULL if INTEREST_CALC_TYPE = FIXED"},"INTEREST_AMOUNT":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The security deposit interest amount calculated by billing","is_float":true},"INTEREST_CALC_TYPE":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":false,"comment":"FIXED or DAILY"},"INTEREST_RATE":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The STATIC Interest Rate used by Billing for calculating the interest. This is NULL if INTEREST_CALC_TYPE <> FIXED","is_float":true}},"visibility":"Private","trigger":"After posting a billing run (final and revision)"}