Calculated IC Account Balance Not Elliminating
I have an issue I would be very interested in getting community's take on and I would greatly appreciate any direction:
I am trying to deal with the case of a nested ownership: one of our 100% owned subs owns a minority stake in the other sub, At the top consolidated level there should be no Minority Interest , but at intermediary consolidated level there should be. I created an intercompany account that is calculated at that intermediary consolidated level. Calculation seem to work fine. However, when consolidation reaches the first common parent between the 2 subs, elimination of this new account is not being triggered, even though correct partner is assigned (IC Matching report matches the relevant amounts)
Here is the calculation:
If (api.Cons.IsRelationshipLevel And api.Entity.OwnershipType().ToString = "Custom1")
Dim entityID As Integer = api.POV.Entity.Memberpk.Memberid
Dim parentID As Integer = api.POV.Parent.Memberpk.Memberid
Dim pOwn As Decimal = api.Entity.PercentOwnership(entityID, parentID)
' Dim entityName As String = api.Pov.Entity.Name.ToString
Dim entityName As String = api.Entity.Text(8)
api.Data.Calculate("C#Elimination:A#399600_IC:F#EndBalCalc:I#" & entityName & ":O#Elimination = C#Local:A#EquityToCommon:F#EndBalCalc:I#None:O#Top * " & (1 - pOwn/100))
api.Data.Calculate("C#Elimination:A#399999000:F#EndBalCalc:I#None:O#Elimination = C#Local:A#EquityToCommon:F#EndBalCalc:I#None:O#Top * " & (1 - pOwn/100) * -1)
End If
399600_IC is the Minority Interest Account
399999000 - is the plug account
Here is the level where Minority Interest is calculated.
Here is the "first common parent" level:
Workflow IC Matching