taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F60Header").textName 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").textThis 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").textDate of Report: [@ferc:ReportDate @period=$currentDuration]04/26/2019
taxonomy().concept(ferc:ReportYearPeriod).label("http://ferc.gov/form/2020-01-01/roles/label/F60Header").textYear/Period of Report:
End of: [@ferc:ReportYear @period=$currentDuration]2018/[@ferc:ReportPeriod @period=$currentDuration]Q4
taxonomy().concept(ferc:ScheduleAccumulatedProvisionForDepreciationAndAmortizationOfServiceCompanyPropertyAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60ScheduleTitle").text
Schedule III - Accumulated Provision for Depreciation and Amortization of Service Company Property
Provide an explanation of Other Charges in Column (f) considered material in a footnote.
Line No.
$headings = filter (taxonomy().concept(ferc:ScheduleAccumulatedProvisionForDepreciationAndAmortizationOfServiceCompanyPropertyAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "003 - Schedule - Accumulated Provision for Depreciation and Amortization of Service Company Property")
$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]
Account Number
$row
(a)
$dataHead = navigate parent-child descendants from ferc:AccumulatedProvisionForDepreciationAndAmortizationOfServiceCompanyPropertyLineItems stop when $relationship.preferred-label == "http://ferc.gov/form/2020-01-01/roles/label/F60RollforwardHeader" role "http://ferc.gov/form/2020-01-01/roles/Schedule/F60/AccumulatedProvisionForDepreciationAndAmortizationOfServiceCompanyProperty" returns list (target-name, preferred-label, order);
$rollforwardSection = list(for $x in $dataHead
$abstractConcept = taxonomy().concept($x[1]);
$is-heading = if ($x[2].role.uri == "http://ferc.gov/form/2020-01-01/roles/label/F60ScheduleAccumulatedProvisionforDepreciationandAmortizationofServiceCompanyProperty")
true
else
false;
/** Represents the first 3 columns (Line Number, Account Number, Description) **/
$abstractLabel = list($is-heading, $abstractConcept.label("http://ferc.gov/form/2020-01-01/roles/label/F60Account").text, $abstractConcept.label($x[2].role.uri).text);
$data = navigate parent-child children from $x[1] role "http://ferc.gov/form/2020-01-01/roles/Schedule/F60/AccumulatedProvisionForDepreciationAndAmortizationOfServiceCompanyProperty" returns list(target, preferred-label, order);
$dataRow2 = list(none, none, none, none, none);
$dataRow1 = list(for $y in $data
$conceptPeriod = $y[1].period-type
if $conceptPeriod == "instant"
if $y[2].role.uri == "http://ferc.gov/form/2020-01-01/roles/label/F60BeginningBalance"
if count(list([covered @concept = $y[1].name @period = $priorInstant])) > 0
first(list([covered @concept = $y[1].name @period = $priorInstant]))
else
none
else
if count(list([covered @concept = $y[1].name @period = $currentInstant])) > 0
first(list([covered @concept = $y[1].name @period = $currentInstant]))
else
none
else
if count(list([covered @concept = $y[1].name @period = $currentDuration])) > 0
first(list([covered @concept = $y[1].name @period = $currentDuration]))
else
none);
$abstractLabel + $dataRow1
)
for $rowl in $rollforwardSection