-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed extra Rule name prefix in rule 88
- Loading branch information
1 parent
8708bcd
commit ef8c6c2
Showing
5 changed files
with
149 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/** | ||
DQC Rules | ||
(c) Copyright 2017 - 2023, XBRL US Inc. All rights reserved. | ||
See https://xbrl.us/dqc-license for license information. | ||
See https://xbrl.us/dqc-patent for patent infringement notice. | ||
Taxonomy: US GAAP 2022 | ||
**/ | ||
|
||
rule-name-prefix DQC | ||
|
||
/**DQC 0153.9879 **/ | ||
/** Check that the statement presentation has a table at the top and all line items as children. The rule checks if any monetary line items are siblings of the table element in the financial statements. | ||
**/ | ||
|
||
assert US.0152.10116 satisfied | ||
$ruleId = (rule-name().split('.'))[rule-name().split('.').length]; | ||
|
||
|
||
$GYearListElements = filter ($us-gaap.concepts) where $item.data-type == us-types:gYearListItemType | ||
|
||
$factsWithGYearList = {@concept in $GYearListElements @TaxPeriodAxis = *}; | ||
|
||
exists($factsWithGYearList) | ||
|
||
message | ||
"The concept {$factsWithGYearList.name} has been reported with a value of {$factsWithGYearList.join(',')} and has used the Tax Period [AXIS]. This fact should not be used with this axis. If there are mulitoiple tax years to be reprted they should all be included in the concept {$factsWithGYearList}. | ||
|
||
Concept Name : {$factsWithGYearList.name} | ||
Period : {$factsWithGYearList.period} | ||
Dimensions : {$factsWithGYearList.dimensions.join(', ','=')} | ||
|
||
Rule Element Id:{$ruleId} | ||
Rule version: {$ruleVersion} | ||
" | ||
|
||
SEVERITY error | ||
effectiveDate $effective_dates[$ruleId] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/** | ||
DQC Rules | ||
(c) Copyright 2017 - 2023, XBRL US Inc. All rights reserved. | ||
See https://xbrl.us/dqc-license for license information. | ||
See https://xbrl.us/dqc-patent for patent infringement notice. | ||
Taxonomy: US GAAP 2022 | ||
**/ | ||
|
||
rule-name-prefix DQC | ||
|
||
/**DQC 0153.9879 **/ | ||
/** Check that the statement presentation has a table at the top and all line items as children. The rule checks if any monetary line items are siblings of the table element in the financial statements. | ||
**/ | ||
|
||
assert US.0152.10116 satisfied | ||
$ruleId = (rule-name().split('.'))[rule-name().split('.').length]; | ||
|
||
|
||
$GYearListElements = filter ($US-GAAP.concepts) where $item.data-type == dtr-types:gYearListItemType | ||
|
||
$factsWithGYearList = {@concept in $GYearListElements @TaxPeriodAxis = *}; | ||
|
||
exists($factsWithGYearList) | ||
|
||
message | ||
"The concept {$factsWithGYearList.name} has been reported with a value of {$factsWithGYearList.join(',')} and has used the Tax Period [AXIS]. This fact should not be used with this axis. If there are mulitoiple tax years to be reprted they should all be included in the concept {$factsWithGYearList}. | ||
|
||
Concept Name : {$factsWithGYearList.name} | ||
Period : {$factsWithGYearList.period} | ||
Dimensions : {$factsWithGYearList.dimensions.join(', ','=')} | ||
|
||
Rule Element Id:{$ruleId} | ||
Rule version: {$ruleVersion} | ||
" | ||
|
||
SEVERITY error | ||
effectiveDate $effective_dates[$ruleId] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/** | ||
DQC Rules | ||
(c) Copyright 2017 - 2023, XBRL US Inc. All rights reserved. | ||
See https://xbrl.us/dqc-license for license information. | ||
See https://xbrl.us/dqc-patent for patent infringement notice. | ||
Taxonomy: US GAAP 2022 | ||
**/ | ||
|
||
rule-name-prefix DQC | ||
|
||
/**DQC 0153.9879 **/ | ||
/** Check that the statement presentation has a table at the top and all line items as children. The rule checks if any monetary line items are siblings of the table element in the financial statements. | ||
**/ | ||
|
||
assert US.0152.10116 satisfied | ||
$ruleId = (rule-name().split('.'))[rule-name().split('.').length]; | ||
|
||
|
||
$GYearListElements = filter ($US-GAAP.concepts) where $item.data-type == dtr-types:gYearListItemType | ||
|
||
$factsWithGYearList = {@concept in $GYearListElements @TaxPeriodAxis = *}; | ||
|
||
exists($factsWithGYearList) | ||
|
||
message | ||
"The concept {$factsWithGYearList.name} has been reported with a value of {$factsWithGYearList.join(',')} and has used the Tax Period [AXIS]. This fact should not be used with this axis. If there are mulitoiple tax years to be reprted they should all be included in the concept {$factsWithGYearList}. | ||
|
||
Concept Name : {$factsWithGYearList.name} | ||
Period : {$factsWithGYearList.period} | ||
Dimensions : {$factsWithGYearList.dimensions.join(', ','=')} | ||
|
||
Rule Element Id:{$ruleId} | ||
Rule version: {$ruleVersion} | ||
" | ||
|
||
SEVERITY error | ||
effectiveDate $effective_dates[$ruleId] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/** | ||
DQC Rules | ||
(c) Copyright 2017 - 2023, XBRL US Inc. All rights reserved. | ||
See https://xbrl.us/dqc-license for license information. | ||
See https://xbrl.us/dqc-patent for patent infringement notice. | ||
Taxonomy: US GAAP 2022 | ||
**/ | ||
|
||
rule-name-prefix DQC | ||
|
||
/**DQC 0153.9879 **/ | ||
/** Check that the statement presentation has a table at the top and all line items as children. The rule checks if any monetary line items are siblings of the table element in the financial statements. | ||
**/ | ||
|
||
assert US.0152.10115 satisfied | ||
$ruleId = (rule-name().split('.'))[rule-name().split('.').length]; | ||
|
||
|
||
$GYearListElements = filter ($US-GAAP.concepts) where $item.data-type == dtr-types:gYearListItemType | ||
|
||
$factsWithGYearList = {@concept in $GYearListElements @TaxPeriodAxis = *}; | ||
|
||
exists($factsWithGYearList) | ||
|
||
message | ||
"The concept {$factsWithGYearList.name} has been reported with a value of {$factsWithGYearList.join(',')} and has used the Tax Period [AXIS]. This fact should not be used with this axis. If there are mulitoiple tax years to be reprted they should all be included in the concept {$factsWithGYearList}. | ||
|
||
Concept Name : {$factsWithGYearList.name} | ||
Period : {$factsWithGYearList.period} | ||
Dimensions : {$factsWithGYearList.dimensions.join(', ','=')} | ||
|
||
Rule Element Id:{$ruleId} | ||
Rule version: {$ruleVersion} | ||
" | ||
|
||
SEVERITY error | ||
effectiveDate $effective_dates[$ruleId] |