Line |
Rule Code |
Rule (Controlled natural language syntax) |
Rule (XPath syntax) |
1 |
BS-Impute-04 |
If NoncurrentAssets = 0 and Assets <> 0 and CurrentAssets <> 0 Then
NoncurrentAssets = Assets - CurrentAssets
End If |
if ($NoncurrentAssets = 0 and not($Assets = 0) and not($CurrentAssets = 0)) then ($NoncurrentAssets = $Assets - $CurrentAssets) else ($NoncurrentAssets = $NoncurrentAssets) |
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-12 |
If NoncurrentLiabilities = 0 and Liabilities <> 0 and CurrentLiabilities <> 0 Then
NoncurrentLiabilities = Liabilities - CurrentLiabilities
End If |
if ($NoncurrentLiabilities = 0 and not($Liabilities = 0) and not($CurrentLiabilities = 0)) then ($NoncurrentLiabilities = $Liabilities - $CurrentLiabilities) else ($NoncurrentLiabilities = $NoncurrentLiabilities) |
8 |
BS-Impute-14 |
If Liabilities = 0 and CurrentLiabilities <> 0 and NoncurrentLiabilities <> 0 Then
Liabilities = CurrentLiabilities + NoncurrentLiabilities
End If |
if ($Liabilities = 0 and not($CurrentLiabilities = 0) and not($NoncurrentLiabilities = 0)) then ($Liabilities = $CurrentLiabilities + $NoncurrentLiabilities) else ($Liabilities = $Liabilities) |
9 |
BS-Impute-56 |
If NoncurrentLiabilities = 0 and CurrentLiabilities <> 0 and Liabilities <> 0 Then
NoncurrentLiabilities = Liabilities - CurrentLiabilities
End If |
if ($NoncurrentLiabilities = 0 and not($CurrentLiabilities = 0) and not($Liabilities = 0)) then ($NoncurrentLiabilities = $Liabilities - $CurrentLiabilities) else ($NoncurrentLiabilities = $NoncurrentLiabilities) |
10 |
BS-Impute-13 |
If Liabilities = 0 and CurrentLiabilities <> 0 and NoncurrentLiabilities = 0 Then
Liabilities = CurrentLiabilities
End If |
if ($Liabilities = 0 and not($CurrentLiabilities = 0) and $NoncurrentLiabilities = 0 and not($Equity = 0) and not($LiabilitiesAndEquity = 0) ) then ($Liabilities = $CurrentLiabilities) else ($Liabilities = $Liabilities) |
11 |
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) |
12 |
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) |
13 |
BS-Impute-01 |
If Assets = 0 and NoncurrentAssets = 0 and Assets <> LiabilitiesAndEquity and CurrentAssets = LiabilitiesAndEquity Then
Assets = CurrentAssets
End If |
if (($Assets = 0) and ($NoncurrentAssets = 0) and not($Assets = $LiabilitiesAndEquity) and ($CurrentAssets = $LiabilitiesAndEquity)) then ($Assets = $CurrentAssets) else ($Assets = $Assets) |
14 |
BS-Impute-16 |
If CurrentLiabilities = 0 and NoncurrentLiabilities = 0 and Liabilities <> 0 Then
CurrentLiabilities = Liabilities
End If |
if ($CurrentLiabilities = 0 and $NoncurrentLiabilities = 0 and not($Liabilities = 0)) then ($CurrentLiabilities = $Liabilities) else ($CurrentLiabilities = $CurrentLiabilities) |