Confirmation rules for other entities ?
Dear community,
I'm using some confirmation rules but the output is not what I'm expecting.
I'm using a very simple check to see if assets and liabilities are balanced, however it's not running on the expected entities.
I have set the Calculation definition for 3 entities which are the parents of the entities managed in the workflow profile. These parents are actually linked to a "parent input" profile type, but all of their children are related to this workflow profile.
I have then a confirmation rule that is looking for the assets & liabilities :
args.ConfirmationRuleArgs.DisplayValue = api.Data.GetDataCell( _
"A#00068:C#Local:F#F0999:I#Top:C#EUR:V#YTD:O#BeforeAdj - A#00084:C#Local:F#F0999:I#Top:C#EUR:V#YTD:O#BeforeAdj" _
).Cellamount
If System.Math.Abs(args.ConfirmationRuleArgs.DisplayValue) = 0 Then
Return True
Else
Return False
End If
However when I run these confirmations as a user, I invariably get the output related to the POV entity, but not the entity listed in the calculation definitions.
Output (same for the 3 entities) :
==> Is it supposed to work this way ? Why wouldn't it run against the entities set in the calculation definition ??
Many thanks for your feedbacks,
Regard,