Dear experts,
We have forms implemented in Webtop that are using information from several objects. We perform form level locking to avoid two users simultaneously saving and overwriting each other's work, but in case the form is different, the disaster cannot be avoided. We need a second object level locking.
The scenario is:
Form A:
- Manages information of type A
Form B:
- Manages information of type B
- Manages information of type A
The forms are opened together by two different users or even from the same user in different tab. The Form A gets saved and then Form B gets saved. The results is that the information of content type A is overwritten and the changes performed in Form A are lost.
One solution would be to check the "i_vstamp" attribute of the type and allow the save operation only if it is the same with the one loaded by the form. Any other solution?
Panos