Preventing Editing Of Docs on certain days

Hi,

I have a web app that allows retail stores to update their timesheet info. The stores don’t have an always on connection to the server, instead we use DOLS to synchronise the data from each store overnight.

The problem is, when the data is sent back to the server, and we export the data to our other (non-Notes) databases, we sometimes then have the stores changing their data again. So that, the next night, we end up with replication conflicts. Without access to a Domino server, or even a Notes client, I can’t think of a way of preventing users from doing this.

Ideally, we’d like to allow them to edit between Wednesday and Sunday, then block all editing between Monday morning and Tuesday night, whilst we export the data and create the new timesheets to be replicated back to the stores.

Any ideas how this might be possible with just a DOLS client?

Subject: I think i’ve answered my own question!

If I run a scheduled agent each week, that sets a hidden field on each document, I can then check the value of that field to see if the document should be edited or not.

Therefore if we don’t want the doc edited after Sunday, i’ll run the agent on Sunday night to set the fields before replicating the documents. As we won’t be editing them ourselves in the Head Office until Monday or Tuesday, there won’t be any replication issues.