SC
4 years agoNew Contributor III
Derivative rules
Hi experts,
I have a group of GL accounts that I need to map to either an expense / revenue based on the sum of the balances.
I thought this would be easy enough with a derivative rule; first create an interim rule to aggregate the accounts and then create a final rule to check if the balance is greater / less than 0.
Finally, I have used the final derivative rule in my target account mapping.
But, this is not quite working as expected.
It seems to just add the negative balances of the individual GL accounts under the "_N" rule and the positive balances under "_P" rule, therefore both my expense and revenue account in OS ends with a balance.
Could you please suggest what I am doing wrong?
Regards,
S