Hi, It get very difficult to manage when there are multiple users accessing same code or application. Whereas if you are using eConnect in your project then can use Next document Number method that will handled all increment for you. Below is code I wrapped in Custom Web Services using eConnect. http://sandipdjadhav.blogspot.com/2012/04/next-document-number-web-service-using.html Let me know how it goes. Thanks much Sandip Jadhav
↧