Hello everyone, I saw this error in my job management when I tried to print OIS199PF with custom template
[There was an error for GenerateFile 983051973413359481OIS199PF_0_0.pdf. Error cause is: Could not generate file. Failed to replace text in the plain text control Failed to parse input number. Input value: NaN, locale: ms_ID Unparseable number: "NaN"]
The Xpath that caused this is the one I marked red, it wants to use sum function and apply it for VFDIAM field which is marked with blue.

Any ideas how can we bypass this NaN error? for different occasion I did manage to use sum function normally with no issue