taxonomy().concept(ferc:ScheduleUnappropriatedRetainedIncomeStatementAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6ScheduleTitle").text
Unappropriated Retained Income Statement
|
taxonomy().concept(ferc:ScheduleUnappropriatedRetainedIncomeStatementAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6Instructions").text
- Report items of the Retained Income Accounts of the respondents for the period, classified in accordance with the USofA.
- Report on lines 15 and 16 the amount of assigned Federal income tax consequences, Account Nos. 710 and 720.
- Report on lines 17 through 20 all amounts applicable to the equity in undistributed earnings (losses) of affiliated companies based on the equity method of accounting.
- Line 18 should agree with Line 12, Schedule 114. The total of lines 2, 6, and 18 should agree with line 29, Schedule 114
- Include on lines 1 through 12 only amounts applicable to Retained Income exclusive of any amounts included on lines 17 through 20.
|
Line No. |
$headings = filter (taxonomy().concept(ferc:ScheduleUnappropriatedRetainedIncomeStatementAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "119 - Schedule - Unappropriated Retained Income Statement")
$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]
Item
$row
(a)
|
$data = navigate parent-child descendants from ferc:UnappropriatedRetainedIncomeStatementLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F6/UnappropriatedRetainedIncomeStatement" returns list (target-name, preferred-label, order);
$data-labels = list(for $row in $data
$concept = taxonomy().concept($row[1]);
$row_num = (filter $concept.references("http://ferc.gov/form/2020-01-01/roles/reference/formLocation") where ($item.part-by-name(ferc-part:Schedule).part-value == "119 - Schedule - Unappropriated Retained Income Statement" and $item.part-by-name(ferc-part:ValueType).part-value.string == "Label" and "http://ferc.gov/form/2020-01-01/roles/label/" + $item.part-by-name(ferc-part:ColumnName).part-value.string == $row[2].role.uri)).to-list;
$page = $concept.label("http://ferc.gov/form/2020-01-01/roles/label/F6PageRange2").text;
$beginningBalance = if $row[2].role.uri == "http://ferc.gov/form/2020-01-01/roles/label/F6BeginningBalance"
true
else
false
$beginningRow = if ($row_num.part-by-name(ferc-part:Row)).length > 0
min(($row_num.part-by-name(ferc-part:Row)).part-value)
else
""
$endingRow = if ($row_num.part-by-name(ferc-part:Row)).length > 0
max(($row_num.part-by-name(ferc-part:Row)).part-value)
else
""
$current = if list([covered @concept = $row[1] @period = $currentDuration]).length > 0
first(list([covered @concept = $row[1] @period = $currentDuration]))
else
if $beginningBalance
if list([covered @concept = $row[1] @period = $priorInstant]).length > 0
first(list([covered @concept = $row[1] @period = $priorInstant]))
else
none
else
if list([covered @concept = $row[1] @period = $currentInstant]).length > 0
first(list([covered @concept = $row[1] @period = $currentInstant]))
else
none
$prior = if list([covered @concept = $row[1] @period = $priorDuration]).length > 0
first(list([covered @concept = $row[1] @period = $priorDuration]))
else
if $beginningBalance
if list([covered @concept = $row[1] @period = $prior2Instant]).length > 0
first(list([covered @concept = $row[1] @period = $prior2Instant]))
else
none
else
if list([covered @concept = $row[1] @period = $prior12MonthsInstant]).length > 0
first(list([covered @concept = $row[1] @period = $prior12MonthsInstant]))
else
none
list($concept,
$concept.label($row[2].role.uri).text, //Title of Account
if exists($page) $page else "", //Page Ref
if $beginningBalance
$beginningRow
else
$endingRow,
$current,
$prior
));
for $rowl in $data-labels
$rowl[4]
1
|
|
$rowl[3]
|
$rowl[5]
|
$rowl[6]
|