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-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) |
3 |
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) |
4 |
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) |
5 |
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) |
6 |
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) |
7 |
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) |
8 |
BS-Impute-02 |
If Assets = 0 and LiabilitiesAndEquity <> 0 and CurrentAssets = LiabilitiesAndEquity Then
Assets = CurrentAssets
End If |
if (($Assets = 0) and not($LiabilitiesAndEquity = 0) and ($CurrentAssets = $LiabilitiesAndEquity)) then ($Assets = $CurrentAssets) else ($Assets = $Assets) |
9 |
BS-Impute-03 |
If Assets = 0 and NoncurrentAssets = 0 and LiabilitiesAndEquity <> 0 and (LiabilitiesAndEquity = Liabilities + Equity) Then
Assets = CurrentAssets
End If |
if (($Assets = 0) and ($NoncurrentAssets = 0) and not($LiabilitiesAndEquity = 0) and ($LiabilitiesAndEquity = $Liabilities + $Equity)) then ($Assets = $CurrentAssets) else ($Assets = $Assets) |
10 |
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) |
11 |
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) |
12 |
BS-Impute-18 |
If CurrentAssets = 0 and Assets <> 0 and LiabilitiesAndEquity <> 0 and LiabilitiesAndEquity = Assets Then
CurrentAssets = Assets
End If |
if ($CurrentAssets = 0 and not($Assets = 0) and not($LiabilitiesAndEquity = 0) and $LiabilitiesAndEquity = $Assets) then ($CurrentAssets = $Assets) else ($CurrentAssets = $CurrentAssets) |