taxonomy().concept(ferc:ScheduleAccountsReceivableFromAssociateCompaniesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60ScheduleTitle").text
Schedule V - Accounts Receivable from Associate Companies
|
taxonomy().concept(ferc:ScheduleAccountsReceivableFromAssociateCompaniesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60Instructions").text
- List the accounts receivable from each associate company.
- If the service company has provided accommodation or convenience payments for associate companies, provide in a separate footnote a listing of total payments for each associate company.
|
Line No. |
$headings = filter (taxonomy().concept(ferc:ScheduleAccountsReceivableFromAssociateCompaniesAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "005 - Schedule - Accounts Receivable from Associate Companies")
$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
$row[3]
else
taxonomy().concept(to-qname($row[3]))))
);
for $row in $heading_dict.keys.sort
$row
(a)
|
1 |
taxonomy().concept(ferc:AccountsReceivableFromAssociateCompanies).label("http://ferc.gov/form/2020-01-01/roles/label/F60Account").text
146
|
taxonomy().concept(ferc:ScheduleAccountsReceivableFromAssociateCompaniesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60AccountsReceivableFromAssociateCompanies").text
Accounts Receivable From Associate Companies
|
|
|
|
2 |
|
taxonomy().concept(ferc:AssociateCompanyName).label("http://ferc.gov/form/2020-01-01/roles/label/F60AccountsReceivableFromAssociateCompanies2").text
Associate Company:
|
|
|
|
// adding a comment
$data2 = list(for $i in range(38)
list($i,none,none,none,none)
);
$data = if count(list({covered @ferc:AccountsReceivableFromAssociateCompaniesAxis=*})) > 0
list({covered @ferc:AccountsReceivableFromAssociateCompaniesAxis=* {list(
if list({ @ferc:OrderNumber @unit=* @period = $currentDuration}).length > 0
first(list({ @ferc:OrderNumber @unit=* @period = $currentDuration}))
else
0,
if list({ @ferc:AssociateCompanyName @unit @period = $currentDuration}).length > 0
first(list({ @ferc:AssociateCompanyName @unit @period = $currentDuration}))
else
none,
if list({ @ferc:AccountsReceivableFromAssociateCompanies @unit @period = $priorInstant}).length > 0
first(list({ @ferc:AccountsReceivableFromAssociateCompanies @unit @period = $priorInstant} ))
else
none,
if list({ @ferc:AccountsReceivableFromAssociateCompanies @unit @period = $currentInstant}).length > 0
first(list({ @ferc:AccountsReceivableFromAssociateCompanies @unit @period = $currentInstant} ))
else
none,
if list({ @ferc:PaymentsFromAssociateCompanies @unit @period = $currentDuration}).length > 0
first(list({ @ferc:PaymentsFromAssociateCompanies @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
3
3
|
|
$row[2]
Various
|
$row[3]
$1,914,831
|
$row[4]
$2,914,831
|
$row[5]
$2,914,831
|
40 |
taxonomy().concept(ferc:AccountsReceivableFromAssociateCompanies).label("http://ferc.gov/form/2020-01-01/roles/label/F60Total").text
TOTAL
|
|
max(list([covered @concept=ferc:AccountsReceivableFromAssociateCompanies @period=$priorInstant]))
$1,914,831
|
max(list([covered @concept=ferc:AccountsReceivableFromAssociateCompanies @period=$currentInstant]))
$2,914,831
|
|