Solved

Auto numbering the requests and sending/displaying the request ID

Posted on 2006-07-09
6
229 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
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 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

813 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

16 Experts available now in Live!

Get 1:1 Help Now