Line |
Rule Code |
Rule (Controlled natural language syntax) |
Rule (XPath syntax) |
1 |
IS-Impute-04 |
If IncomeLossFromContinuingOperationsAfterTax = 0 and IncomeLossFromContinuingOperationsBeforeTax <> 0 Then
IncomeLossFromContinuingOperationsAfterTax = IncomeLossFromContinuingOperationsBeforeTax - IncomeTaxExpenseBenefit
End If |
if ($IncomeLossFromContinuingOperationsAfterTax = 0 and not($IncomeLossFromContinuingOperationsBeforeTax = 0)) then ($IncomeLossFromContinuingOperationsAfterTax = $IncomeLossFromContinuingOperationsBeforeTax - $IncomeTaxExpenseBenefit) else ($IncomeLossFromContinuingOperationsAfterTax = $IncomeLossFromContinuingOperationsAfterTax) |
2 |
IS-Impute-06 |
If NetIncomeLoss = 0 and IncomeLossFromContinuingOperationsAfterTax <> 0 and IncomeLossFromDiscontinuedOperationsNetOfTax <> 0 Then
NetIncomeLoss = IncomeLossFromContinuingOperationsAfterTax + IncomeLossFromDiscontinuedOperationsNetOfTax
End If |
if ($NetIncomeLoss = 0 and not($IncomeLossFromContinuingOperationsAfterTax = 0) and not($IncomeLossFromDiscontinuedOperationsNetOfTax = 0)) then ($NetIncomeLoss = $IncomeLossFromContinuingOperationsAfterTax + $IncomeLossFromDiscontinuedOperationsNetOfTax) else ($NetIncomeLoss = $NetIncomeLoss) |
3 |
IS-Impute-08 |
If IncomeLossFromContinuingOperationsBeforeTax = 0 and IncomeLossFromContinuingOperationsAfterTax <> 0 and IncomeTaxExpenseBenefit = 0 Then
IncomeLossFromContinuingOperationsBeforeTax = IncomeLossFromContinuingOperationsAfterTax
End If |
if ($IncomeLossFromContinuingOperationsBeforeTax = 0 and not($IncomeLossFromContinuingOperationsAfterTax = 0) and $IncomeTaxExpenseBenefit = 0) then ($IncomeLossFromContinuingOperationsBeforeTax = $IncomeLossFromContinuingOperationsAfterTax) else ($IncomeLossFromContinuingOperationsBeforeTax = $IncomeLossFromContinuingOperationsBeforeTax) |
4 |
IS-Impute-15 |
If IncomeLossFromContinuingOperationsAfterTax = 0 and NetIncomeLoss <> 0 Then
IncomeLossFromContinuingOperationsAfterTax = NetIncomeLoss - IncomeLossFromDiscontinuedOperationsNetOfTax
End If |
if ($IncomeLossFromContinuingOperationsAfterTax = 0 and not($NetIncomeLoss = 0)) then ($IncomeLossFromContinuingOperationsAfterTax = $NetIncomeLoss - $IncomeLossFromDiscontinuedOperationsNetOfTax) else ($IncomeLossFromContinuingOperationsAfterTax = $IncomeLossFromContinuingOperationsAfterTax) |
5 |
IS-Impute-16 |
If IncomeLossFromContinuingOperationsAfterTax = 0 and IncomeTaxExpenseBenefit <> 0 and IncomeLossFromContinuingOperationsBeforeTax <> 0 Then
IncomeLossFromContinuingOperationsAfterTax = IncomeLossFromContinuingOperationsBeforeTax - IncomeTaxExpenseBenefit
End If |
if ($IncomeLossFromContinuingOperationsAfterTax = 0 and not($IncomeTaxExpenseBenefit = 0) and not($IncomeLossFromContinuingOperationsBeforeTax = 0)) then ($IncomeLossFromContinuingOperationsAfterTax = $IncomeLossFromContinuingOperationsBeforeTax - $IncomeTaxExpenseBenefit) else ($IncomeLossFromContinuingOperationsAfterTax = $IncomeLossFromContinuingOperationsAfterTax) |
6 |
IS-Impute-18 |
If IncomeLossFromContinuingOperationsBeforeTax = 0 and IncomeLossFromContinuingOperationsAfterTax <> 0 Then
IncomeLossFromContinuingOperationsBeforeTax = IncomeLossFromContinuingOperationsAfterTax + IncomeTaxExpenseBenefit
End If |
if ($IncomeLossFromContinuingOperationsBeforeTax = 0 and not($IncomeLossFromContinuingOperationsAfterTax = 0)) then ($IncomeLossFromContinuingOperationsBeforeTax = $IncomeLossFromContinuingOperationsAfterTax + $IncomeTaxExpenseBenefit) else ($IncomeLossFromContinuingOperationsBeforeTax = $IncomeLossFromContinuingOperationsBeforeTax) |
7 |
IS-Impute-56 |
If OperatingAndNonoperatingCostsAndExpenses = 0 and OperatingAndNonoperatingRevenues <> 0 and IncomeLossFromContinuingOperationsBeforeTax <> 0 Then
OperatingAndNonoperatingCostsAndExpenses = OperatingAndNonoperatingRevenues - IncomeLossFromContinuingOperationsBeforeTax
End If |
if ($OperatingAndNonoperatingCostsAndExpenses = 0 and not($OperatingAndNonoperatingRevenues = 0) and not($IncomeLossFromContinuingOperationsBeforeTax = 0)) then ($OperatingAndNonoperatingCostsAndExpenses = $OperatingAndNonoperatingRevenues - $IncomeLossFromContinuingOperationsBeforeTax) else ($OperatingAndNonoperatingCostsAndExpenses = $OperatingAndNonoperatingCostsAndExpenses) |
8 |
IS-Impute-55 |
If OperatingAndNonoperatingRevenues = 0 and IncomeLossFromContinuingOperationsBeforeTax <> 0 and OperatingAndNonoperatingCostsAndExpenses <> 0 Then
OperatingAndNonoperatingRevenues = IncomeLossFromContinuingOperationsBeforeTax + OperatingAndNonoperatingCostsAndExpenses
End If |
if ($OperatingAndNonoperatingRevenues = 0 and not($IncomeLossFromContinuingOperationsBeforeTax = 0)) then ($OperatingAndNonoperatingRevenues = $IncomeLossFromContinuingOperationsBeforeTax + $OperatingAndNonoperatingCostsAndExpenses) else ($OperatingAndNonoperatingRevenues = $OperatingAndNonoperatingRevenues) |