Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge for v20.0.1 Approved #728

Merged
merged 687 commits into from
Feb 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
687 commits
Select commit Hold shift + click to select a range
d4071bb
Fixed rule 81 issue
campbellpryde Sep 19, 2022
227221a
compiled V20
campbellpryde Sep 19, 2022
7d00d8d
Fixed missing comma in message.
campbellpryde Sep 20, 2022
23e70b8
Fixed missing comma in message.
campbellpryde Sep 20, 2022
bcaa148
Merge remote-tracking branch 'campbellpryde-xule.dqc/v19' into v19
davidtauriello Sep 20, 2022
bc6377d
Update .travis.yml
davidtauriello Sep 20, 2022
90e9995
Update namespace.xule
campbellpryde Sep 23, 2022
6717e6e
namespace update to V19
campbellpryde Sep 23, 2022
93a54cd
Merge branch 'v19' of https://github.com/campbellpryde/xule.dqc into v19
davidtauriello Sep 26, 2022
81bc5e3
Updated version info for V19 for approved release.
campbellpryde Sep 28, 2022
b721d7f
Remove old status parameters
campbellpryde Sep 28, 2022
3e7e94f
Update rule submission forms and .travis.yml for approved
davidtauriello Sep 28, 2022
940b779
Merge branch 'v19' of https://github.com/campbellpryde/xule.dqc into v19
davidtauriello Sep 28, 2022
6c5efce
Update DQC.US.0139.9859_bhtbk-us-2021.xml
davidtauriello Sep 28, 2022
f452c99
fix conflicts for merge
davidtauriello Sep 28, 2022
97533f5
Merge branch 'dt-v19' into v19
davidtauriello Sep 28, 2022
624c69e
Update .travis.yml
davidtauriello Sep 28, 2022
20551cf
Update for v19 Approved
davidtauriello Sep 28, 2022
b2fc394
Update unit tests for v19
davidtauriello Sep 28, 2022
3c86771
Update unit tests for v19
davidtauriello Sep 28, 2022
598300d
Update DQC.IFRS.0080_lbk-ifrs-2019.xml
davidtauriello Sep 28, 2022
c8b8683
Update DQC.IFRS.0080_lbk-ifrs-2019.xml
davidtauriello Sep 28, 2022
e453d3d
Update DQC_0015_ListOfElements.xlsx
davidtauriello Sep 28, 2022
6a622a0
Updated Data Quality Checks.
campbellpryde Sep 28, 2022
bf3cfa4
updated ruleset .zip files for approved release v19
davidtauriello Sep 28, 2022
1705fba
Update v19 Approved (#679)
davidtauriello Sep 29, 2022
581ae0b
Merge branch 'master' into v19
davidtauriello Sep 29, 2022
ef81278
Merge branch 'v19' of https://github.com/DataQualityCommittee/dqc_us_…
davidtauriello Sep 29, 2022
b0fcd54
Update from dqc_us_rules v19.0.0
davidtauriello Sep 29, 2022
e743930
Update .gitignore for xule.dqc
davidtauriello Sep 29, 2022
652fc34
Update v19.0.0 from dt-xule.dqc << dqc_us_rules
davidtauriello Sep 29, 2022
2a358b1
Update from cp-xule.dqc v19
davidtauriello Sep 29, 2022
c72ee75
Update requirements.txt
davidtauriello Sep 29, 2022
7380433
Update .gitignore
davidtauriello Sep 29, 2022
00a5f38
Update ruleset .zip files for v18.0.9
davidtauriello Sep 29, 2022
3f95da3
Update for v19.0.0 approved
davidtauriello Sep 29, 2022
05887fc
For IFRS taxonomy updated for Auditor Name
campbellpryde Sep 30, 2022
f330fa6
For IFRS taxonomy updated for Auditor Name
campbellpryde Sep 30, 2022
160b04f
Updated rule 135 for tolerance
campbellpryde Oct 4, 2022
a4656c8
Update version.xule
campbellpryde Oct 4, 2022
347ce95
Updated V19
campbellpryde Oct 4, 2022
53fd200
Updated rule 132 to handle financ
campbellpryde Oct 6, 2022
20bfc77
Updated rule 132 to handle financ
campbellpryde Oct 6, 2022
9823da1
Updated rule 135 for tolerance
campbellpryde Oct 4, 2022
5447371
Updated to handle pension issue for 135
campbellpryde Oct 11, 2022
3874ecf
Updated version number
campbellpryde Oct 11, 2022
c4c7788
Updated V19
campbellpryde Oct 11, 2022
8e78ffc
Updated 136 to exclude nils
campbellpryde Oct 12, 2022
f7258bc
Updated to handle pension issue for 135
campbellpryde Oct 11, 2022
abcd547
Updated 136 to exclude nils
campbellpryde Oct 12, 2022
e4e5078
Updated V19
campbellpryde Oct 12, 2022
f025462
Fixed message to show max absolute value.
campbellpryde Oct 14, 2022
797ce5b
Fixed message to show max absolute value.
campbellpryde Oct 14, 2022
f241baf
Updated V19 for changes
campbellpryde Oct 14, 2022
61f5096
Updated tolerance on 135
campbellpryde Oct 17, 2022
9226051
Updated V20 rulesets
campbellpryde Oct 17, 2022
638414a
Updated tolerance to 20
campbellpryde Oct 17, 2022
61f177c
Updated for tolerance
campbellpryde Oct 17, 2022
37db390
Updated rule 134 for Short Term and Fixed Maturites Member
campbellpryde Oct 20, 2022
048a6c5
Updating Committing V19
campbellpryde Oct 20, 2022
8cdeeb8
Updated rule 134 for Short Term and Fixed Maturites Member
campbellpryde Oct 20, 2022
63c1d3a
Update dqc_0135 rule submission form
davidtauriello Oct 20, 2022
c19f134
Merge branch 'v19' of https://github.com/campbellpryde/xule.dqc into v19
davidtauriello Oct 20, 2022
f9e7188
Updated V20
campbellpryde Oct 20, 2022
24548cf
Updated 140 to fix xule error
campbellpryde Oct 20, 2022
c7e3b4c
Update version.xule
campbellpryde Oct 20, 2022
5ac479b
Compiled V19
campbellpryde Oct 20, 2022
3c94015
Merge branch 'v19' of https://github.com/campbellpryde/xule.dqc into v19
davidtauriello Oct 20, 2022
df25225
Update requirements.txt and .travis.yml
davidtauriello Oct 20, 2022
21d6bc0
Update unit tests for rule changes
davidtauriello Oct 21, 2022
cbf0643
Update v19 Approved (#682)
davidtauriello Oct 21, 2022
2008d41
Update .travis.yml
davidtauriello Oct 21, 2022
fd65205
fix conflicts for merge
davidtauriello Oct 21, 2022
8ae5507
Update effective_dates.csv
campbellpryde Oct 21, 2022
5f8a58b
Update resources.zip
campbellpryde Oct 21, 2022
5605244
Update effective_dates.csv
campbellpryde Oct 21, 2022
1ac13be
Update effective_dates.csv
campbellpryde Oct 21, 2022
a0b07db
Merge pull request #684 from campbellpryde/patch-1
marcward Oct 21, 2022
b651a85
Updated with effective dates in resource file
campbellpryde Oct 24, 2022
4adcd29
Update effective_dates.csv
campbellpryde Oct 21, 2022
d58d75e
Updated rule 145 for typo
campbellpryde Oct 24, 2022
ad4c292
Updated V20
campbellpryde Oct 24, 2022
028c5c1
Updated rules for V20
campbellpryde Oct 25, 2022
d1b548b
Updated V20 rules
campbellpryde Oct 25, 2022
d312094
Update .gitignore
davidtauriello Oct 25, 2022
688a788
Update from DQC-esef-dqr
davidtauriello Oct 25, 2022
c895ef6
Update campbellpryde-xule.dqc
davidtauriello Oct 25, 2022
94add15
Merge branch 'v19' of https://github.com/xbrlus/xule.dqc into v19
davidtauriello Oct 25, 2022
72815a0
Update from DQC v19.0.1
davidtauriello Oct 25, 2022
01632d1
Update from v19
davidtauriello Oct 25, 2022
74b8a5a
Update from DQC v19.0.1
davidtauriello Oct 25, 2022
c539ed8
Updated for unfunded on nonneg
campbellpryde Oct 25, 2022
2e4cc81
Updated for unfunded on nonneg
campbellpryde Oct 25, 2022
b8d67ae
Updated Version Number
campbellpryde Oct 25, 2022
ecdb2aa
Updated V19 version Number
campbellpryde Oct 25, 2022
ee9e20f
Updated V20
campbellpryde Oct 26, 2022
c1c93bb
Updates to V20
campbellpryde Oct 26, 2022
6b521f6
Fixed Tolerance scales and OVI issue on 135
campbellpryde Oct 26, 2022
ec5a709
Fixed Tolerance scales and OVI issue on 135
campbellpryde Oct 26, 2022
c9dbbb2
Updated to V20 rules so they work.
campbellpryde Oct 27, 2022
d1b2e80
Updated for errors identified in V20 run
campbellpryde Oct 27, 2022
8616982
Upate from v19.0.1 DQC
davidtauriello Oct 27, 2022
7af480a
Update v20 for testing
davidtauriello Oct 27, 2022
6e48cb0
Update from CP xule.dqc for v19.0.2
davidtauriello Oct 27, 2022
b3246c4
Update v20 from CP xule.dqc
davidtauriello Oct 27, 2022
12d6c38
Merge remote-tracking branch 'davidtauriello-xule.dqc/v20' into v20
davidtauriello Oct 27, 2022
0109bef
Updated rule 135 for OCI
campbellpryde Oct 27, 2022
cf29dcd
Fixed rule 147 error message
campbellpryde Nov 4, 2022
b98bcd3
Updated rule 0135
campbellpryde Nov 4, 2022
91d3440
Updated 135
campbellpryde Nov 4, 2022
4b8e859
Update V20 for V21 changes
campbellpryde Nov 8, 2022
df88449
Updated V20 rules to eliminate false positives for 145 and 146
campbellpryde Nov 8, 2022
4a38372
Updated 135 and 149
campbellpryde Nov 8, 2022
3d6b806
Updated 146 to handle transitions.
campbellpryde Nov 10, 2022
c61107b
Update functions.xule
campbellpryde Nov 11, 2022
c7e309f
Update DQC_0146.xule
campbellpryde Nov 11, 2022
adfbdf4
Delete DQC_0149.xule
campbellpryde Nov 11, 2022
529ecb0
Updated V20
campbellpryde Nov 11, 2022
b06a68a
Updated rule 118
campbellpryde Nov 14, 2022
5983ae1
Updates to V18 for rule 118
campbellpryde Nov 14, 2022
763ec37
Update for v20 public review
davidtauriello Nov 14, 2022
2563c12
Updated V20
campbellpryde Nov 14, 2022
215b7ee
Update travis-CI process
davidtauriello Nov 15, 2022
749eddd
Update v20 ruleset .zip files
davidtauriello Nov 15, 2022
d036e66
Updated Resources for V20 and version number and status
campbellpryde Nov 15, 2022
c711252
Update resources.zip
campbellpryde Nov 15, 2022
b6eb9d5
Updated V20
campbellpryde Nov 15, 2022
0d2bab1
Update for v20 public exposure
davidtauriello Nov 15, 2022
726100b
Update travis-CI for v20 rules
davidtauriello Nov 15, 2022
079b746
Update .travis.yml
davidtauriello Nov 15, 2022
ec82877
Update documentation for v20 public exposure
davidtauriello Nov 15, 2022
bc825aa
Updated rule 146 for false value in boolean
campbellpryde Nov 15, 2022
5d25368
Updated V20 for fix to 146
campbellpryde Nov 15, 2022
8433064
Update resources.xule
campbellpryde Nov 15, 2022
b30d499
Create tasks.json
campbellpryde Nov 15, 2022
d2905fd
Update dqc-ifrs-2021-V20-ruleset.zip
campbellpryde Nov 15, 2022
bea4440
Update dqc-ifrs-2021-V20-ruleset.zip
campbellpryde Nov 15, 2022
d81818b
Update v20 for public review
davidtauriello Nov 15, 2022
730ccca
Update DQC.US.0146.9870_form-us-2021.xml
davidtauriello Nov 15, 2022
8e8335d
Update v20 for Public Exposure (#694)
davidtauriello Nov 15, 2022
afb190e
Update .travis.yml
davidtauriello Nov 15, 2022
27276c7
Updated errors based on travis run
campbellpryde Nov 16, 2022
6d484a8
Updating V20 for changes for resources
campbellpryde Nov 16, 2022
cab47cf
Update test cases
davidtauriello Nov 16, 2022
a0540c3
Update unit tests
davidtauriello Nov 16, 2022
ad1a570
Update v20 for public exposure
davidtauriello Nov 16, 2022
ed41b73
Update v20 public exposure (#695)
davidtauriello Nov 16, 2022
1d87296
Update unit tests dqc_0135
davidtauriello Nov 16, 2022
a0f7484
Merge branch 'v20' of https://github.com/DataQualityCommittee/dqc_us_…
davidtauriello Nov 16, 2022
e4d4b93
Updated V19 to add exceptions to 115
campbellpryde Nov 16, 2022
9c13ef4
Updated V20
campbellpryde Nov 16, 2022
fd04d66
Updated rule 135 to handle breakdowns
campbellpryde Nov 18, 2022
0651c70
Updated V20 version
campbellpryde Nov 18, 2022
44b4323
Update v20
davidtauriello Nov 18, 2022
a19628c
V20 (#701)
davidtauriello Nov 18, 2022
73f6a9f
Updated V20
campbellpryde Nov 18, 2022
52947f3
Updated 135 to handle derivative axis breakdown.
campbellpryde Nov 18, 2022
4a52f60
Update dqc_0135
davidtauriello Nov 18, 2022
09e3d84
Updated rulsets
campbellpryde Nov 18, 2022
ebeec7c
fix conflicts
davidtauriello Nov 18, 2022
218eb36
Merge branch 'dt-v20' into v20
davidtauriello Nov 18, 2022
68dd926
Update to Arelle 2.1.4
davidtauriello Nov 21, 2022
1398ed5
Updated rule 5 and 6 not to fire in cases where there are two documen…
campbellpryde Nov 22, 2022
4be0746
Updated rule 141 to match by class
campbellpryde Nov 22, 2022
7e8ff5e
Updated version 20 rules
campbellpryde Nov 22, 2022
d70d1b3
Updated V20
campbellpryde Nov 23, 2022
8e8f7e6
Merge branch 'v20' of https://github.com/DataQualityCommittee/dqc_us_…
davidtauriello Nov 23, 2022
6c5a05d
Update v20
davidtauriello Nov 23, 2022
86e511f
Update .travis.yml
davidtauriello Nov 23, 2022
78beae1
Update .travis.yml
davidtauriello Nov 23, 2022
31bd6dc
Update DQC.US.0141.9863_bhlb-us-2021.xml
davidtauriello Nov 23, 2022
4dccc1d
Update travis-run.sh
davidtauriello Nov 23, 2022
ca76b8a
Update v20 Public Exposure (#708)
davidtauriello Nov 23, 2022
7a6b021
Fixed bug in rule 142 and added fix to rule 43
campbellpryde Dec 4, 2022
8004a18
Recompiled V20
campbellpryde Dec 5, 2022
f301977
Create DQC_0149.xule
campbellpryde Dec 6, 2022
64690af
Update DQC_0135.md
davidtauriello Dec 6, 2022
c4f58aa
Updated 121 to exclude 6-K and 8-K
campbellpryde Dec 6, 2022
822001d
Updated rules based on DQC meeting.
campbellpryde Dec 6, 2022
627f299
Update DQC_0146.md
davidtauriello Dec 15, 2022
8e41104
Updated rule 43 to handle Distributed earnings accrual
campbellpryde Jan 2, 2023
83d252d
Update rule 135
campbellpryde Jan 3, 2023
09961e6
Update DQC_0049.xule
campbellpryde Jan 3, 2023
6fd4625
Compiled V20
campbellpryde Jan 3, 2023
198fcf1
Updated V20
campbellpryde Jan 3, 2023
d7dc73d
Update DQC_0135.md
davidtauriello Jan 5, 2023
0b46ffa
Updated 135 to handle environmental breakdowns
campbellpryde Jan 5, 2023
84b5bac
Fixed issue with rule 118
campbellpryde Jan 9, 2023
3f8d2b3
Updated rule 140 where there is a none value in the min agg function..
campbellpryde Jan 9, 2023
f0dbeed
Updated version number
campbellpryde Jan 9, 2023
2ac8234
Updated files for V20
campbellpryde Jan 9, 2023
f1dd55a
Update v20
davidtauriello Jan 9, 2023
95bdf2f
Updated rule 145 for comment from Shelly.
campbellpryde Jan 9, 2023
613edea
Updated V20 to reflect V19 changes
campbellpryde Jan 9, 2023
075355c
Update v20
davidtauriello Jan 9, 2023
c4714fc
Update travis and unit test for v20 changes
davidtauriello Jan 9, 2023
2297ce4
Update functions.xule
campbellpryde Jan 13, 2023
f1a2399
Updated V20
campbellpryde Jan 13, 2023
83f59fb
Update for v20
davidtauriello Jan 13, 2023
a70ea18
Update copyright
davidtauriello Jan 17, 2023
3272f53
Update copyright
davidtauriello Jan 17, 2023
0411906
Update .travis.yml
davidtauriello Jan 17, 2023
1354335
Updated rule for 140 to handle decimal tolerance
campbellpryde Jan 17, 2023
4fb0315
Merge branch 'v20' of https://github.com/campbellpryde/xule.dqc into v20
davidtauriello Jan 17, 2023
6550c0d
Update .travis.yml
davidtauriello Jan 17, 2023
aa702f6
Update v20
davidtauriello Jan 17, 2023
b696d51
Merge branch 'dt-v20' into v20
davidtauriello Jan 17, 2023
3f898ab
Added 2023 taxonomy
campbellpryde Jan 18, 2023
2cfd8b7
Create dqc_15_usgaap_2023_concepts.csv
campbellpryde Jan 18, 2023
597621b
Added srt concepts
campbellpryde Jan 18, 2023
37eb7c4
Update dqc_15_srt__2023_concepts.csv
campbellpryde Jan 18, 2023
6bc7bad
Update dqc_15_usgaap_2023_concepts.csv
campbellpryde Jan 18, 2023
3155f5d
Removed srt file
campbellpryde Jan 18, 2023
7783ea8
Create dqc_15_srt_2023_concepts.csv
campbellpryde Jan 18, 2023
2b2cefe
Added 2023 taxonomy files
campbellpryde Jan 18, 2023
740a201
updated resource file for 2023 to point to 2023 elements
campbellpryde Jan 18, 2023
fffa711
Update DQC_0143.xule
campbellpryde Jan 18, 2023
2f4a854
Updated rule number for 148
campbellpryde Jan 18, 2023
34f6ed1
Removed duplicate resource file references in IFRS rules
campbellpryde Jan 18, 2023
9fbc133
Updated numbering of DQC0015 rules
campbellpryde Jan 18, 2023
5436ad7
Updated effective dates for V20
campbellpryde Jan 18, 2023
86e2d40
Updated V20 rules
campbellpryde Jan 18, 2023
d5ba92d
Squashed commit of the following:
davidtauriello Jan 18, 2023
41e6dab
Merge remote-tracking branch 'DataQualityCommittee/v20' into v20
davidtauriello Jan 18, 2023
7529f69
Update from v20 xule.dqc
davidtauriello Jan 19, 2023
d569028
Update v20 (#714)
davidtauriello Jan 19, 2023
113e234
Updated rule 1 for missing base member
campbellpryde Jan 19, 2023
e9abff7
fixed us-gaap case
campbellpryde Jan 19, 2023
e850ae5
Merge branch 'v20' of https://github.com/DataQualityCommittee/dqc_us_…
davidtauriello Jan 20, 2023
bfa1524
Updated V20 for change to rule 1
campbellpryde Jan 20, 2023
43f2c47
Update dqc_0001
davidtauriello Jan 20, 2023
579962d
Update v20 (#717)
davidtauriello Jan 20, 2023
efcc23f
Updated rule 142 to fix error.
campbellpryde Jan 20, 2023
c3fbada
Update dqc-us-2022-V20-ruleset.zip
campbellpryde Jan 20, 2023
bf25334
Updated 118 to exclude pledged axis
campbellpryde Jan 20, 2023
8990d6e
Update DQC_0118.xule
campbellpryde Jan 20, 2023
5a412fb
Removed rules with deprecated elements.
campbellpryde Jan 20, 2023
4c29551
Updated rule V20
campbellpryde Jan 20, 2023
a705076
Update v20
davidtauriello Jan 20, 2023
78f96d4
Update v20
davidtauriello Jan 20, 2023
8fd7a43
Merge branch 'dt-v20' into v20
davidtauriello Jan 20, 2023
ddb59a4
Update .travis.yml
davidtauriello Jan 21, 2023
0a9cc84
Update for v20 approved (#722)
davidtauriello Feb 7, 2023
da52674
Update v20 approved
davidtauriello Feb 7, 2023
6f2bace
fix conflicts for v20 approved merge
davidtauriello Feb 7, 2023
9adf7e5
Update rulesetMap.json
davidtauriello Feb 7, 2023
5440231
Update v20 Approved for merge
campbellpryde Feb 7, 2023
04ab24a
Update for v20.0.1 Approved (#725)
davidtauriello Feb 10, 2023
25818e1
Update v20.0.1 Approved (#727)
davidtauriello Feb 10, 2023
92da597
fix conflicts for v20.0.1 merge
davidtauriello Feb 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified dqc_us_rules/dqc-ifrs-2018-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2019-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2020-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2021-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2022-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2018-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2019-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2020-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2021-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2022-V20-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2023-V20-ruleset.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion dqc_us_rules/source/lib/version.xule
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DQC Rules

/** Define the rule version **/

constant $ruleVersion = '20.0.0'
constant $ruleVersion = '20.0.1'

/** Define Additional Attribute types that can be associated with a rule **/

Expand Down
4 changes: 2 additions & 2 deletions dqc_us_rules/source/us/2018/DQC_0043.xule
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ effectiveDate $effective_dates[$rule_id]
assert US.0043.9873 satisfied
$ruleId = (rule-name().split('.'))[rule-name().split('.').length];

for $IncomeItem in ($income_items)
for $IncomeItem in (($income_items) - set(DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax))
for $Operating in list(NetCashProvidedByUsedInOperatingActivities, NetCashProvidedByUsedInOperatingActivitiesContinuingOperations)
if $Operating == NetCashProvidedByUsedInOperatingActivities
$DescendantsToCheck = navigate summation-item descendants from $Operating returns target-name
Expand All @@ -143,7 +143,7 @@ for $IncomeItem in ($income_items)
else
$discOPs = set(DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax, IncomeLossFromDiscontinuedOperationsNetOfTax,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity, DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax)
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity)
if $IncomeItem in $discOPs
$signFlag = "positive"
effective_weight_is_positive($Operating, $IncomeItem)
Expand Down
4 changes: 2 additions & 2 deletions dqc_us_rules/source/us/2019/DQC_0043.xule
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ effectiveDate $effective_dates[$rule_id]
assert US.0043.9873 satisfied
$ruleId = (rule-name().split('.'))[rule-name().split('.').length];

for $IncomeItem in ($income_items)
for $IncomeItem in (($income_items) - set(DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax))
for $Operating in list(NetCashProvidedByUsedInOperatingActivities, NetCashProvidedByUsedInOperatingActivitiesContinuingOperations)
if $Operating == NetCashProvidedByUsedInOperatingActivities
$DescendantsToCheck = navigate summation-item descendants from $Operating returns target-name
Expand All @@ -144,7 +144,7 @@ for $IncomeItem in ($income_items)
else
$discOPs = set(DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax, IncomeLossFromDiscontinuedOperationsNetOfTax,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity, DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax)
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity)
if $IncomeItem in $discOPs
$signFlag = "positive"
effective_weight_is_positive($Operating, $IncomeItem)
Expand Down
6 changes: 3 additions & 3 deletions dqc_us_rules/source/us/2020/DQC_0043.xule
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**

DQC Rules
(c) Copyright 2017 - 2023, XBRL US Inc. All rights reserved.
(c) Copyright 2017 - 2022, 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 2020
Expand Down Expand Up @@ -132,7 +132,7 @@ effectiveDate $effective_dates[$rule_id]
assert US.0043.9873 satisfied
$ruleId = (rule-name().split('.'))[rule-name().split('.').length];

for $IncomeItem in ($income_items)
for $IncomeItem in (($income_items) - set(DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax))
for $Operating in list(NetCashProvidedByUsedInOperatingActivities, NetCashProvidedByUsedInOperatingActivitiesContinuingOperations)
if $Operating == NetCashProvidedByUsedInOperatingActivities
$DescendantsToCheck = navigate summation-item descendants from $Operating returns target-name
Expand All @@ -144,7 +144,7 @@ for $IncomeItem in ($income_items)
else
$discOPs = set(DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax, IncomeLossFromDiscontinuedOperationsNetOfTax,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity, DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax)
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity)
if $IncomeItem in $discOPs
$signFlag = "positive"
effective_weight_is_positive($Operating, $IncomeItem)
Expand Down
4 changes: 3 additions & 1 deletion dqc_us_rules/source/us/2020/DQC_0145.xule
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ $ruleId = (rule-name().split('.'))[rule-name().split('.').length];

$NonFinancing = set(NetCashProvidedByUsedInInvestingActivitiesAbstract, NetCashProvidedByUsedInOperatingActivitiesAbstract, EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperationsAbstract);

$taxonomyItemsNotInExtensions = navigate parent-child descendants from $NonFinancing taxonomy $us-gaap returns set (target-name)
$allowableFinancingItems = navigate parent-child descendants from NetCashProvidedByUsedInFinancingActivitiesAbstract taxonomy $us-gaap returns set (target-name)

$taxonomyItemsNotInExtensions = navigate parent-child descendants from $NonFinancing taxonomy $us-gaap returns set (target-name) - $allowableFinancingItems

$extensionNames = navigate parent-child descendants from NetCashProvidedByUsedInFinancingActivitiesAbstract where $relationship.target.name in $taxonomyItemsNotInExtensions returns set (target-name)

Expand Down
4 changes: 2 additions & 2 deletions dqc_us_rules/source/us/2021/DQC_0043.xule
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ effectiveDate $effective_dates[$rule_id]
assert US.0043.9873 satisfied
$ruleId = (rule-name().split('.'))[rule-name().split('.').length];

for $IncomeItem in ($INCOME_ITEMS)
for $IncomeItem in (($INCOME_ITEMS) - set(DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax))
for $Operating in list(NetCashProvidedByUsedInOperatingActivities, NetCashProvidedByUsedInOperatingActivitiesContinuingOperations)
if $Operating == NetCashProvidedByUsedInOperatingActivities
$DescendantsToCheck = navigate summation-item descendants from $Operating returns target-name
Expand All @@ -144,7 +144,7 @@ for $IncomeItem in ($INCOME_ITEMS)
else
$discOPs = set(DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax, IncomeLossFromDiscontinuedOperationsNetOfTax,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity, DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax)
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity)
if $IncomeItem in $discOPs
$signFlag = "positive"
effective_weight_is_positive($Operating, $IncomeItem)
Expand Down
4 changes: 3 additions & 1 deletion dqc_us_rules/source/us/2021/DQC_0145.xule
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ $ruleId = (rule-name().split('.'))[rule-name().split('.').length];

$NonFinancing = set(NetCashProvidedByUsedInInvestingActivitiesAbstract, NetCashProvidedByUsedInOperatingActivitiesAbstract, EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperationsAbstract);

$taxonomyItemsNotInExtensions = navigate parent-child descendants from $NonFinancing taxonomy $US-GAAP returns set (target-name)
$allowableFinancingItems = navigate parent-child descendants from NetCashProvidedByUsedInFinancingActivitiesAbstract taxonomy $US-GAAP returns set (target-name)

$taxonomyItemsNotInExtensions = navigate parent-child descendants from $NonFinancing taxonomy $US-GAAP returns set (target-name) - $allowableFinancingItems

$extensionNames = navigate parent-child descendants from NetCashProvidedByUsedInFinancingActivitiesAbstract where $relationship.target.name in $taxonomyItemsNotInExtensions returns set (target-name)

Expand Down
4 changes: 2 additions & 2 deletions dqc_us_rules/source/us/2022/DQC_0043.xule
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Example filing:
assert US.0043.9873 satisfied
$ruleId = (rule-name().split('.'))[rule-name().split('.').length];

for $IncomeItem in ($INCOME_ITEMS)
for $IncomeItem in (($INCOME_ITEMS) - set(DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax))
for $Operating in list(NetCashProvidedByUsedInOperatingActivities, NetCashProvidedByUsedInOperatingActivitiesContinuingOperations)
if $Operating == NetCashProvidedByUsedInOperatingActivities
$DescendantsToCheck = navigate summation-item descendants from $Operating returns target-name
Expand All @@ -146,7 +146,7 @@ for $IncomeItem in ($INCOME_ITEMS)
else
$discOPs = set(DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax, IncomeLossFromDiscontinuedOperationsNetOfTax,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity, DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax)
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity)
if $IncomeItem in $discOPs
$signFlag = "positive"
effective_weight_is_positive($Operating, $IncomeItem)
Expand Down
4 changes: 3 additions & 1 deletion dqc_us_rules/source/us/2022/DQC_0145.xule
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ $ruleId = (rule-name().split('.'))[rule-name().split('.').length];

$NonFinancing = set(NetCashProvidedByUsedInInvestingActivitiesAbstract, NetCashProvidedByUsedInOperatingActivitiesAbstract, EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperationsAbstract);

$taxonomyItemsNotInExtensions = navigate parent-child descendants from $NonFinancing taxonomy $US-GAAP returns set (target-name)
$allowableFinancingItems = navigate parent-child descendants from NetCashProvidedByUsedInFinancingActivitiesAbstract taxonomy $US-GAAP returns set (target-name)

$taxonomyItemsNotInExtensions = navigate parent-child descendants from $NonFinancing taxonomy $US-GAAP returns set (target-name) - $allowableFinancingItems

$extensionNames = navigate parent-child descendants from NetCashProvidedByUsedInFinancingActivitiesAbstract where $relationship.target.name in $taxonomyItemsNotInExtensions returns set (target-name)

Expand Down
4 changes: 2 additions & 2 deletions dqc_us_rules/source/us/2023/DQC_0043.xule
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ effectiveDate $effective_dates[$rule_id]
assert US.0043.9873 satisfied
$ruleId = (rule-name().split('.'))[rule-name().split('.').length];

for $IncomeItem in ($INCOME_ITEMS)
for $IncomeItem in (($INCOME_ITEMS) - set(DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax))
for $Operating in list(NetCashProvidedByUsedInOperatingActivities, NetCashProvidedByUsedInOperatingActivitiesContinuingOperations)
if $Operating == NetCashProvidedByUsedInOperatingActivities
$DescendantsToCheck = navigate summation-item descendants from $Operating returns target-name
Expand All @@ -144,7 +144,7 @@ for $IncomeItem in ($INCOME_ITEMS)
else
$discOPs = set(DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax, IncomeLossFromDiscontinuedOperationsNetOfTax,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest,
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity, DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax)
IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity)
if $IncomeItem in $discOPs
$signFlag = "positive"
effective_weight_is_positive($Operating, $IncomeItem)
Expand Down
4 changes: 3 additions & 1 deletion dqc_us_rules/source/us/2023/DQC_0145.xule
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ $ruleId = (rule-name().split('.'))[rule-name().split('.').length];

$NonFinancing = set(NetCashProvidedByUsedInInvestingActivitiesAbstract, NetCashProvidedByUsedInOperatingActivitiesAbstract, EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperationsAbstract);

$taxonomyItemsNotInExtensions = navigate parent-child descendants from $NonFinancing taxonomy $US-GAAP returns set (target-name)
$allowableFinancingItems = navigate parent-child descendants from NetCashProvidedByUsedInFinancingActivitiesAbstract taxonomy $US-GAAP returns set (target-name)

$taxonomyItemsNotInExtensions = navigate parent-child descendants from $NonFinancing taxonomy $US-GAAP returns set (target-name) - $allowableFinancingItems

$extensionNames = navigate parent-child descendants from NetCashProvidedByUsedInFinancingActivitiesAbstract where $relationship.target.name in $taxonomyItemsNotInExtensions returns set (target-name)

Expand Down
4 changes: 2 additions & 2 deletions travis-run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
pip show Arelle-release
set -x
svn export --quiet https://github.com/xbrlus/xule/trunk/plugin/xule $CURDIR/plugin/xule
svn export --quiet https://github.com/xbrlus/xule/trunk/plugin/validate $CURDIR/plugin/validate
svn export --quiet https://github.com/xbrlus/xule/tags/23379.2/plugin/xule $CURDIR/plugin/xule
svn export --quiet https://github.com/xbrlus/xule/tags/23379.2/plugin/validate $CURDIR/plugin/validate
cp -R $CURDIR/plugin/xule $VIRTUAL_ENV/lib/python3.9/site-packages/arelle/plugin/xule
cp $CURDIR/plugin/validate/DQC.py $VIRTUAL_ENV/lib/python3.9/site-packages/arelle/plugin/validate/DQC.py
echo $INFILES > infiles.json
Expand Down