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 $data2 = list(for $i in range(1,15) list($i,none,none,none,none,none,none) ); $data = if list({covered @ferc:CommonStockAxis=*}).length > 0 list({covered @ferc:CommonStockAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if list({@ferc:CapitalStockDescription @unit @period=$currentDuration}).length > 0 first(list({@ferc:CapitalStockDescription @unit @period=$currentDuration})) else none, if list({@ferc:CapitalStockSharesAuthorized @unit @period=$currentInstant}).length > 0 first(list({@ferc:CapitalStockSharesAuthorized @unit @period=$currentInstant})) else none, if list({@ferc:CapitalStockParOrStatedValuePerShare @unit @period=$currentInstant}).length > 0 first(list({@ferc:CapitalStockParOrStatedValuePerShare @unit @period=$currentInstant})) else none, if list({@ferc:CapitalStockStatedValuePerShareOfNonparStock @unit @period=$currentInstant}).length > 0 first(list({@ferc:CapitalStockStatedValuePerShareOfNonparStock @unit @period=$currentInstant})) else none, if list({@ferc:CapitalStockSharesOutstanding @unit @period=$currentInstant}).length > 0 first(list({@ferc:CapitalStockSharesOutstanding @unit @period=$currentInstant})) else none, if list({@ferc:CommonStockIssued @unit @period=$currentInstant}).length > 0 first(list({@ferc:CommonStockIssued @unit @period=$currentInstant})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort // adding a comment $data2 = list(for $i in range(16,30) list($i,none,none,none,none,none,none) ); $data = if list({covered @ferc:LongTermDebtAxis=*}).length > 0 list({covered @ferc:LongTermDebtAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if list({@ferc:LongTermDebtClassAndSeriesOfObligation @unit @period=$currentDuration}).length > 0 first(list({@ferc:LongTermDebtClassAndSeriesOfObligation @unit @period=$currentDuration})) else none, if list({@ferc:NominalDateOfIssueLongTermDebt @unit @period=$currentDuration}).length > 0 first(list({@ferc:NominalDateOfIssueLongTermDebt @unit @period=$currentDuration})) else none, if list({@ferc:DateOfMaturityLongTermDebt @unit @period=$currentDuration}).length > 0 first(list({@ferc:DateOfMaturityLongTermDebt @unit @period=$currentDuration})) else none, if list({@ferc:LongTermDebtOutstanding @unit @period=$currentInstant}).length > 0 first(list({@ferc:LongTermDebtOutstanding @unit @period=$currentInstant})) else none, if list({@ferc:LongTermDebtInterestRate @unit @period=$currentDuration}).length > 0 first(list({@ferc:LongTermDebtInterestRate @unit @period=$currentDuration})) else none, if list({@ferc:InterestOnLongTermDebt @unit @period=$currentDuration}).length > 0 first(list({@ferc:InterestOnLongTermDebt @unit @period=$currentDuration})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleCapitalStockAndLongTermDebtAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2AScheduleTitle").text CAPITAL STOCK DATA
taxonomy().concept(ferc:ScheduleCapitalStockAndLongTermDebtAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
  1. Report below the details called for concerning common stock and long-term debt.
  2. The total amount outstanding reflected in column (f) for Capital Stock Data refers to total amount outstanding without reduction for amounts held by respondent.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleCapitalStockAndLongTermDebtAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "F2A - 250 - Schedule - Capital Stock Data") $headings = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value)) $heading_dict = dict(for $row in $headings list("("+$row[1]+")",$row[2]) ); for $row in $heading_dict.keys.sort
$heading_dict[$row] Title of Account
$row (a)
1 1 $row[2] Class A $row[3] 100,000 Shares $row[4] $100 $row[5] $100 $row[6] 4,000,000 Shares $row[7] $4,000,000
LONG-TERM DEBT
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleLongTermDebtAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "F2A - 250 - Schedule - Long-Term Debt") $headings = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value)) $heading_dict = dict(for $row in $headings list("("+$row[1]+")",$row[2]) ); for $row in $heading_dict.keys.sort
$heading_dict[$row] Title of Account
$row (a)
16 16 $row[2] Series C Senior Notes $row[3] 5/1/2015 $row[4] 5/1/2015 $row[5] $41,000,000 $row[6] 3.23 % $row[7] $1,356,600
taxonomy().concept(ferc:InterestOnLongTermDebt).label("http://ferc.gov/form/2020-01-01/roles/label/F2Total").text
Total
max(list([covered @concept=ferc:LongTermDebtOutstanding @period = $currentInstant])) $4,080,200 max(list([covered @concept=ferc:InterestOnLongTermDebt @period = $currentDuration])) $4,080,200