I am trying to use the validations (business rule) but it is not doing anything.
I have defined a rule that compares two accounts (total assets and total equity and liabilities) on a flow that is a base level element. The result, i.e. the difference should be written to the validation account.
The rule looks like in the screenshots and the script I am using is this:
I have also tried it as
but neither has generated any entries in the database.
What am I doing wrong?