Hi - the best way to do this is to create a new liability account for the Current Year Net Income (can be named CurYearNI or something similar) below RE and put a member formula on it. You will need to set the FormulaPass to a pass that is after any other member formula you have running within accounts beneath NetIncome. Then the RE account will naturally aggregate CurYearNI and 29500 together. An example formula is below:
If (api.Cons.IsLocalCurrencyforEntity() And Not api.Entity.HasChildren()) Then
api.data.calculate("A#CurYearNI:I#None = A#NetIncome:I#Top")
End if