Hi there,
After converting my C/Side code to AL, I received the following error in Visual Studio Code AL.
This is caused by the sequence of the properties exported of the field definitions.
As soon as I copy the line FieldClass=Flowfield above the CalcFormula property the error disappears.
Any idea how to prevent this?
Order does matter in some cases. Since CalcFormula is only applied if the field is FlowField so in this case the order does matter.
Yes at least most of them , its the export from NAV/BC some how sorting the properties in alphabetical order. I understand the error but should the order of the properties matter as long as they are within the brackets (in scope of the field section)
the statements are in incorrect order. fieldClass should come before CalcFormula. I'm not sure if this can be handled while converting CAL to AL but the error makes sense. Is this the same for all tables/fields?