Line |
Rule Code |
Rule (Controlled natural language syntax) |
Rule (XPath syntax) |
1 |
CI-Impute-01 |
If ComprehensiveIncomeLossAttributableToParent = 0 and ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and ComprehensiveIncomeLoss <> 0 Then
ComprehensiveIncomeLossAttributableToParent = ComprehensiveIncomeLoss
End If |
if ($ComprehensiveIncomeLossAttributableToParent = 0 and $ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and not($ComprehensiveIncomeLoss = 0)) then ($ComprehensiveIncomeLossAttributableToParent = $ComprehensiveIncomeLoss) else ($ComprehensiveIncomeLossAttributableToParent = $ComprehensiveIncomeLossAttributableToParent) |
2 |
CI-Impute-02 |
If ComprehensiveIncomeLossAttributableToParent = 0 and ComprehensiveIncomeLossAttributableToNoncontrollingInterest <> 0 and ComprehensiveIncomeLoss <> 0 Then
ComprehensiveIncomeLossAttributableToParent = ComprehensiveIncomeLoss - ComprehensiveIncomeLossAttributableToNoncontrollingInterest
End If |
if ($ComprehensiveIncomeLossAttributableToParent = 0 and not($ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0) and not($ComprehensiveIncomeLoss = 0)) then ($ComprehensiveIncomeLossAttributableToParent = $ComprehensiveIncomeLoss - $ComprehensiveIncomeLossAttributableToNoncontrollingInterest) else ($ComprehensiveIncomeLossAttributableToParent = $ComprehensiveIncomeLossAttributableToParent) |
3 |
CI-Impute-03 |
If ComprehensiveIncomeLoss = 0 and ComprehensiveIncomeLossAttributableToNoncontrollingInterest <> 0 and ComprehensiveIncomeLossAttributableToParent <> 0 Then
ComprehensiveIncomeLoss = ComprehensiveIncomeLossAttributableToParent + ComprehensiveIncomeLossAttributableToNoncontrollingInterest
End If |
if ($ComprehensiveIncomeLoss = 0 and not($ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0) and not($ComprehensiveIncomeLossAttributableToParent = 0)) then ($ComprehensiveIncomeLoss = $ComprehensiveIncomeLossAttributableToParent + $ComprehensiveIncomeLossAttributableToNoncontrollingInterest) else ($ComprehensiveIncomeLoss = $ComprehensiveIncomeLoss) |
4 |
CI-Impute-04 |
If ComprehensiveIncomeLoss = 0 and ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and ComprehensiveIncomeLossAttributableToParent <> 0 Then
ComprehensiveIncomeLoss = ComprehensiveIncomeLossAttributableToParent
End If |
if ($ComprehensiveIncomeLoss = 0 and $ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and not($ComprehensiveIncomeLossAttributableToParent = 0)) then ($ComprehensiveIncomeLoss = $ComprehensiveIncomeLossAttributableToParent) else ($ComprehensiveIncomeLoss = $ComprehensiveIncomeLoss) |
5 |
CI-Impute-05 |
If ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and ComprehensiveIncomeLoss <> 0 and ComprehensiveIncomeLossAttributableToParent <> 0 Then
ComprehensiveIncomeLossAttributableToNoncontrollingInterest = ComprehensiveIncomeLoss - ComprehensiveIncomeLossAttributableToParent
End If |
if ($ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and not($ComprehensiveIncomeLoss = 0) and not($ComprehensiveIncomeLossAttributableToParent = 0)) then ($ComprehensiveIncomeLossAttributableToNoncontrollingInterest = $ComprehensiveIncomeLoss - $ComprehensiveIncomeLossAttributableToParent) else ($ComprehensiveIncomeLossAttributableToNoncontrollingInterest = $ComprehensiveIncomeLossAttributableToNoncontrollingInterest) |
6 |
CI-Impute-06 |
If ComprehensiveIncomeLoss = 0 and ComprehensiveIncomeLossAttributableToParent = 0 and ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and OtherComprehensiveIncomeLoss = 0 Then
ComprehensiveIncomeLoss = NetIncomeLoss
End If |
if ($ComprehensiveIncomeLoss = 0 and $ComprehensiveIncomeLossAttributableToParent = 0 and $ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and $OtherComprehensiveIncomeLoss = 0) then ($ComprehensiveIncomeLoss = $NetIncomeLoss) else ($ComprehensiveIncomeLoss = $ComprehensiveIncomeLoss) |
7 |
CI-Impute-07 |
If OtherComprehensiveIncomeLoss = 0 and ComprehensiveIncomeLoss <> 0 Then
OtherComprehensiveIncomeLoss = ComprehensiveIncomeLoss - NetIncomeLoss
End If |
if ($OtherComprehensiveIncomeLoss = 0 and not($ComprehensiveIncomeLoss = 0)) then ($OtherComprehensiveIncomeLoss = $ComprehensiveIncomeLoss - $NetIncomeLoss) else ($OtherComprehensiveIncomeLoss = $OtherComprehensiveIncomeLoss) |
8 |
CI-Impute-08 |
If ComprehensiveIncomeLossAttributableToParent = 0 and ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and ComprehensiveIncomeLoss <> 0 Then
ComprehensiveIncomeLossAttributableToParent = ComprehensiveIncomeLoss
End If |
if ($ComprehensiveIncomeLossAttributableToParent = 0 and $ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and not($ComprehensiveIncomeLoss = 0)) then ($ComprehensiveIncomeLossAttributableToParent = $ComprehensiveIncomeLoss) else ($ComprehensiveIncomeLossAttributableToParent = $ComprehensiveIncomeLossAttributableToParent) |
9 |
CI-Impute-09 |
If ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and ComprehensiveIncomeLossAttributableToParent <> 0 and ComprehensiveIncomeLoss <> 0 Then
ComprehensiveIncomeLossAttributableToNoncontrollingInterest = ComprehensiveIncomeLoss - ComprehensiveIncomeLossAttributableToParent
End If |
if ($ComprehensiveIncomeLossAttributableToNoncontrollingInterest = 0 and not($ComprehensiveIncomeLossAttributableToParent = 0) and not($ComprehensiveIncomeLoss = 0)) then ($ComprehensiveIncomeLossAttributableToNoncontrollingInterest = $ComprehensiveIncomeLoss - $ComprehensiveIncomeLossAttributableToParent) else ($ComprehensiveIncomeLossAttributableToNoncontrollingInterest = $ComprehensiveIncomeLossAttributableToNoncontrollingInterest) |