?
Solved

Auto numbering the requests and sending/displaying the request ID

Posted on 2006-07-09
6
Medium Priority
?
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 17070898
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
ID: 17070913
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
ID: 17070997
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 2000 total points
ID: 17071016
http:Q_20987922.html "automatically numbering documents - error"
http:Q_20975752.html "Duplicate Numbering happening in an auto numbering routine"
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

800 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