Line |
Rule Code |
Rule (Controlled natural language syntax) |
Rule (XPath syntax) |
1 |
BS-Impute-05 |
If LiabilitiesAndEquity = 0 and Assets <> 0 Then
LiabilitiesAndEquity = Assets
End If |
if ($LiabilitiesAndEquity = 0 and not($Assets = 0)) then ($LiabilitiesAndEquity = $Assets) else ($LiabilitiesAndEquity = $LiabilitiesAndEquity) |
2 |
BS-Impute-06 |
If Equity = 0 and EquityAttributableToNoncontrollingInterest <> 0 and EquityAttributableToParent <> 0 Then
Equity = EquityAttributableToParent + EquityAttributableToNoncontrollingInterest
End If |
if ($Equity = 0 and not($EquityAttributableToNoncontrollingInterest = 0) and not($EquityAttributableToParent = 0)) then ($Equity = $EquityAttributableToParent + $EquityAttributableToNoncontrollingInterest) else ($Equity = $Equity) |
3 |
BS-Impute-07 |
If Equity = 0 and EquityAttributableToNoncontrollingInterest = 0 and EquityAttributableToParent <> 0 Then
Equity = EquityAttributableToParent
End If |
if ($Equity = 0 and $EquityAttributableToNoncontrollingInterest = 0 and not($EquityAttributableToParent = 0)) then ($Equity = $EquityAttributableToParent + $EquityAttributableToNoncontrollingInterest) else ($Equity = $Equity) |
4 |
BS-Impute-08 |
If Equity = 0 Then
Equity = EquityAttributableToParent + EquityAttributableToNoncontrollingInterest
End If |
if ($Equity = 0) then ($Equity = $EquityAttributableToParent + $EquityAttributableToNoncontrollingInterest) else ($Equity =$Equity) |
5 |
BS-Impute-09 |
If EquityAttributableToParent = 0 and Equity <> 0 and EquityAttributableToNoncontrollingInterest <> 0 Then
EquityAttributableToParent = Equity - EquityAttributableToNoncontrollingInterest
End If |
if ($EquityAttributableToParent = 0 and not($Equity = 0) and not($EquityAttributableToNoncontrollingInterest = 0)) then ($EquityAttributableToParent = $Equity - $EquityAttributableToNoncontrollingInterest) else ($EquityAttributableToParent = $EquityAttributableToParent) |
6 |
BS-Impute-10 |
If EquityAttributableToParent = 0 and Equity <> 0 and EquityAttributableToNoncontrollingInterest = 0 Then
EquityAttributableToParent = Equity
End If |
if ($EquityAttributableToParent = 0 and not($Equity = 0) and $EquityAttributableToNoncontrollingInterest = 0) then ($EquityAttributableToParent = $Equity) else ($EquityAttributableToParent = $EquityAttributableToParent) |
7 |
BS-Impute-11 |
If Liabilities = 0 and (Equity <> 0) Then
Liabilities = LiabilitiesAndEquity - Equity
End If |
if ($Liabilities = 0 and (($CurrentLiabilities =0) or ($NoncurrentLiabilities = 0)) and not($Equity = 0) and not($LiabilitiesAndEquity = 0) ) then ($Liabilities = $LiabilitiesAndEquity - $Equity) else ($Liabilities = $Liabilities) |
8 |
BS-Impute-15 |
If EquityAttributableToParent <> 0 and Equity <> 0 and EquityAttributableToNoncontrollingInterest <> 0 and EquityAttributableToParent = Equity Then
EquityAttributableToParent = Equity - EquityAttributableToNoncontrollingInterest
End If |
if (not($EquityAttributableToParent = 0) and not($Equity = 0) and not($EquityAttributableToNoncontrollingInterest = 0) and $EquityAttributableToParent = $Equity) then ($EquityAttributableToParent = $Equity - $EquityAttributableToNoncontrollingInterest) else ($EquityAttributableToParent = $EquityAttributableToParent) |
9 |
BS-Impute-17 |
If EquityAttributableToNoncontrollingInterest = 0 and Equity <> 0 and EquityAttributableToParent <> 0 Then
EquityAttributableToNoncontrollingInterest = Equity - EquityAttributableToParent
End If |
if ($EquityAttributableToNoncontrollingInterest = 0 and not($Equity = 0) and not($EquityAttributableToParent = 0)) then ($EquityAttributableToNoncontrollingInterest = $Equity - $EquityAttributableToParent) else ($EquityAttributableToNoncontrollingInterest = $EquityAttributableToNoncontrollingInterest) |