taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F2Header").text Name of Respondent:
[@ferc:RespondentLegalName @period=$currentDuration] Duke Energy Kentucky, Inc.
taxonomy().concept(ferc:SubmissionType).label("http://ferc.gov/form/2020-01-01/roles/label/F2Header").text This report is:
(1) if missing({covered @concept=ferc:SubmissionType}) ☐ An Original']]> else if [@concept=ferc:SubmissionType @period=$currentDuration] == "O" ☑ An Original']]> else ☐ An Original']]> An Original
(2) if missing([covered @concept=ferc:SubmissionType @period=$currentDuration]) ☐ A Resubmission']]> else if [@concept=ferc:SubmissionType @period=$currentDuration] == "R" ☑ A Resubmission']]> else ☐ A Resubmission']]> A Resubmission
taxonomy().concept(ferc:ReportDate).label("http://ferc.gov/form/2020-01-01/roles/label/F2Header").text Date of Report:
[@ferc:ReportDate @period=$currentDuration] 04/26/2019
taxonomy().concept(ferc:ReportYearPeriod).label("http://ferc.gov/form/2020-01-01/roles/label/F2Header").text Year/Period of Report:
End of: [@ferc:ReportYear @period=$currentDuration] 2018 / [@ferc:ReportPeriod @period=$currentDuration] Q4
// adding a comment $headings = filter (taxonomy().concept(ferc:ScheduleMiscellaneousDeferredDebitsAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "233 - Schedule - Miscellaneous Deferred Debits (Account 186)" and $item.part-by-name(ferc-part:ValueType).part-value == "Column") $NoCols = $headings.length; $heading = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:Period).part-value, taxonomy().concept(to-qname($ref.part-by-name(ferc-part:ElementName).part-value)))); $heading_dict = dict(for $row in $heading list("("+$row[1]+")",list(if $row[2] == "Current" if $row[3].period-type == duration $currentDuration else $currentInstant else $priorInstant , $row[3])) ); $blankCols = list(for $c in range($NoCols) none ); $data2 = list(for $i in range(39) list($i) + $blankCols ); $data = if count(list({covered @ferc:MiscellaneousDeferredDebitsAxis=*})) > 0 list({covered @ferc:MiscellaneousDeferredDebitsAxis=* {list( if exists({@ferc:OrderNumber @unit=* @period=$currentDuration}) first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:DescriptionOfMiscellaneousDeferredDebits @unit @period=$currentDuration}) first(list({@ferc:DescriptionOfMiscellaneousDeferredDebits @unit @period=$currentDuration})) else none, if exists({@ferc:MiscellaneousDeferredDebitsExcludingMiscellaneousWorkInProgress @unit @period=$priorInstant}) first(list({@ferc:MiscellaneousDeferredDebitsExcludingMiscellaneousWorkInProgress @unit @period=$priorInstant})) else none, if exists({@ferc:IncreaseInMiscellaneousDeferredExpense @unit @period=$currentDuration}) first(list({@ferc:IncreaseInMiscellaneousDeferredExpense @unit @period=$currentDuration})) else none, if exists({@ferc:DecreaseInMiscellaneousDeferredExpenseAccountCharged @unit @period=$currentDuration}) first(list({@ferc:DecreaseInMiscellaneousDeferredExpenseAccountCharged @unit @period=$currentDuration})) else none, if exists({@ferc:DecreaseInMiscellaneousDeferredExpense @unit @period=$currentDuration}) first(list({@ferc:DecreaseInMiscellaneousDeferredExpense @unit @period=$currentDuration})) else none, if exists({@ferc:MiscellaneousDeferredDebitsExcludingMiscellaneousWorkInProgress @unit @period=$currentInstant}) first(list({@ferc:MiscellaneousDeferredDebitsExcludingMiscellaneousWorkInProgress @unit @period=$currentInstant})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0) + $blankCols skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleMiscellaneousDeferredDebitsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2ScheduleTitle").text Miscellaneous Deferred Debits (Account 186)
taxonomy().concept(ferc:ScheduleMiscellaneousDeferredDebitsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
  1. Report below the details called for concerning miscellaneous deferred debits
  2. For any deferred debit being amortized, show period of amortization in column (a).
  3. Minor items (less than $250,000) may be grouped by classes.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleMiscellaneousDeferredDebitsAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "233 - Schedule - Miscellaneous Deferred Debits (Account 186)") $heading = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value, $ref.part-by-name(ferc-part:ElementName).part-value)) $heading_dict = dict(for $row in $heading list("("+$row[1]+")",list($row[2],if $row[3] == none "" else taxonomy().concept(to-qname($row[3])))) ); for $row in $heading_dict.keys.sort
if $heading_dict[$row][2] != "" $heading_dict[$row][2].name.local-name else ""
$heading_dict[$row][1] Nature of Payment
$row (a)
1 $row[2] Assigned Deferred Income Taxes $row[3] $794,048,773 $row[4] $46,802,727 $row[6] $27,501,590 $row[7] $813,349,910
39 taxonomy().concept(ferc:MiscellaneousWorkInProgress).label("http://www.xbrl.org/2003/role/label").text
Miscellaneous Work in Progress
first(list([covered @concept=ferc:MiscellaneousWorkInProgress @period = $priorInstant])) $0 first(list([covered @concept=ferc:MiscellaneousWorkInProgress @period = $currentInstant])) $0
40 taxonomy().concept(ferc:MiscellaneousDeferredDebits).label("http://ferc.gov/form/2020-01-01/roles/label/F2Total").text
Total
first(list([covered @concept=ferc:MiscellaneousDeferredDebits @period = $priorInstant])) $805,531,884 first(list([covered @concept=ferc:IncreaseInMiscellaneousDeferredExpense @period = $currentDuration])) $246,311,147 first(list([covered @concept=ferc:DecreaseInMiscellaneousDeferredExpense @period = $currentDuration])) $34,303,284 first(list([covered @concept=ferc:MiscellaneousDeferredDebits @period = $currentInstant])) $1,017,539,747