I've written a few larger scripts, they working as they should. Now I want to make them more user friendly by using dropdown.
I used some of the script found on the forum.
This scrip should calculate the cumulative quantity for each material code. In the drolistbox we selected the material code field and the quantity field:
Field amount will be used after the cumulative quantity.
The script creates the field CUMULATIVE_TOTAL but not calculate the cumulative quantity and returns this error:
I attach the code.
Could you help me?