Do not use object ids in code like Codeunit.Run() #16
Replies: 3 comments 4 replies
-
Please also include the same for EventSubscribers: |
Beta Was this translation helpful? Give feedback.
-
None of these should compile. But they do, and we only get told at runtime that someone goofed. I get that the base Page object takes generic var Record: Table arguments, so at the base level those can't be validated - but it is hopefully possible for specific Pages, which have a specific SourceTable set, to error out if they are passed a Table that is not of the same type. Please can you consider doing this? It would catch common thinkos and save much time. I might've missed some methods taking Record: Table arguments from my example, in which case, please include all such methods in this fix. microsoft/AL#6438 https://experience.dynamics.com/ideas/idea/?ideaid=df8e9c09-3986-eb11-8ced-0003ff45a07d Posted by https://github.com/dnpb |
Beta Was this translation helpful? Give feedback.
-
This goes for
Beta Was this translation helpful? Give feedback.
All reactions