taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F60Header").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/F60Header").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/F60Header").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/F60Header").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) ); $data = if count(list({covered @ferc:FuelStockExpensesUndistributedAxis=*})) > 0 list({covered @ferc:FuelStockExpensesUndistributedAxis=* {list( if list({@ferc:OrderNumber @unit=* @period = $currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period = $currentDuration})) else 0, if exists({@ferc:AssociateCompanyName @unit @period = $currentDuration}) first(list({@ferc:AssociateCompanyName @unit @period = $currentDuration})) else none, if exists({@ferc:FuelStockExpensesUndistributedLabor @unit @period = $currentDuration}) first(list({@ferc:FuelStockExpensesUndistributedLabor @unit @period = $currentDuration})) else none, if exists({@ferc:FuelStockExpensesUndistributedExpenses @unit @period = $currentDuration}) first(list({@ferc:FuelStockExpensesUndistributedExpenses @unit @period = $currentDuration})) else none, if exists({@ferc:FuelStockExpensesUndistributed @unit @period = $currentInstant}) first(list({@ferc:FuelStockExpensesUndistributed @unit @period = $currentInstant})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleFuelStockExpensesUndistributedAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60ScheduleTitle").text Charges for Outside Professional and Other Consultative Services
taxonomy().concept(ferc:ScheduleFuelStockExpensesUndistributedAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60Instructions").text
  1. List the amount of labor in Column (c) and expenses in Column (d) incurred with respect to fuel stock expenses during the year and indicate amount attributable to each associate company.
  2. In a separate footnote, describe in a narrative the fuel functions performed by the service company.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleFuelStockExpensesUndistributedAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "006 - Schedule - Fuel Stock Expenses Undistributed") $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 $row[3] else taxonomy().concept(to-qname($row[3])))) ); for $row in $heading_dict.keys.sort
$heading_dict[$row][2].name.local-name
$heading_dict[$row][1] Nature of Payment
$row (a)
1 taxonomy().concept(ferc:ScheduleFuelStockExpensesUndistributedAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60ScheduleFuelStockExpensesUndistributed").text
Fuel Stock Expenses Undistributed
2 taxonomy().concept(ferc:AssociateCompanyName).label("http://ferc.gov/form/2020-01-01/roles/label/F60ScheduleFuelStockExpensesUndistributed2").text
Associate Company:
3 3 $row[2] ABC Processing Plant Abandonment $row[3] $1,000 $row[4] $2,000 $row[5] $3,000
40 first(list([covered @concept=ferc:FuelStockExpensesUndistributedLabor @period = $currentDuration])) $0 first(list([covered @concept=ferc:FuelStockExpensesUndistributedExpenses @period = $currentDuration])) $55,036 first(list([covered @concept=ferc:FuelStockExpensesUndistributed @period = $currentInstant])) $3,281,566