My colleagues have been create a program for calculating the finanical data (fields) of my data. When he start to build up the program, he is using calculation field to update the data. When time goes by, update to last month, he want to use server side script to update those field. He told my that When he run the script in server side, all the fields becomes 0. On the other hand, When he run the script in his local comptuer, all the fields are normally update.
What is the problem about this condition?
P.S. The three attachment is the script the end user create.