Prepayments (Acct 165), Extraordinary Property Losses (Acct 182.1), Unrecovered Plant and Regulatory Study Costs (Acct 182.2) |
|
taxonomy().concept(ferc:SchedulePrepaymentsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2ScheduleTitle").text
PREPAYMENTS (ACCOUNT 165)
|
taxonomy().concept(ferc:SchedulePrepaymentsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
- Report below the particulars (details) on each prepayment.
|
Line No. |
$headings = filter (taxonomy().concept(ferc:SchedulePrepaymentsAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "230a - Schedule - Prepayments (Account 165)")
$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
$heading_dict[$row][1]
Nature of Payment
$row
(a)
|
$data = navigate parent-child descendants from ferc:PrepaymentsLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F2/Prepayments" returns list (target-name, preferred-label);
$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 == "230a - Schedule - Prepayments (Account 165)" and $item.part-by-name(ferc-part:ValueType).part-value.string == "Label")).to-list;
$page = $concept.label("http://ferc.gov/form/2020-01-01/roles/label/F2PageRange").text;
$current = if list([covered @concept = $row[1] @period = $currentInstant]).length > 0
first(list([covered @concept = $row[1] @period = $currentInstant]))
else
none
list($concept,
$concept.label($row[2].role.uri).text, //Title of Account
if exists($page) $page else "", //Page Ref
($row_num.part-by-name(ferc-part:Row))[1].part-value, //Line Number
$current
));
for $rowl in $data-labels
$rowl[4]
1
|
|
$rowl[5]
if $rowl[1].is-abstract "gray-out" else ""
|