You need to sign in to do that
Don't have an account?
Jaikish Thamarasseril
Data integrity and concurrency...
Is there any infrastructure in the force.com platform to prevent dirty update? Consider the following chronological scenario :
1) User A views record R1and clicks edit
2) User B views record R1and clicks edit
3) User A modifies R1 and saves
4) User B modifies R1 and saves
This sequence would overwrite changes made by User A. Is there a version management mechanism that would detect that save in step 4 will detect that the entity has been updated before and prevent it?
1) User A views record R1and clicks edit
2) User B views record R1and clicks edit
3) User A modifies R1 and saves
4) User B modifies R1 and saves
This sequence would overwrite changes made by User A. Is there a version management mechanism that would detect that save in step 4 will detect that the entity has been updated before and prevent it?
https://developer.salesforce.com/page/Building_Visualforce_Pages_Using_Standard_Controllers_Part2
scroll down to the Concurrency Considerations section.