Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
218,715 additions
and
138,674 deletions.
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
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,100 @@ | ||
@startuml rule_0009_db_plans | ||
title "Rule DQC 0009 DB Plans Comparison" | ||
!pragma useVerticalIf on | ||
start | ||
|
||
repeat : Go through each context in the filing; | ||
|
||
split | ||
:Run rule 0009.40; | ||
:Get DefinedBenefitPlanPensionPlans | ||
WithAccumulatedBenefitObligations | ||
InExcessOfPlanAssetsAggregateAccumulated | ||
BenefitObligation; | ||
:Get DefinedBenefitPlanAccumulatedBenefitObligation; | ||
if (Are both values present?) then (yes) | ||
if (DefinedBenefitPlanPensionPlans | ||
WithAccumulatedBenefitObligations | ||
InExcessOfPlanAssetsAggregateAccumulated | ||
BenefitObligation > | ||
DefinedBenefitPlanAccumulatedBenefitObligation) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
split again | ||
:Run rule 0009.41; | ||
:Get DefinedBenefitPlanPensionPlans | ||
WithAccumulatedBenefitObligationsIn | ||
ExcessOfPlanAssetsAggregate | ||
FairValueOfPlanAssets; | ||
:Get DefinedBenefitPlanFairValueOfPlanAssets; | ||
if (Are both values present?) then (yes) | ||
if (DefinedBenefitPlanPensionPlans | ||
WithAccumulatedBenefitObligationsIn | ||
ExcessOfPlanAssetsAggregate | ||
FairValueOfPlanAssets > | ||
DefinedBenefitPlanFairValueOfPlanAssets) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
split again | ||
:Run rule 0009.42; | ||
:Get DefinedBenefitPlanPensionPlans | ||
WithAccumulatedBenefitObligations | ||
InExcessOfPlanAssetsAggregate | ||
ProjectedBenefitObligation; | ||
:Get DefinedBenefitPlanBenefitObligation; | ||
if (Are both values present?) then (yes) | ||
if (DefinedBenefitPlanPensionPlans | ||
WithAccumulatedBenefitObligations | ||
InExcessOfPlanAssetsAggregate | ||
ProjectedBenefitObligation > | ||
DefinedBenefitPlanBenefitObligation) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
|
||
split again | ||
:Run rule 0009.45; | ||
:Get DefinedBenefitPlanExpectedFutureEmployer | ||
ContributionsRemainderOfFiscalYear; | ||
:Get DefinedBenefitPlanExpectedFutureEmployer | ||
ContributionsCurrentFiscalYear; | ||
if (Are both values present?) then (yes) | ||
if ( DefinedBenefitPlanExpectedFutureEmployer | ||
ContributionsRemainderOfFiscalYear > | ||
DefinedBenefitPlanExpectedFutureEmployer | ||
ContributionsCurrentFiscalYear) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
|
||
split again | ||
:Run rule 0009.46; | ||
:Get DefinedBenefitPlanAccumulatedBenefitObligation; | ||
:Get DefinedBenefitPlanBenefitObligation; | ||
if (Are both values present?) then (yes) | ||
if (DefinedBenefitPlanAccumulatedBenefitObligation > | ||
DefinedBenefitPlanBenefitObligation) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
|
||
end split | ||
|
||
repeat while (Is there another context in the filing) is (yes) | ||
->no; | ||
|
||
end | ||
|
||
@enduml |
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,97 @@ | ||
@startuml rule_0009_shares | ||
title "Rule DQC 0009 Shares Comparison" | ||
!pragma useVerticalIf on | ||
start | ||
|
||
repeat : Go through each context in the filing; | ||
|
||
split | ||
:Run rule 0009.15; | ||
:Get CommonStockSharesOutstanding; | ||
:Get CommonStockSharesAuthorized; | ||
if (Are both values present?) then (yes) | ||
if (CommonStockSharesOutstanding > | ||
CommonStockSharesAuthorized) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
split again | ||
:Run rule 0009.19; | ||
:Get PreferredStockSharesOutstanding; | ||
:Get CommonStockSharesAuthorized; | ||
if (Are both values present?) then (yes) | ||
if (PreferredStockSharesOutstanding > | ||
PreferredStockSharesIssued) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
split again | ||
:Run rule 0009.21; | ||
if (exists any StockIssuedDuringPeriodSharesStockSplits, | ||
StockIssuedDuringPeriodSharesReverseStockSplits, | ||
StockholdersEquityNoteStockSplitConversionRatio1) then (yes) | ||
else (no) | ||
:Get CommonStockSharesIssued; | ||
:Get CommonStockSharesAuthorized; | ||
if (Are both values present?) then (yes) | ||
if (CommonStockSharesIssued > | ||
CommonStockSharesAuthorized) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
|
||
|
||
endif | ||
else (no) | ||
endif | ||
endif | ||
split again | ||
:Run rule 0009.22; | ||
:Get PreferredStockSharesIssued; | ||
:Get PreferredStockSharesAuthorized; | ||
if (Are both values present?) then (yes) | ||
if (PreferredStockSharesIssued > | ||
PreferredStockSharesAuthorized) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
|
||
split again | ||
:Run rule 0009.23; | ||
:Get PreferredStockSharesOutstanding; | ||
:Get PreferredStockSharesAuthorized; | ||
if (Are both values present?) then (yes) | ||
if (PreferredStockSharesOutstanding > | ||
PreferredStockSharesAuthorized) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
|
||
split again | ||
:Run rule 0009.24; | ||
:Get CommonStockSharesOutstanding; | ||
:Get CommonStockSharesIssued; | ||
if (Are both values present?) then (yes) | ||
if (CommonStockSharesOutstanding > | ||
CommonStockSharesIssued) then (yes) | ||
#tomato:Show error; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
|
||
end split | ||
|
||
repeat while (Is there another context in the filing) is (yes) | ||
->no; | ||
|
||
end | ||
|
||
@enduml |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,98 @@ | ||
@startuml rule_0117_10093 | ||
title "Rule DQC 117.10093" | ||
!pragma useVerticalIf on | ||
start | ||
|
||
repeat : Get next statement hypercube in the filing; | ||
|
||
: Get a list of the dimensions on the statement hypercube; | ||
while (Is there a dmension left to process on the hypercube) is (yes) | ||
|
||
:Read list of target dimensions; | ||
note left | ||
StatementClassOfStockAxis | ||
ProductOrServiceAxis | ||
PropertyPlantAndEquipmentByTypeAxis | ||
LongtermDebtTypeAxis | ||
RelatedPartyTransactionsByRelatedPartyAxis | ||
StatementBusinessSegmentsAxis | ||
LimitedPartnersCapitalAccountByClassAxis | ||
PartnerTypeOfPartnersCapitalAccountAxis | ||
FiniteLivedIntangibleAssetsByMajorClassAxis | ||
FinancialInstrumentAxis | ||
InformationByCategoryOfDebtSecurityAxis' | ||
end note | ||
if (Is the dimension a target dimension to be calculated?) then (yes) | ||
|
||
|
||
:Identify if facts in the cube | ||
have 2 dimensions | ||
including the target dimension; | ||
if (facts with 2 dimensions including the target dimension exist) then (yes) | ||
: Get Members of the Target Dimension; | ||
while (is there a member on the target dimension) is (yes) | ||
:Get facts in hypercube with the member of target Dimension; | ||
:Put all the facts with the member in a list; | ||
:Get the other dimension from the list | ||
(not the target dimension); | ||
:Get facts from hypercube with both the target | ||
dimension and the dimension member identified | ||
above that have 3 dimension members; | ||
group SubTotal_Exists | ||
:Identify if facts in the cube | ||
have 3 or more dimensions | ||
including the target dimension; | ||
if (facts with 3 dimensions exist) then (yes) | ||
|
||
:Identify if there a subtotal for the target | ||
dimension member which | ||
has two dimensions?; | ||
if (Does SubTotal Exist?) then (yes) | ||
: SubTotalExists is set to true; | ||
else (no) | ||
: SubTotalExists is set to false; | ||
endif | ||
else (no) | ||
: SubTotalExists is set to true; | ||
endif | ||
|
||
end group | ||
backward: Get next | ||
member; | ||
end while (no) | ||
|
||
|
||
if (Does Subtotal for multi facts equal true) then (yes) | ||
:Get the member facts using the | ||
members and domain values; | ||
if (Were facts present?) then (yes) | ||
:Sum the member facts; | ||
:Get the minimum decimals of the facts; | ||
:Create message line for each fact; | ||
:Get the fact representing the total of | ||
the target dimension of the concept with one | ||
dimension with durations that match the | ||
document period and all instant concepts.; | ||
if (Is the sum of members not equal to TotalDefault?) then (yes) | ||
:Produce standard error message; | ||
:See rule message.; | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
else (no) | ||
endif | ||
else (no) | ||
|
||
endif | ||
|
||
else (no) | ||
endif | ||
backward: Get next dimension; | ||
endwhile (no) | ||
repeat while (Is there another hypercube in the filing) is (yes) | ||
->no; | ||
|
||
end | ||
|
||
@enduml |
Oops, something went wrong.