Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: Triggers in NAV 2009 R2

$
0
0
Each Trigger will get executed in a different point of time. In a Table, the OnInsert Trigger is executed when a record is being inserted (when all the primary keys are inserted), the OnModify Trigger is executed when the value in any field of the record is altered, OnRename Trigger is executed when the key fields are altered and the OnDelete Trigger is executed when you are deleting a record. For the fields in a Table, OnValidate Trigger is executed when you enter or alter the data in a field and Onlookup trigger is executed when Lookup is activated. There will be One OnValidate Trigger and One OnLookup Trigger for every field in the table. I hope now you will get an idea of the triggers in Tables. Similarly you can relate to the triggers in other objects from the term itself.

Viewing all articles
Browse latest Browse all 11285

Trending Articles