taxonomy().concept(ferc:ScheduleElectricPlantInServiceAndAccumulatedProvisionForDepreciationByFunctionAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Schedule").text
ELECTRIC PLANT IN SERVICE AND ACCUMULATED PROVISION FOR DEPRECIATION BY FUNCTION
|
taxonomy().concept(ferc:ScheduleElectricPlantInServiceAndAccumulatedProvisionForDepreciationByFunctionAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text
- Report below the original cost of plant in service by function. In addition to Account 101, include Account 102, and Account 106. Report in column (b) the original cost of plant in service and in column(c) the accumulated provision for depreciation and amortization by function.
|
Line No. |
$headings = filter (taxonomy().concept(ferc:ScheduleElectricPlantInServiceAndAccumulatedProvisionForDepreciationByFunctionAbstract ).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "F1Q - 208 - Schedule - Electric Plant in Service and Accumulated Provision for Depreciation by Function")
$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)
|
$dataHead = navigate parent-child descendants from ferc:ElectricPlantInServiceLineItems stop when $relationship.preferred-label == "http://ferc.gov/form/2020-01-01/roles/label/F1RollforwardHeader" role "http://ferc.gov/form/2020-01-01/roles/Schedule/F1Q/ElectricPlantInServiceAndAccumulatedProvisionForDepreciationByFunction" returns list (target-name, preferred-label, order);
$rowHeaderSection = 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/F1ElectricPlantinServiceandAccumulatedProvisionforDepreciationbyFunction")
true
else
false;
$abstractLabel = list($is-heading, $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/F1Q/ElectricPlantInServiceAndAccumulatedProvisionForDepreciationByFunction" returns list(target, preferred-label, order);
$dataRow2 = list(none, none);
$row_num = (filter $abstractConcept.references("http://ferc.gov/form/2020-01-01/roles/reference/formLocation") where ($item.part-by-name(ferc-part:Schedule).part-value == "F1Q - 208 - Schedule - Electric Plant in Service and Accumulated Provision for Depreciation by Function" and $item.part-by-name(ferc-part:ValueType).part-value.string == "Label")).to-list;
$row_number = list(if ($row_num.part-by-name(ferc-part:Row)).length == 0
""
else
($row_num.part-by-name(ferc-part:Row))[1].part-value);
$dataRow1 = list(for $y in $data
if exists([covered @concept = $y[1].name @period = $currentInstant])
first(list([covered @concept = $y[1].name @period = $currentInstant]))
else
none
);
if $x[2].role.uri == "http://ferc.gov/form/2020-01-01/roles/label/F1ElectricPlantinServiceandAccumulatedProvisionforDepreciationbyFunction"
$abstractLabel + $dataRow2 + $row_number
else
$abstractLabel + $dataRow1 + $row_number
)
for $rowl in $rowHeaderSection
1
1
|
$rowl[2]
|
$rowl[3]
if $rowl[1] "gray-out" else ""
|
$rowl[4]
if $rowl[1] "gray-out" else ""
|