Hi, a few years ago I saw somewhere a scheme where was described the correct placement for C/AL code.
(e.g. code for one field => OnValidate, function for one table => Table, function for many tables => codeunit).
Has someone a saved link or the diagram?
Thanks a lot
Regards
xStepa
0
Answers
Is this the link?
https://nav-skills.com/2015/01/08/cal-coding-guidelines-nav2015/
like:
Does the code something to do with layout?
YES => use Report or Form
NO => use table or codeunit
---->Does your code affect more tables?
---->YES => use codeunit
---->NO => put it in table
xStepa
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/theartofnav/Kines%20decision%20tree.vsd
xStepa
Kine's Info - Where to place my code?