Hello Markus,
:-(
That was what I said in my 1st answer to this thread. We can run a FMS with a SUM() from the lines. It will only retrive the 1st row.
- Create a SP in the database and if the user didn't type the correct freight, a message will appear "Please insert the freight 3.5 (Your calculation)"
Did you thought about the Stored Procedure? I think that in your case it will not be that bad.
The SP should see
if your freight item is already in the document, the document will be saved.
If the freight item is not in the document, a message can appear say "Please insert the freight item with the value of 1234".
Greetings,
Augusto