What is difference between Onmodify & Onrename table trigger in business central.
The OnRename trigger works only when Primary key is (renamed/changed) whereas the OnModify trigger works on CRUD operations on a table record, field(on all type of keys).
What is difference between Onmodify & Onrename table trigger in business central.
If the fields you want to change are part of (or is entirely) the table's primary key (like e.g. the No. field in the Item table), then in fact you are going to rename the record.
If you touch non PK fields only, then it is a common modify.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.