I am creating "Time Tracking" record using the scr...
# suitescript
a
I am creating "Time Tracking" record using the script, But for some of the employees when ever they are entering the time I am getting the following error . Please help me. Thanks
Copy code
You have entered an Invalid Field Value 23368613 for the following field: casetaskevent"
c
typically means either its a wrong value all together or the ID doesn't match the rest of the data. For example you choose Subsidiary A but the value belongs to Subsidiary C so it throws an error.
a
@creece actually its entering the time on a project task. So the script first sets the value of project and then sets the value of project task(which is what throwing the error). I have verified the both project and project task ID and eveything seem to be fine. Also I have verify that the employee is resource of the project and project task. No sure why I am getting this error.
b
share the code
a
@battk and @creece Thank you for helping me. I think its some thing related to the browser cache I guess . When the employee cleared the time and re-enter it, it worked fine. So I am good now👍.
b
if the problem is intermittent, then make sure you are setting fields synchronously