Click here to Skip to main content
15,901,853 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to design a database such that documents can be passed around. eg.


lets say there is a document by name Doc1, Users by names User1,user2, user3
and offices by name off1, off2.
User1 prepares Doc1 at office off1 then save it. After saving it hits user2 at off2
for approval. After user2 approves user3 also receives it at his office -off3. If there is any problem with the document recieved, it can be rejected to go back to the user who sent it.
Please how do I design tables to achieve this task? Thanks in advance
Posted
Comments
PIEBALDconsult 25-Nov-15 13:55pm    
Does it matter whether user2 or user3 approves first?
Would an existing system work for you? Maybe even SharePoint?
kwaku Emma 25-Nov-15 17:20pm    
Yes approval is needed before the document can be accessed by some users to work on it.

1 solution

Your database should store the office id that the document is currently at. I also agree with the comment, you may want to look into existing workflow solutions to see if there is something that already works for you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900