web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Update 'parent' card field of PartList

(0) ShareShare
ReportReport
Posted on by 20

I have a Customer card with an embedded ListPart page of events the customer attended. 

These events have several editable boolean fields. (Checkboxes on the ListPart page)

For one of these fields I have the total of where it is true displayed in the Customer card through an integer field with FieldClass = Flowfield and a Calcformula = Count = (....)

This works nicely, but when I check or uncheck one of the boxes on the ListPart page, the field on the customer card is not updated, when I close the card and open it up again, the field is updated.

Is this in any way possible to have this happen on the fly?

What I have already tried and doesn't work:
UpdatePropagation : this not a valid poperty on a page with Pagetype = Card;

force a CalcField with the Onvalidate triiger as follows:

trigger OnValidate()
var
    customer: Record Customer;
begin
    customer.get(Rec.CustomerId);
    customer.CalcFields(BoolFieldName);
    // With or without the 
    CurrPage.Update();                  
end;

I tried putting this both in the table of the ListPart, as the ListPart Page itself.

Thanks in advance.

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    on at

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

  • Filip Cremers Profile Picture
    20 on at

    Thank you kindly.

    I am very new to the world of Dynamics 365 and am still trying to find my way around.

  • Andy Sather Profile Picture
    on at

    Hello Filip - No problem.  Partners can still help you on this forum.  We just do not have Microsoft employee's who are also developers monitor the forums.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans