taxonomy().concept(ferc:ScheduleDiscountOnCapitalStockAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2ScheduleTitle").text
Discount on Capital Stock (Account 213)
|
taxonomy().concept(ferc:ScheduleDiscountOnCapitalStockAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
- Report the balance at end of year of discount on capital stock for each class and series of capital stock. Use as many rows as necessary to report all data.
- If any change occurred during the year in the balance with respect to any class or series of stock, attach a statement giving details of the change. State the reason for any charge-off during the year and specify the account charged.
|
Line No. |
$headings = filter (taxonomy().concept(ferc:ScheduleDiscountOnCapitalStockAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "254 - Schedule - Discount on Capital Stock (Account 213)")
$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
$row
(a)
|
// adding a comment
$data2 = list(for $i in range(1, 14)
list($i,none,none, none)
);
$data = if count(list({covered @ferc:CapitalStockAxis=*})) > 0
list({covered @ferc:CapitalStockAxis=* {list(
if exists({@ferc:OrderNumber @unit=* @period=$currentDuration})
first(list({@ferc:OrderNumber @unit=* @period=$currentDuration}))
else
0,
if exists({@ferc:NameOfClassAndSeriesOfStock @unit @period=$currentDuration}) and exists({@ferc:DiscountOnCapitalStock @unit @period=$currentInstant})
first(list({@ferc:NameOfClassAndSeriesOfStock @unit @period=$currentDuration}))
else
none,
if exists({@ferc:DiscountOnCapitalStock @unit @period=$currentInstant})
first(list({@ferc:DiscountOnCapitalStock @unit @period=$currentInstant}))
else
none
)}})
else $data2;
$uniqueData = list(for $x in $data
if $x == list($x[1],none,none)
skip
else
$x
);
for $row in $uniqueData.sort
1
|
$row[2]
Not applicable
|
$row[3]
$0
|
15 |
taxonomy().concept(ferc:DiscountOnCapitalStock).label("http://ferc.gov/form/2020-01-01/roles/label/F2Total").text
Total
|
max(list([covered @concept=ferc:DiscountOnCapitalStock @period = $currentInstant]))
$0
|
Capital Stock Expense (Account 214) |
taxonomy().concept(ferc:ScheduleCapitalStockExpenseAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
- Report the balance at end of year of capital stock expenses for each class and series of capital stock. Use as many rows as necessary to report all data. Number the rows in sequence starting from the last row number used for Discount on Capital Stock above.
- If any change occurred during the year in the balance with respect to any class or series of stock, attach a statement giving details of the change. State the reason for any charge-off of capital stock expense and specify the account charged.
|
Line No. |
$headings = filter (taxonomy().concept(ferc:ScheduleCapitalStockExpenseAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "254 - Schedule - Capital Stock Expense (Account 214)")
$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
$row
(a)
|
// adding a comment
$data2 = list(for $i in range(16,28)
list($i,none,none,none)
);
$data = if count(list({covered @ferc:CapitalStockAxis=*})) > 0
list({covered @ferc:CapitalStockAxis=* {list(
if exists({@ferc:OrderNumber @unit=* @period=$currentDuration})
first(list({@ferc:OrderNumber @unit=* @period=$currentDuration}))
else
0,
if exists({@ferc:NameOfClassAndSeriesOfStock @unit @period=$currentDuration}) and exists({@ferc:CapitalStockExpense @unit @period=$currentInstant})
first(list({@ferc:NameOfClassAndSeriesOfStock @unit @period=$currentDuration}))
else
none,
if exists({@ferc:CapitalStockExpense @unit @period=$currentInstant})
first(list({@ferc:CapitalStockExpense @unit @period=$currentInstant}))
else
none
)}})
else $data2;
$uniqueData = list(for $x in $data
if $x == list($x[1],none,none)
skip
else
$x
);
for $row in $uniqueData.sort
16
16
16
|
$row[2]
Not applicable
|
$row[3]
$0
|
29 |
taxonomy().concept(ferc:CapitalStockExpense).label("http://ferc.gov/form/2020-01-01/roles/label/F2Total").text
Total
|
max(list([covered @concept=ferc:CapitalStockExpense @period = $currentInstant]))
$0
|