{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"REALLOC_DETAIL","VERSION":5}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec16.htm#410"],"comment":"Billing Reallocation Data aggregated by REALLOCATIONID for each billing run over the billing week.","description":"The BILLINGREALLOC_DETAIL table that will give a breakdown of the\nreallocations that form part of that billing run. This assists\nparticipants in their settlement reconciliation process.\n\n \n\nPrivate data\n\nVolume max 100 rows per day","primary_keys":["BILLRUNNO","CONTRACTYEAR","COUNTERPARTY","PARTICIPANTID","REALLOCATIONID","WEEKNO"],"indexes":[["LASTCHANGED"]],"columns":{"BILLRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"BILLING RUN NO","is_integer":true,"unsigned_int":true,"num_int_bits":16},"CONTRACTYEAR":{"sql_type":"NUMBER(4,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"BILLING CONTRACTYEAR","is_integer":true,"unsigned_int":true,"num_int_bits":16},"COUNTERPARTY":{"sql_type":"VARCHAR2(10)","pl_type":"str","mandatory":true,"comment":"REALLOCATION COUNTERPARTY PARTICIPANTID"},"PARTICIPANTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"REALLOCATION PARTICIPANTID","is_categorical":true},"REALLOCATIONID":{"sql_type":"VARCHAR2(20)","pl_type":"str","mandatory":true,"comment":"REALLOCATIONID"},"WEEKNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"BILLING WEEKNO","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},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"DATETIME WHEN RECORD SAVED","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"VALUE":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"REALLOCATION VALUE","is_float":true}},"visibility":"Private","trigger":"Posting of a billing run"}