Forum Discussion

Kamila's avatar
Kamila
Contributor
2 years ago

Calculation always return zero

We have a logic that makes a multiplication of Transfer for Tax by Grouping Regime by Tax Rate (38,007 *0,1). It works for all entities, except one (here it always show 0):

 

Do you have any idea why?

Thanks a lot!

 

  • Henning's avatar
    Henning
    Valued Contributor II

    Hi Kamila,

    without more information it will be hard to suggest where to look. Where are you calculating this, are you using a Tax solution from the Solution Exchange? Where is the calculation defined and how? 

    Analyzing the data on a parent member may also not be the best place to look as bookings on base accounts may revert each other, for example.

    It usually helps to write parts of the calculation result into the error log to see where it may go wrong.

    Generally, more information would be great for the people in the forum to help you. 

  • NaeemPathan's avatar
    NaeemPathan
    New Contributor III

    Hi Kamila,

    Have you used the error log to debug what is being produced for that one entity?

    Alternatively, create the tax rate as a variable and then reference that in your Get Data Cell expression and then break it up to find the cause that way.