Skip to main content
Paul@40
Known Participant
August 2, 2023
Question

Calculation not Working but is working. Strange issue - please read and assist!!

  • August 2, 2023
  • 2 replies
  • 4850 views

So I have created a document that calculates a 4 items. It was working perfectly until I added a 3rd and 4th row to allow the client to add in any miscellaneous fees.

 

Now the second item in the Invoice Details called Support calcuilates correctly in the Notes section but displays as £0.00 until you add any amount into the 3rd row. Then it appears.

 

I have no ideas why this is happening and I cant seem to effect it no matter what I try. The only thing that works is to remove it but that isnt really a working solution.

 

I have attache dthe document and filled out the calculation so anyone kind enough to take a look can see what is going wrong.

 

After it appears using the methos aboive the problem doesn't return. Its very perplexing.

 

Appreciate any assistnace with this. Thanks 🙂

This topic has been closed for replies.

2 replies

try67
Community Expert
Community Expert
August 10, 2023

There are errors in the validation script of CoreFeeDue. Remove that code, and then re-apply the calculation script of DailySupportFee.

try67
Community Expert
Community Expert
August 10, 2023

There's also an issue with the days fields showing -1 when the form is cleared, but that's unrelated.

Bernd Alheit
Community Expert
Community Expert
August 3, 2023

Change the field calculation order.

Paul@40
Paul@40Author
Known Participant
August 10, 2023

Thanks but already tried that and it didnt work. I 'fixed' it by entering 0.00 in the 2 blank total fields and saved the form with them 'hard' coded and that made everything work. 

It wasnt really a fix as the problem is still there if those fields are cleared but client was okay with that.

I guess its a too difficult fix as no one has come up with a solution to the original issue.