Forum Discussion
MarkShnier__You
3 years agoQrew Legend
Not use custom data rules to validate existing data because you will block all your users from saving data. This would probably be pretty annoying to the users to not be able to do their day-to-day jobs.
What I like to do is make an all purpose warnings field that will show at the top of the form and I use the formula to only display it if it is not blank.
Here's an example:
var text Warnings =
List("<p>",
If(IsNull([GIT Load#]), "This Inbound Load is not connected to a Goods in Transit Record. Edit the record to enter the Record ID# of the GIT Loads record. If this is not done, then updates to this Transload record will not be able to trigger the required updates in the GIIT Load record."),
If([Any Transload Pallets w/o Order#?] or [Any Transload Pallets w/o Warehouse?], "There are TransLoad Pallets Missing Stock Transfer Backorder Allocations. You may not create Labels until this is corrected"));
If($Warnings <> "",
"<font color=red><b><font size=+1>" & $Warnings)
Do you have a lot of tables you can do a formula like this on each table and then have a report where the warnings is not blank. If you'd like you can make a dashboard filled with the actual reports of records and warnings. You can have up to nine reports on the traditional homepage. So then maybe it's some instruments day to go to the dashboard and make all the reports go blank by fixing all the errors.
Now, once you get your day to totally clean if you'd like you can implement a custom data rule and that will absolutely protect against bad data coming in but it will also block imports so you have to consider the user experience.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
What I like to do is make an all purpose warnings field that will show at the top of the form and I use the formula to only display it if it is not blank.
Here's an example:
var text Warnings =
List("<p>",
If(IsNull([GIT Load#]), "This Inbound Load is not connected to a Goods in Transit Record. Edit the record to enter the Record ID# of the GIT Loads record. If this is not done, then updates to this Transload record will not be able to trigger the required updates in the GIIT Load record."),
If([Any Transload Pallets w/o Order#?] or [Any Transload Pallets w/o Warehouse?], "There are TransLoad Pallets Missing Stock Transfer Backorder Allocations. You may not create Labels until this is corrected"));
If($Warnings <> "",
"<font color=red><b><font size=+1>" & $Warnings)
Do you have a lot of tables you can do a formula like this on each table and then have a report where the warnings is not blank. If you'd like you can make a dashboard filled with the actual reports of records and warnings. You can have up to nine reports on the traditional homepage. So then maybe it's some instruments day to go to the dashboard and make all the reports go blank by fixing all the errors.
Now, once you get your day to totally clean if you'd like you can implement a custom data rule and that will absolutely protect against bad data coming in but it will also block imports so you have to consider the user experience.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
- MarciaMiller3 years agoQrew MemberThanks Mark. This is helpful. Just to clarify, we have several master data tables within one application. I need to compare the table where users enter information to the master data tables to ensure that the information is correct. So I'm comparing fields in the master data tables to fields in the user input table and identifying those that are not the same.
------------------------------
Marcia Miller
------------------------------