When trying to update a record using the API for any Custom LU (_CLT table in IFS), we get this error. ERROR: MODIFIED2: The ‘LU Name’ object has been modified by another user. Please refresh the object and reenter your changes. The error is saying that a record can't be updated because it is already being updated, which is not the case. This happens regardless of which table the triggering action is coming from. The update method that is called using the API is 'PackageName'_CLP.Modify__( ). This modify method is auto generated when the Custom LU is made. We have verified that the New__ API call for inserting a record does work correctly for Custom LU tables, but the Modify__ or Remove__ API calls do not.
To be clear, we are able to call the API methods to Update, Insert, and Delete records from IFS standard tables, (tables ending in _TAB), as well as custom field tables, (tables ending in _CFT) but we are having this issue with the tables made from Custom Logical Units, (tables ending in _CLT).
I am on IFS version 10, Update 10.
Sample error message is below. any help with this would be very much appreciated. Thanks!!
Best answer by ChaMylesC
View original