Editable Grid

Certified Associate Developer
Hi...
I have created editable grid...with add , update and delete functionality...
I used a!writeToDataStoreEntity() to save the updated details in to DB..
Whenever i performed any of these(add,delete,update) operations... some times I am facing following issue...some times its working fine...
any suggestion on this.
Thanks in advance

OriginalPostID-262904



  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    @Pavani can you check whether the XSD of this CDT (KP_IAL_Employee) contains @Version annotation. if so that means, You have optimistic locking configured on your entity, using an @Version annotated field.

    The principle of optimistic locking is to only allow an update of a row if the version stored in the row has the same value as the one stored in the entity being merged. Otherwise, the exception will be thrown
Reply
  • 0
    Certified Lead Developer
    @Pavani can you check whether the XSD of this CDT (KP_IAL_Employee) contains @Version annotation. if so that means, You have optimistic locking configured on your entity, using an @Version annotated field.

    The principle of optimistic locking is to only allow an update of a row if the version stored in the row has the same value as the one stored in the entity being merged. Otherwise, the exception will be thrown
Children
No Data