Enforcing data
Earlier in this chapter, we explored how Business Rules can validate information, ensuring that data is consistent and appropriate. For example, we ensured that departure dates are always after arrivals. However, writing a script for every situation is an administrative overhead. Reduce it by using a data policy, which allows definitions to be made without writing a single line of code.
Tip
Data Policies are another of the point-and-click functionalities available. Try to data policies when possible, and use Business Rules otherwise.
Data policies enable you to specify whether fields in a table should be mandatory or read-only under certain conditions. The conditions can only apply to the current record, which means the script that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access