64
Would like to see that the AL compiler or one of the code analyzers gives a warning when the Get procedure is called with insufficient arguments, too many arguments, or arguments of invalid types that do not match the formal parameters expected given the PK of the record in question.
This is an error that is hard to spot, so I think detection and a warning on this error would be really helpful.
Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.

Best regards,
Business Central Team

Comments

R

I would really prefer codecop rules like this instead of rules like AA0072....

Category: Development

R

I agree with this proposal but... how would you handle setup table?
For instance GLSetup.Get() should be replaced by GLSetup.Get('') everywhere to prevent getting this warning?

Category: Development

R

It would improve the development significant

Category: Development

R

Reported on Github as well
https://github.com/Microsoft/AL/issues/4622

Category: Development