Skip to content

Txt2AL Converter converts empty string to 0D #4474

@amulaj

Description

@amulaj

Describe the bug
When you create a new flowfield on a table with CalcFormula set to "Count". And you set a filter like this:
Archive Date FILTER <>'' the txt2Al Converter converts it to "Archive Date" = FILTER (<> 0D)));

the correct way to convert this line is:
"Archive Date" = FILTER (<> '')));

Screenshots
C/Side Code:
image

Converted AL Code:
image

Versions:

  • AL Langauge: 2.1.79379
  • Business Central: CH Dynamics NAV 13.3 (27312)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions