What’s Wrong with This Picture? (5)
February 9th, 2012

The last post in this category for now; I think you’ll find this one a tad bit more challenging than its predecessors.
Please ignore the Dutch/Dunglish field names; I took this snippet from an internal application, which is why linguistic matters were not necessarily among the developer’s top priorities.
February 9th, 2012 at 10:29 am
While “FINDSET(TRUE,FALSE)” if “lvLinkedCall” record is never modified?
February 9th, 2012 at 10:50 am
Very well spotted!
I guess FINDSET(TRUE,FALSE) made perfect sense at some point, but after a redesign, the developer forgot to remove it.
February 9th, 2012 at 10:51 am
Wouldn’t it be cool to have a static code analysis tool for C/AL that could identify cases like this?!
February 9th, 2012 at 3:30 pm
>> Wouldn’t it be cool to have a static code
>> analysis tool for C/AL that could identify
>> cases like this?!
Definitely!
I will add this to the “Check Guidelines Tool” in the next release of Object Manager.