LC0063 - StefanMaron/BusinessCentral.LinterCop GitHub Wiki
Consider naming field with a more descriptive name
This rule will suggest to give certain fields a more describing name on pages of type API for these fields;
id
for fieldRec.SystemId
number
for fieldRec."No."
displayName
for fieldRec.Name
Additional it will look for other "No."
fields, like
customerNumber
for fieldRec."Customer No."
maximumNumberOfAttempts
for fieldRec."Maximum No. of Attempts"
AZ AL Dev Tools
The alOutline.apiFieldNamesConversion
setting of the AZ AL Dev Tools/AL Code Outline can assist with assigning fieldnames.
"alOutline.apiFieldNamesConversion": [
{
"searchRegExp": "^no$",
"newValue": "number"
},
{
"searchRegExp": "No$",
"newValue": "Number"
},
{
"searchRegExp": "^systemId$",
"newValue": "id"
},
{
"searchRegExp": "^systemModifiedAt$",
"newValue": "lastModifiedDateTime"
}
],