on 04-17-2014 3:43 AM
Hi,
Below is the query that used to generate a customized number for service call
It was set to auto generate when user select the customer code.
The number will increment only if the service call is created.
Before it has no issue if one user create a service call at one time.
However, I found a issue when A user open a service call and number was generated (ABC0001), user haven't create the service call.
At the meantime, B user also opening a service call and number was generated (ABC001), B user created the service call, following by A user.
So when I run a report, there will be two ABC001.
So wonder is this issue due to query or some other setting ?
Declare @fmt_num as Integer
Select @fmt_num=count(OSCL.CallID) from OSCL
SELECT 'ABC'+ replace(str((@fmt_num)+1,7,0),' ',0)
Thanks
Hi,
As explained in your previous thread, its due to call id.
http://scn.sap.com/thread/3539081
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.