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(39) list($i,none,none,none,none,none,none,none,none) ); $data = if count(list({covered @ferc:SubsidiaryCompaniesInvestmentsInAxis=*})) > 0 list({covered @ferc:SubsidiaryCompaniesInvestmentsInAxis=* {list( if exists({@ferc:OrderNumber @unit=* @period=$currentDuration}) first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:DescriptionOfInvestmentsInSubsidiaryCompanies @unit @period=$currentDuration}) first(list({@ferc:DescriptionOfInvestmentsInSubsidiaryCompanies @unit @period=$currentDuration})) else none, if exists({@ferc:DateOfAcquisitionInvestmentsInSubsidiaryCompanies @unit @period=$currentDuration}) first(list({@ferc:DateOfAcquisitionInvestmentsInSubsidiaryCompanies @unit @period=$currentDuration})) else none, if exists({@ferc:DateOfMaturityInvestmentsInSubsidiaryCompanies @unit @period=$currentDuration}) first(list({@ferc:DateOfMaturityInvestmentsInSubsidiaryCompanies @unit @period=$currentDuration})) else none, if exists({@ferc:InvestmentInSubsidiaryCompanies @unit @period=$priorInstant}) first(list({@ferc:InvestmentInSubsidiaryCompanies @unit @period=$priorInstant})) else none, if exists({@ferc:EquityInEarningsOfSubsidiaryCompanies @unit @period=$currentDuration}) first(list({@ferc:EquityInEarningsOfSubsidiaryCompanies @unit @period=$currentDuration})) else none, if exists({@ferc:InterestAndDividendRevenueFromInvestments @unit @period=$currentDuration}) first(list({@ferc:InterestAndDividendRevenueFromInvestments @unit @period=$currentDuration})) else none, if exists({@ferc:InvestmentInSubsidiaryCompanies @unit @period=$currentInstant}) first(list({@ferc:InvestmentInSubsidiaryCompanies @unit @period=$currentInstant})) else none, if exists({@ferc:InvestmentGainLossOnDisplosal @unit @period=$currentDuration}) first(list({@ferc:InvestmentGainLossOnDisplosal @unit @period=$currentDuration})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none,none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleInvestmentsInSubsidiaryCompaniesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2ScheduleTitle").text Investments in Subsidiary Companies (Account 123.1)
taxonomy().concept(ferc:ScheduleInvestmentsInSubsidiaryCompaniesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
  1. Report below investments in Account 123.1, Investments in Subsidiary Companies.
  2. Provide a subheading for each company and list thereunder the information called for below. Sub-total by company and give a total in columns (e), (f), (g) and (h). (a) Investment in Securities-List and describe each security owned. For bonds give also principal amount, date of issue, maturity, and interest rate. (b) Investment Advances - Report separately the amounts of loans or investment advances which are subject to repayment, but which are not subject to current settlement. With respect to each advance show whether the advance is a note or open account. List each note giving date of issuance, maturity date, and specifying whether note is a renewal.
  3. Report separately the equity in undistributed subsidiary earnings since acquisition. The total in column (e) should equal the amount entered for Account 418.1.
  4. Designate in a footnote, any securities, notes, or accounts that were pledged, and state the name of pledgee and purpose of the pledge.
  5. If Commission approval was required for any advance made or security acquired, designate such fact in a footnote and give name of Commission, date of authorization, and case or docket number.
  6. Report in column (f) interest and dividend revenues from investments, including such revenues from securities disposed of during the year.
  7. In column (h) report for each investment disposed of during the year, the gain or loss represented by the difference between cost of the investment (or the other amount at which carried in the books of account if different from cost), and the selling price thereof, not including interest adjustments includible in column (f).
  8. Report on Line 40, column (a) the total cost of Account 123.1.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleInvestmentsInSubsidiaryCompaniesAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "224 - Schedule - Investments in Subsidiary Companies (Account 123.1)") $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] ABC Company Common Stock $row[3] 3/13/1989 $row[4] 3/13/1989 $row[5] $1000 $row[6] $0 $row[7] $0 $row[8] $1000 $row[9] $0
40 taxonomy().concept(ferc:CostOfInvestmentsInSubsidiaryCompanies).label("http://ferc.gov/form/2020-01-01/roles/label/F2Total").text
Total
[@ferc:CostOfInvestmentsInSubsidiaryCompanies @period=$currentDuration] $123,456
taxonomy().concept(ferc:InvestmentInSubsidiaryCompanies).label("http://ferc.gov/form/2020-01-01/roles/label/F2Total").text
Total
max(list([covered @concept=ferc:InvestmentInSubsidiaryCompanies @period = $priorInstant])) $4,600,000 max(list([covered @concept=ferc:EquityInEarningsOfSubsidiaryCompanies @period=$currentDuration])) $1,420,000 max(list([covered @concept=ferc:InterestAndDividendRevenueFromInvestments @period=$currentDuration])) $111,000 max(list([covered @concept=ferc:InvestmentInSubsidiaryCompanies @period=$currentInstant])) $11,000 max(list([covered @concept=ferc:InvestmentGainLossOnDisplosal @period=$currentDuration])) $3,900