7 Replies Latest reply on Mar 10, 2015 3:53 PM by azodpe

    Receive the error message "This record in table hz_parties cannot be locked as it has been updated by another user."

    jsblakley

      While trying to update the HZ_RELATIONSHIP.END_DATE using the relationships API, I get the following error message;

       

      This record in table hz_parties cannot be locked as it has been updated by another user.

       

       

      The API is as follows;

       

      hz_relationship_v2pub.update_relationship(p_init_msg_list => FND_API.G_FALSE,

                                                                            p_relationship_rec => v_relationship_rec,

                                                                            p_object_version_number => v_object_version_number,

                                                                            p_party_object_version_number => v_party_object_version_number,

                                                                            x_return_status => v_return_status,

                                                                            x_msg_count => v_msg_count,

                                                                            x_msg_data  => v_msg_data);

       

      Any help is appreciated.