I am terminating the material with the code Materialcollection.Terminate(lossreason, collection) where it terminated the material in the version 10.2.5 the same code did not work after migrating to 10.2.14 version . Am getting an error “The data for object 1234 of type Production Order has changed since last viewed. Please refresh the object. If the problem persists, please contact the application administrator.” while terminating the material.
In my code i am fetching the material against the production which are in process. I will abort the process of in process material and terminate the material collection