Hello.
This request is a follow up to my previous "API extension request. Add lastModifiedDate to add and addList responses." It is aimed at extending API to add an ability of relatively reliable synchronization of objects in NetSuite and in some external storage.
To complete this ability, in addition to a change requested in my previous thread, following function should be added:
1. update and updateList requests should be extended with lastModifiedDate value that an object should have in order the operation to succeed. In case an object have the lastModifiedDate value different from one supplied in the request, the operation should fail with prominent error.
2. update and updateList responses should be extended to fetch back new values for lastModifedDate values of updated objects.
3. delete and deleteList operations should be extended, similar to update and updateList, that is, request should be able to hold a guarding lastModifiedDate value that would restrict deletion of the object. If an object been deleted would have a lastModifiedDate value different from the supplied guarding value delete would fail with some prominent error.