Our database has documents which retrieve data from another system using a java agent (which sends and reads XML).
The javaagent is called from a lotusscript agent. It updates a document (maindoc), updates another document (userdoc) with any messages found then passes that maindoc back to the lotusscript agent.
The lotusscript checks the userdoc for messages. If there are any it displays them in a message box and opens the maindoc in Read Only mode. If not it opens the maindoc normally.
All this code is called from the ViewQueryOpen of the views.
Our problem is if there are messages… sometimes notes will NSD when opening the maindoc. Sometimes it wont. It is not specific document as you can use the same document and sometimes it will error and sometimes it wont.
Our system is due to go live in 2 weeks and this is a major problem. Any ideas or suggestions would be great.