I prefer to use the OnValidate at field level on the table, otherwise you will have to duplicate your validation code on each form you might create that makes use of the table.
There is one simple rule you should follow:
Data operations should always be programmed in the table.
Display operations should always be programmed on the form.
So if you need to change a color depending on the value of a field, you do it on the form. If you need to default address information depending on the customer number, you do it in the table.
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Data operations should always be programmed in the table.
Display operations should always be programmed on the form.
So if you need to change a color depending on the value of a field, you do it on the form. If you need to default address information depending on the customer number, you do it in the table.
RIS Plus, LLC