taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").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/F1Header").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/F1Header").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/F1Header").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(2,18) list($i,none,none,none,none) ); $data = if count(list({covered @ferc:NonPowerGoodsOrServicesProvidedByAffiliatedCompanyAxis=*})) > 0 list({covered @ferc:NonPowerGoodsOrServicesProvidedByAffiliatedCompanyAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:DescriptionOfNonPowerGoodOrService @unit @period=$currentDuration}) first(list({@ferc:DescriptionOfNonPowerGoodOrService @unit @period=$currentDuration})) else none, if exists({@ferc:NameOfAssociatedAffiliatedCompany @unit @period=$currentDuration}) first(list({@ferc:NameOfAssociatedAffiliatedCompany @unit @period=$currentDuration})) else none, if exists({@ferc:AccountsChargedOrCreditedTransactionsWithAssociatedAffiliatedCompanies @unit @period=$currentDuration}) first(list({@ferc:AccountsChargedOrCreditedTransactionsWithAssociatedAffiliatedCompanies @unit @period=$currentDuration})) else none, if exists({@ferc:DueToOrChargedByTheTransactionsWithAssociatedAffiliatedCompanies @unit @period=$currentDuration}) first(list({@ferc:DueToOrChargedByTheTransactionsWithAssociatedAffiliatedCompanies @unit @period=$currentDuration})) 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 // adding a comment $data2 = list(for $i in range(21,41) list($i,none,none,none,none) ); $data = if count(list({covered @ferc:NonPowerGoodsOrServicesProvidedForAffiliatedCompanyAxis=*})) > 0 list({covered @ferc:NonPowerGoodsOrServicesProvidedForAffiliatedCompanyAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:DescriptionOfNonPowerGoodOrService @unit @period=$currentDuration}) first(list({@ferc:DescriptionOfNonPowerGoodOrService @unit @period=$currentDuration})) else none, if exists({@ferc:NameOfAssociatedAffiliatedCompany @unit @period=$currentDuration}) first(list({@ferc:NameOfAssociatedAffiliatedCompany @unit @period=$currentDuration})) else none, if exists({@ferc:AccountsChargedOrCreditedTransactionsWithAssociatedAffiliatedCompanies @unit @period=$currentDuration}) first(list({@ferc:AccountsChargedOrCreditedTransactionsWithAssociatedAffiliatedCompanies @unit @period=$currentDuration})) else none, if exists({@ferc:DueFromOrCreditedByTheTransactionsWithAssociatedAffiliatedCompanies @unit @period=$currentDuration}) first(list({@ferc:DueFromOrCreditedByTheTransactionsWithAssociatedAffiliatedCompanies @unit @period=$currentDuration})) 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:ScheduleTransactionsWithAssociatedAffiliatedCompaniesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1ScheduleTitle").text TRANSACTIONS WITH ASSOCIATED (AFFILIATED) COMPANIES
taxonomy().concept(ferc:ScheduleTransactionsWithAssociatedAffiliatedCompaniesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text
  1. Report below the information called for concerning all non-power goods or services received from or provided to associated (affiliated) companies.
  2. The reporting threshold for reporting purposes is $250,000. The threshold applies to the annual amount billed to the respondent or billed to an associated/affiliated company for non-power goods and services. The good or service must be specific in nature. Respondents should not attempt to include or aggregate amounts in a nonspecific category such as "general".
  3. Where amounts billed to or received from the associated (affiliated) company are based on an allocation process, explain in a footnote.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleTransactionsWithAssociatedAffiliatedCompaniesAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "429 - Schedule - Transactions with Associated (Affiliated) Companies") $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] Description of Non-Power Good or Service
$row (a)
1 taxonomy().concept(ferc:TransactionWithAssociatedAffiliatedCompaniesLineItems).label("http://ferc.gov/form/2020-01-01/roles/label/F1TransactionsWithAssociatedCompanies").text
Non-power Goods or Services Provided by Affiliated
2 $row[2] Customer & Market Services $row[3] XYZ Energy Carolinas, LLC $row[5] $3,472,555
19 taxonomy().concept(ferc:DueToOrChargedByTheTransactionsWithAssociatedAffiliatedCompanies).label("http://ferc.gov/form/2020-01-01/roles/label/F1Total").text
Total
max(list([covered @concept=ferc:DueToOrChargedByTheTransactionsWithAssociatedAffiliatedCompanies @period = $currentDuration])) $4,600,000
20 taxonomy().concept(ferc:TransactionsProvidedForAffiliatedCompaniesLineItems).label("http://ferc.gov/form/2020-01-01/roles/label/F1TransactionsWithAssociatedCompanies").text
Non-power Goods or Services Provided for Affiliated
21 $row[2] Other Goods and Services $row[3] ABC Transmission Company $row[5] $1,729,061
42 taxonomy().concept(ferc:DueFromOrCreditedByTheTransactionsWithAssociatedAffiliatedCompanies).label("http://ferc.gov/form/2020-01-01/roles/label/F1Total").text
Total
max(list([covered @concept=ferc:DueFromOrCreditedByTheTransactionsWithAssociatedAffiliatedCompanies @period = $currentDuration])) $6,800,000