Skip to content

FlowFilters added to Card Pages don't works and don't update FlowFields #4457

@JavierFuentes

Description

@JavierFuentes

Describe the bug
Actually seems we can't manage Filters and FlowFilters in Card Pages as we can do in List Pages...

So, we have tried to add FlowFilters and FlowFields directly into a Card Page Extension, but it doesn't works.

To Reproduce
Add a FlowFilter and a FlowField to a Card Page or a Card Page Extension.

When you validate a new value into a FlowFilter, it doesn't remains in the field and seems it lost its value... as a consequence, the FlowField don't update its value neither.

pageextension 50100 prefix_GLAccountCardExt extends "G/L Account Card"
...
field("prefix_Date Filter"; "Date Filter")
{
   ApplicationArea = All;

   trigger OnValidate()
   begin
       CalcFields("Balance at Date"); // Forze code calcfield don't works neither
       Message('The new Date Filter is: %1', GetFilter("Date Filter"));
   end;
}

field("prefix_Balance at Date"; "Balance at Date")
{
   ApplicationArea = All;
}

Example:
FlowFilterInCardsIssue.zip

Expected behavior
Ideally we need to interact with Filters and FlowFilters in Cards nativelly...

Regardless of whether this works at any time, we need to be able to add fields of type flowfilter and flowfield to the Page Card and that they work as expected.

Screenshots
image

Versions:
AL Language: 2.0.48254
Business Central: ES Dynamics NAV 13.0 (24630) OnPremise

Metadata

Metadata

Assignees

No one assigned

    Labels

    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