AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Create a Time Card That Violates the Business Rules Around Time Cards
The database structure allows data to be persisted in a way that violates the business's understanding of what a time card is and how a time card works. So once you rename this as time sheet or time card now you can ask some intelligent questions like from the business point of view. All of the fields in this table are nullable. You can create a time card with absolutely no data in it. And so basically the field names told you nothing about what it was actually there. Those aren't the business rules around time cards. That's not the way the business sees a time card.