AL icon indicating copy to clipboard operation
AL copied to clipboard

Error compiling dynamic control expression RecordFunction().Boolean

Open TKapitan opened this issue 7 months ago • 0 comments

Please include the following with each issue:

1. Describe the bug Report Request Page Editable = ProcedureReturningRecord().BooleanField

Error compiling dynamic control expression: 'ProcedureReturningRecord().BooleanField' at index '16'. The error is: The type of function 'ProcedureReturningRecord' is unknown..

2. To Reproduce Create a report with a request page field and an editable property. Create a procedure that returns a record and use a boolean field from that record to define the editable property.

Run report.

3. Expected behavior No runtime error or report the error in VS Code if this is not supported.

4. Actual behavior Runtime error

5. Versions:

  • AL Language: 15.0.1433841
  • Business Central: AU Business Central 26.0 (Platform 26.0.34292.0 + Application 26.0.30643.34150)

Internal work item: AB#580026

TKapitan avatar May 25 '25 10:05 TKapitan