Solved

Auto numbering the requests and sending/displaying the request ID

Posted on 2006-07-09
6
227 Views
Last Modified: 2013-12-18
Hi Experts:

Again, I need your help in fine tuning my application. You could have seen my previous questions and perfect replies.
Now, I have a application which is having a form and developed in Lotus for Requestor Submission and Approver Approving the requests. The application is hosted in a 2 server cluster environment and with cluster replication enabled for high availability. Here in my case, the requestor will access the application through web and the approver will access the same application through lotus notes client and approves the form. In this case, I would like to assign the request ID for each requests requested by the requestors from web. They should get their request ID after clicking the submit request button. It can be displayed on the webpage with ID and caption saying "thanks or blalalaballa" or they should get
mail with the details of the request but not the doc link or form. Because, the requestor will be using MS Outlook or Netscape POP3 mail clients.

I hope, I had explained throughly here on my query.

0
Comment
Question by:deivakumar
  • 3
6 Comments
 
LVL 46

Expert Comment

by:Sjef Bosman
Comment Utility
Hi again :)

Do you have any special requirements for the ID? When a document is saved for the first time, it is given a unique ID by the Domino server, a 32-byte string. But I suppose that's not your idea of a "user-friendly" ID?
0
 

Author Comment

by:deivakumar
Comment Utility
Oh! Not 32 byte string, just want a 5 or 6 digit numeric or alpha numeric IDs
0
 
LVL 46

Expert Comment

by:Sjef Bosman
Comment Utility
Expected as much :) The subject is rather difficult, because you're never sure there isn't a replica somewhere on another server (or on a Notes client PC, used locally) that will not accidentally generate the same "unique" ID. What can be done is to use the ID from the most recent document, in combination with some letters that are unique for the situation: e.g. the server or the user's name.

The usual way to do this:
- a view sorted on the ID
- in the QuerySave of a form, open the view and get the ID of the last document
- calculate a new ID and put it in the document
0
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
Comment Utility
http:Q_20987922.html "automatically numbering documents - error"
http:Q_20975752.html "Duplicate Numbering happening in an auto numbering routine"
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now