Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Business Central forum

Converting C/Side to AL

(0) ShareShare
ReportReport
Posted on by

Hi there,

After converting my C/Side code to AL, I received the following error in Visual Studio Code AL.

error_5F00_al.png

 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?

Categories:
  • Mohsin Abbas Profile Picture
    525 on at
    RE: Converting C/Side to AL

    Order does matter in some cases. Since CalcFormula is only applied if the field is FlowField so in this case the order does matter.

  • Community Member Profile Picture
    on at
    RE: Converting C/Side to AL

    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)

  • Suggested answer
    Mohsin Abbas Profile Picture
    525 on at
    RE: Converting C/Side to AL

    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?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans