Hi
A question for those with experience
I'm working on an idea to input employee information and the data source from the API by X++ code, and I'm trying to update the information of existing employees and input non-existent employees, but this error appears:
Cannot edit a record in Person name (DirPersonName). Update on a valid time state table is not allowed without specifying a ValidTimeStateUpdateMode.
What does this error mean?
The code is attached.