[Home] [By Thread] [By Date] [Recent Entries]
It depends on the consequence. In a recent case locally, a restaurant that was working juveniles (under 16) excess hours paid fines. A business rule must have a consequence, and since policy tends to be very local, putting these in any component shared across boundaries is unfit design. It is a matter of which component do you wish to emit the exception. One might want to log it but now we have to discuss access and transparency requirements, aka, who's zoomin' who. len From: Michael Kay [mailto:michael.h.kay@n...] > Often it will > be correct, valid data, revealing that the business rules > have indeed been breached. > To take Len's example, if the business rules say that an employee must not work more than 40 hours and the employee says he has worked 43, what should happen? Do you want the database to record incorrect data, on the basis that the correct data is unpalatable?
|

Cart



