I have been tasked to come up with a list of the Business rules in one of our current applications. We have a very old document that has somethings, but has not been maintained, and as such is very outdated and inaccurate.
In an attempt to do it better than before, and hopefully more useful I have been asking fellow developers what types of things should be in the document and what they consider a business rule. And apparently we all have a different definition. I read over this wikipedia article, and it confused me more.
What we are trying to accomplish is:
- Complete list of business rules in our application to allow for easy review.
- A place to find and lookup these rules, when we are working on something related to it. That way over time when we forget what the rule is a screen is supposedly implementing, we can refer to this document.
Where I get confused is how specific should business rules be. How far do you go?
Example: A screen has two fields, A and B. A is a code and B is the definition of that code. They are stored in the database as a row in some table.
Business Rule 1: When user enters code in field A, field B is auto populated with the corresponding definition.
or
Business Rule 2: Every A code has a single corresponding B definition.
So which is more correct?