Skip to content

Commit

Permalink
Update for approved v20 (XULE release 23469) (#743)
Browse files Browse the repository at this point in the history
* Updated rule 142 to include the range axis.

* Updated rule 118 to exclude the SignificantInvestmentsInAssociatesAxis to be consistent with rule 0127

* Updated rule 15 to exclude DerivativeCostOfHedgeNetOfCashReceived from the nonneg test.

* Added constant for disc ops elements

* Updated rule 60 to handle immaterial disc ops

* Updated rule message on rule 43

* Update resources.zip

* Updated V20

* Updated DQC 60 to handle immaterial amounts

Corrected for negative value using abs.

* Updated version number to 06

* Updated V20 this runs on the build 23524

This build has been complied with this ruleset. 23524

* Updated rule 0043 to fix xule error

* Update .travis.yml

- filter for changes
- use 23469.1

* Updated using 23547 this is the same as 23524

* Update test cases add dqc_0043.9873

* Update rulesetMap.json

- use v20-x for XULE

* Update DQC.US.0015_testco-2018.xml

- remove DerivativeCostOfHedgeNetOfCashReceived

---------

Co-authored-by: Campbell <campbell.pryde@xbrl.us>
  • Loading branch information
davidtauriello and campbellpryde committed May 4, 2023
1 parent 94f9c27 commit 4d57a3e
Show file tree
Hide file tree
Showing 53 changed files with 326 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -24,7 +24,7 @@ env:
- INFILES='[{"file":"https://www.sec.gov/Archives/edgar/data/854560/000092708920000286/gsbc-20200331_htm.xml", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/1021635/000102163519000015/oge-20181231.xml", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/104169/000010416920000011/wmtform10-kx1312020_htm.xml", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/1237831/000123783120000010/gmed-20191231x10k.htm", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/1018840/000101884020000021/a201910-k.htm", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/38723/000137647420000072/ffc-20191231.xml", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/807882/000080788220000004/jack-20200119.htm", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/18255/000001825520000005/cato-20200201.htm", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/850429/000085042920000036/tg-20200331.htm", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/4457/000000445720000053/uhal-20200331.htm", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/1090396/000121390020007284/tbtc-20191231.xml", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/1705873/000170587320000014/bry-20191231.xml", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/43920/000004392019000063/gef2019q410-k.htm", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/1239819/000123981919000029/luna-20181231.xml", "xule_run_only":"DQC.US.0013"},{"file":"https://www.sec.gov/Archives/edgar/data/1028954/000102895419000010/sbbx-20190930.xml", "xule_run_only":"DQC.US.0014"},{"file":"https://www.sec.gov/Archives/edgar/data/1218683/000121390020008074/wizp-20191231.xml", "xule_run_only":"DQC.US.0014"},{"file":"https://www.sec.gov/Archives/edgar/data/1385799/000149315220011580/abmt-20200430.xml", "xule_run_only":"DQC.US.0014"},{"file":"https://www.sec.gov/Archives/edgar/data/1691299/000119312519298801/d616450ds4_htm.xml", "xule_run_only":"DQC.US.0014"}]' EXFILES=$EXPECTED/DQC.US.0013_gsbc-us-2020.xml,$EXPECTED/DQC.US.0013_oge-us-2018.xml,$EXPECTED/DQC.US.0013_wmt-us-2019.xml,$EXPECTED/DQC.US.0013_gmed-us-2019.xml,$EXPECTED/DQC.US.0013_a-us-2019.xml,$EXPECTED/DQC.US.0013_ffc-us-2020.xml,$EXPECTED/DQC.US.0013_jack-us-2019.xml,$EXPECTED/DQC.US.0013_cato-us-2019.xml,$EXPECTED/DQC.US.0013_tg-us-2019.xml,$EXPECTED/DQC.US.0013_uhal-us-2019.xml,$EXPECTED/DQC.US.0013_tbtc-us-2019.xml,$EXPECTED/DQC.US.0013_bry-us-2019.xml,$EXPECTED/DQC.US.0013_gef-us-2019.xml,$EXPECTED/DQC.US.0013_luna-us-2018.xml,$EXPECTED/DQC.US.0014_sbbx-us-2019.xml,$EXPECTED/DQC.US.0014_wizp-us-2019.xml,$EXPECTED/DQC.US.0014_abmt-us-2020.xml,$EXPECTED/DQC.US.0014_d616450-us-2019.xml
- INFILES='[{"file":"./tests/input/data-resiliency-2020.xbrl", "xule_run_only":"DQC.US.0015"},{"file":"./tests/input/Testco-2018-NonNeg.xbrl", "xule_run_only":"DQC.US.0015"}]' EXFILES=$EXPECTED/DQC.US.0015_data-resiliency-2020.xml,$EXPECTED/DQC.US.0015_testco-2018.xml
- INFILES='[{"file":"https://www.sec.gov/Archives/edgar/data/715812/000071581219000024/bsyn-20190701.xml", "xule_run_only":"DQC.US.0018.34"},{"file":"https://www.sec.gov/Archives/edgar/data/1092570/000137647420000123/fulo-20200331.htm", "xule_run_only":"DQC.US.0033.2"},{"file":"https://www.sec.gov/Archives/edgar/data/752294/000105291820000090/elst-20190331.xml", "xule_run_only":"DQC.US.0036.1"},{"file":"https://www.sec.gov/Archives/edgar/data/1518720/000164033420001843/fpvd-20190430.xml", "xule_run_only":"DQC.US.0041.73"}]' EXFILES=$EXPECTED/DQC.US.0018.34_bsyn-us-2019.xml,$EXPECTED/DQC.US.0033.2_fulo-us-2020.xml,$EXPECTED/DQC.US.0036.1_elst-us-2020.xml,$EXPECTED/DQC.US.0041.73_fpvd-us-2019.xml
- INFILES='[{"file":"https://www.sec.gov/Archives/edgar/data/1518720/000164033420001843/fpvd-20190430.xml", "xule_run_only":"DQC.US.0043.7488"},{"file":"https://www.sec.gov/Archives/edgar/data/867038/000101738619000325/spnd-20190930.xml", "xule_run_only":"DQC.US.0043.7488"},{"file":"https://www.sec.gov/Archives/edgar/data/1295961/000143774922001542/qegy20210831b_10qa.htm", "xule_run_only":"DQC.US.0043.7488"},{"file":"https://www.sec.gov/Archives/edgar/data/1629205/000147793220004090/gmvp-20200531.xml", "xule_run_only":"DQC.US.0044.7503"}]' EXFILES=$EXPECTED/DQC.US.0043.7488_fpvd-us-2019.xml,$EXPECTED/DQC.US.0043.7488_spnd-us-2019.xml,$EXPECTED/DQC.US.0043.7488_qegy-us-2021.xml,$EXPECTED/DQC.US.0044.7503_gmvp-us-2019.xml
- INFILES='[{"file":"https://www.sec.gov/Archives/edgar/data/1518720/000164033420001843/fpvd-20190430.xml", "xule_run_only":"DQC.US.0043.7488"},{"file":"https://www.sec.gov/Archives/edgar/data/867038/000101738619000325/spnd-20190930.xml", "xule_run_only":"DQC.US.0043.7488"},{"file":"https://www.sec.gov/Archives/edgar/data/1295961/000143774922001542/qegy20210831b_10qa.htm", "xule_run_only":"DQC.US.0043.7488"},{"file":"http://www.sec.gov/Archives/edgar/data/701719/000165495423005744/ela_10q.htm", "xule_run_only":"DQC.US.0043.9873"},{"file":"http://www.sec.gov/Archives/edgar/data/1670196/000147793223002932/dswr_10k.htm", "xule_run_only":"DQC.US.0043.9873"},{"file":"https://www.sec.gov/Archives/edgar/data/1629205/000147793220004090/gmvp-20200531.xml", "xule_run_only":"DQC.US.0044.7503"}]' EXFILES=$EXPECTED/DQC.US.0043.7488_fpvd-us-2019.xml,$EXPECTED/DQC.US.0043.7488_spnd-us-2019.xml,$EXPECTED/DQC.US.0043.7488_qegy-us-2021.xml,$EXPECTED/DQC.US.0043.9873_ela-us-2022.xml,$EXPECTED/DQC.US.0043.9873_dswr-us-2022.xml,$EXPECTED/DQC.US.0044.7503_gmvp-us-2019.xml
- INFILES='[{"file":"https://www.sec.gov/Archives/edgar/data/1304161/000165495420006640/pbsv-20200131.xml", "xule_run_only":"DQC.US.0045.6838"},{"file":"https://www.sec.gov/Archives/edgar/data/1487843/000121390019014723/f10q0619ix_yangtze_htm.xml", "xule_run_only":"DQC.US.0046.6842"},{"file":"https://www.sec.gov/Archives/edgar/data/1288770/000106299321003175/xtgr-20201231.xml", "xule_run_only":"DQC.US.0047.7481"},{"file":"https://www.sec.gov/Archives/edgar/data/1376986/000137698620000006/tve-20191231.xml", "xule_run_only":"DQC.US.0048.7482"},{"file":"https://www.sec.gov/Archives/edgar/data/1415744/000165495420007493/nmex-20200430.xml", "xule_run_only":"DQC.US.0048.7482"},{"file":"https://www.sec.gov/Archives/edgar/data/1713909/000101054920000145/wtnw-20200331.xml", "xule_run_only":"DQC.US.0049.7483"}]' EXFILES=$EXPECTED/DQC.US.0045.6838_pbsv-us-2020.xml,$EXPECTED/DQC.US.0046.6842_yangtze-us-2019.xml,$EXPECTED/DQC.US.0047.7481_xtgr-us-2020.xml,$EXPECTED/DQC.US.0048.7482_tve-us-2019.xml,$EXPECTED/DQC.US.0048.7482_nmex-us-2020.xml,$EXPECTED/DQC.US.0049.7483_wtnw-us-2020.xml
- INFILES='[{"file":"https://www.sec.gov/Archives/edgar/data/1360442/000144586620000913/cbds-20200331.xml", "xule_run_only":"DQC.US.0051.7484"},{"file":"https://www.sec.gov/Archives/edgar/data/738214/000165495420005416/amtx-20200331.xml", "xule_run_only":"DQC.US.0051.7485"},{"file":"https://www.sec.gov/Archives/edgar/data/1008586/000149315220011010/strea-20200430.xml", "xule_run_only":"DQC.US.0051.7486"},{"file":"https://www.sec.gov/Archives/edgar/data/9389/000155837020001005/bll-20191231x10k1a847a.htm", "xule_run_only":"DQC.US.0052.7487"},{"file":"https://www.sec.gov/Archives/edgar/data/13239/000001323920000006/hsc-20191231.xml", "xule_run_only":"DQC.US.0053.7489"},{"file":"https://www.sec.gov/Archives/edgar/data/21344/000002134420000006/a2019123110-k.htm", "xule_run_only":"DQC.US.0054.7490"},{"file":"https://www.sec.gov/Archives/edgar/data/1364885/000162828020002543/spr-20191231x10k.htm", "xule_run_only":"DQC.US.0054.7491"},{"file":"https://www.sec.gov/Archives/edgar/data/1320461/000132046120000025/cps-q12020x10q.htm", "xule_run_only":"DQC.US.0055.7493"},{"file":"https://www.sec.gov/Archives/edgar/data/101829/000010182920000034/utx-20200331.htm", "xule_run_only":"DQC.US.0055.7493"},{"file":"https://www.sec.gov/Archives/edgar/data/889609/000168316820001394/cpss-20200331.xml", "xule_run_only":"DQC.US.0057.7494"},{"file":"https://www.sec.gov/Archives/edgar/data/99302/000120677421001956/transcat3937691-10q_htm.xml", "xule_run_only":"DQC.US.0057.9728"}]' EXFILES=$EXPECTED/DQC.US.0051.7484_cbds-us-2020.xml,$EXPECTED/DQC.US.0051.7485_amtx-us-2020.xml,$EXPECTED/DQC.US.0051.7486_strea-us-2020.xml,$EXPECTED/DQC.US.0052.7487_bll-us-2019.xml,$EXPECTED/DQC.US.0053.7489_hsc-us-2019.xml,$EXPECTED/DQC.US.0054.7490_coke-us-2019.xml,$EXPECTED/DQC.US.0054.7491_spr-us-2019.xml,$EXPECTED/DQC.US.0055.7493_cps-us-2019.xml,$EXPECTED/DQC.US.0055.7493_utx-us-2019.xml,$EXPECTED/DQC.US.0057.7494_cpss-us-2020.xml,$EXPECTED/DQC.US.0057.9728_trans-us-2021.xml
- INFILES='[{"file":"https://www.sec.gov/Archives/edgar/data/1474835/000165495420007737/ipci-20200531.xml", "xule_run_only":"DQC.US.0060.7497"},{"file":"https://www.sec.gov/Archives/edgar/data/1092570/000137647420000081/fulo-20191231_htm.xml", "xule_run_only":"DQC.US.0061.7498"},{"file":"https://www.sec.gov/Archives/edgar/data/318299/000149315220012942/srco-20190131.xml", "xule_run_only":"DQC.US.0061.7499"},{"file":"https://www.sec.gov/Archives/edgar/data/811222/000168316820001209/cdif-20191231.xml", "xule_run_only":"DQC.US.0061.7500"},{"file":"https://www.sec.gov/Archives/edgar/data/1804585/000160706220000180/ngio-20200430.xml", "xule_run_only":"DQC.US.0062.7501"},{"file":"https://www.sec.gov/Archives/edgar/data/894560/000155116320000061/both-20200630.xml", "xule_run_only":"DQC.US.0065.7502"},{"file":"https://www.sec.gov/Archives/edgar/data/1367083/000168316820002234/snoa-20200331.xml", "xule_run_only":"DQC.US.0067.7644"},{"file":"https://www.sec.gov/Archives/edgar/data/1467373/000146737320000251/acn531202010-q.htm", "xule_run_only":"DQC.US.0067.7644"},{"file":"https://www.sec.gov/Archives/edgar/data/1738699/000119380520000462/wkey-20191231.xml", "xule_run_only":"DQC.US.0068.7641"},{"file":"https://www.sec.gov/Archives/edgar/data/899751/000089975120000005/twi1231201910-k.htm", "xule_run_only":"DQC.US.0069.7643"}]' EXFILES=$EXPECTED/DQC.US.0060.7497_ipci-us-2020.xml,$EXPECTED/DQC.US.0061.7498_fulo-us-2020.xml,$EXPECTED/DQC.US.0061.7499_srco-us-2020.xml,$EXPECTED/DQC.US.0061.7500_cdif-us-2019.xml,$EXPECTED/DQC.US.0062.7501_ngio-us-2020.xml,$EXPECTED/DQC.US.0065.7502_both-us-2020.xml,$EXPECTED/DQC.US.0067.7644_snoa-us-2020.xml,$EXPECTED/DQC.US.0067.7644_acn-us-2019.xml,$EXPECTED/DQC.US.0068.7641_wkey-us-2019.xml,$EXPECTED/DQC.US.0069.7643_twi-us-2019.xml
Expand Down
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-ifrs-2023-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.
Binary file modified dqc_us_rules/resources.zip
Binary file not shown.
Expand Up @@ -4814,7 +4814,6 @@
5564,DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities
5565,TemporaryEquityEliminationAsPartofReorganization
5566,DepositsWithClearingOrganizationsAndOthersSecurities
5567,DerivativeCostOfHedgeNetOfCashReceived
5568,TemporaryEquitySharesSubscribedButUnissuedSubscriptionsReceivable
5569,IncomeTaxReconciliationNondeductibleExpenseCharitableContributions
5570,CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldTransfersToLoansHeldForSale
Expand Down
Expand Up @@ -4801,7 +4801,6 @@
5564,DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities
5565,TemporaryEquityEliminationAsPartofReorganization
5566,DepositsWithClearingOrganizationsAndOthersSecurities
5567,DerivativeCostOfHedgeNetOfCashReceived
5568,TemporaryEquitySharesSubscribedButUnissuedSubscriptionsReceivable
5569,IncomeTaxReconciliationNondeductibleExpenseCharitableContributions
5570,CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldTransfersToLoansHeldForSale
Expand Down
Expand Up @@ -4729,7 +4729,6 @@
5564,DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities
5565,TemporaryEquityEliminationAsPartofReorganization
5566,DepositsWithClearingOrganizationsAndOthersSecurities
5567,DerivativeCostOfHedgeNetOfCashReceived
5568,TemporaryEquitySharesSubscribedButUnissuedSubscriptionsReceivable
5569,IncomeTaxReconciliationNondeductibleExpenseCharitableContributions
5570,CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldTransfersToLoansHeldForSale
Expand Down
Expand Up @@ -4452,7 +4452,6 @@
5564,DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities
5565,TemporaryEquityEliminationAsPartofReorganization
5566,DepositsWithClearingOrganizationsAndOthersSecurities
5567,DerivativeCostOfHedgeNetOfCashReceived
5568,TemporaryEquitySharesSubscribedButUnissuedSubscriptionsReceivable
5569,IncomeTaxReconciliationNondeductibleExpenseCharitableContributions
5570,CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldTransfersToLoansHeldForSale
Expand Down
Expand Up @@ -4331,7 +4331,6 @@
5564,DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities
5565,TemporaryEquityEliminationAsPartofReorganization
5566,DepositsWithClearingOrganizationsAndOthersSecurities
5567,DerivativeCostOfHedgeNetOfCashReceived
5568,TemporaryEquitySharesSubscribedButUnissuedSubscriptionsReceivable
5569,IncomeTaxReconciliationNondeductibleExpenseCharitableContributions
5570,CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldTransfersToLoansHeldForSale
Expand Down
Expand Up @@ -4331,7 +4331,6 @@
5564,DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities
5565,TemporaryEquityEliminationAsPartofReorganization
5566,DepositsWithClearingOrganizationsAndOthersSecurities
5567,DerivativeCostOfHedgeNetOfCashReceived
5568,TemporaryEquitySharesSubscribedButUnissuedSubscriptionsReceivable
5569,IncomeTaxReconciliationNondeductibleExpenseCharitableContributions
5570,CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldTransfersToLoansHeldForSale
Expand Down
Expand Up @@ -4331,7 +4331,6 @@
5564,DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities
5565,TemporaryEquityEliminationAsPartofReorganization
5566,DepositsWithClearingOrganizationsAndOthersSecurities
5567,DerivativeCostOfHedgeNetOfCashReceived
5568,TemporaryEquitySharesSubscribedButUnissuedSubscriptionsReceivable
5569,IncomeTaxReconciliationNondeductibleExpenseCharitableContributions
5570,CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldTransfersToLoansHeldForSale
Expand Down
Expand Up @@ -4331,7 +4331,6 @@
5564,DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities
5565,TemporaryEquityEliminationAsPartofReorganization
5566,DepositsWithClearingOrganizationsAndOthersSecurities
5567,DerivativeCostOfHedgeNetOfCashReceived
5568,TemporaryEquitySharesSubscribedButUnissuedSubscriptionsReceivable
5569,IncomeTaxReconciliationNondeductibleExpenseCharitableContributions
5570,CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldTransfersToLoansHeldForSale
Expand Down
Expand Up @@ -4331,7 +4331,6 @@
5564,DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities
5565,TemporaryEquityEliminationAsPartofReorganization
5566,DepositsWithClearingOrganizationsAndOthersSecurities
5567,DerivativeCostOfHedgeNetOfCashReceived
5568,TemporaryEquitySharesSubscribedButUnissuedSubscriptionsReceivable
5569,IncomeTaxReconciliationNondeductibleExpenseCharitableContributions
5570,CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldTransfersToLoansHeldForSale
Expand Down
3 changes: 2 additions & 1 deletion dqc_us_rules/source/ifrs/2018/DQC_IFRS_0118.xule
Expand Up @@ -137,11 +137,12 @@ for $cube in $statementCubes.sort

$LegalEntityAxisInCube = filter $dimObjects where $item.local-name == 'LegalEntityAxis'returns $item
$ContinuingAndDiscontinuedOperationsInCube = filter $dimObjects where $item == ContinuingAndDiscontinuedOperationsAxis returns $item
$InvestmentAxisUsed = filter $dimObjects where $item == SignificantInvestmentsInAssociatesAxis returns $item

/** Dimension to check **/
/** Identify the axis that indicate their default values should not have a calculation check
Add $ContinuingAndDiscontinuedOperationsInCube for those calc on the income statement that are always continuing ops.**/
$AxisDefaultsNotToCheck = $MissingDefaultLabel + $MissingDefaults + $LegalEntityAxisInCube + $ContinuingAndDiscontinuedOperationsInCube
$AxisDefaultsNotToCheck = $MissingDefaultLabel + $MissingDefaults + $LegalEntityAxisInCube + $ContinuingAndDiscontinuedOperationsInCube + $InvestmentAxisUsed

/** Identify if the current iteration is a default by taking the table dimensions deducting the dimensions
of the fact and seeing if the resulting set intersects with the axis that are not checked. If this is greater than zero
Expand Down
3 changes: 2 additions & 1 deletion dqc_us_rules/source/ifrs/2019/DQC_IFRS_0118.xule
Expand Up @@ -139,11 +139,12 @@ for $cube in $statementCubes.sort
$LegalEntityAxisInCube = filter $dimObjects where $item.local-name == 'LegalEntityAxis'returns $item
$ConsolidatedEntityAxisInCube = filter $dimObjects where $item == srt:ConsolidatedEntitiesAxis returns $item
$ContinuingAndDiscontinuedOperationsInCube = filter $dimObjects where $item == ContinuingAndDiscontinuedOperationsAxis returns $item
$InvestmentAxisUsed = filter $dimObjects where $item == SignificantInvestmentsInAssociatesAxis returns $item

/** Dimension to check **/
/** Identify the axis that indicate their default values should not have a calculation check
Add $ContinuingAndDiscontinuedOperationsInCube for those calc on the income statement that are always continuing ops.**/
$AxisDefaultsNotToCheck = $MissingDefaultLabel + $MissingDefaults + $LegalEntityAxisInCube + $ConsolidatedEntityAxisInCube + $ContinuingAndDiscontinuedOperationsInCube
$AxisDefaultsNotToCheck = $MissingDefaultLabel + $MissingDefaults + $LegalEntityAxisInCube + $ConsolidatedEntityAxisInCube + $ContinuingAndDiscontinuedOperationsInCube + $InvestmentAxisUsed

/** Identify if the current iteration is a default by taking the table dimensions deducting the dimensions
of the fact and seeing if the resulting set intersects with the axis that are not checked. If this is greater than zero
Expand Down
3 changes: 2 additions & 1 deletion dqc_us_rules/source/ifrs/2020/DQC_IFRS_0118.xule
Expand Up @@ -139,11 +139,12 @@ for $cube in $statementCubes.sort
$LegalEntityAxisInCube = filter $dimObjects where $item.local-name == 'LegalEntityAxis'returns $item
$ConsolidatedEntityAxisInCube = filter $dimObjects where $item == srt:ConsolidatedEntitiesAxis returns $item
$ContinuingAndDiscontinuedOperationsInCube = filter $dimObjects where $item == ContinuingAndDiscontinuedOperationsAxis returns $item
$InvestmentAxisUsed = filter $dimObjects where $item == SignificantInvestmentsInAssociatesAxis returns $item

/** Dimension to check **/
/** Identify the axis that indicate their default values should not have a calculation check
Add $ContinuingAndDiscontinuedOperationsInCube for those calc on the income statement that are always continuing ops.**/
$AxisDefaultsNotToCheck = $MissingDefaultLabel + $MissingDefaults + $LegalEntityAxisInCube + $ConsolidatedEntityAxisInCube + $ContinuingAndDiscontinuedOperationsInCube
$AxisDefaultsNotToCheck = $MissingDefaultLabel + $MissingDefaults + $LegalEntityAxisInCube + $ConsolidatedEntityAxisInCube + $ContinuingAndDiscontinuedOperationsInCube + $InvestmentAxisUsed

/** Identify if the current iteration is a default by taking the table dimensions deducting the dimensions
of the fact and seeing if the resulting set intersects with the axis that are not checked. If this is greater than zero
Expand Down

0 comments on commit 4d57a3e

Please sign in to comment.