Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Trigger for selecting row in list page?

Posted on by 479

I am ultimately trying to replicate this fact box from the Cust. Ledger Entry table
35.PNG

Whenever you select a different row (highlighted by light blue) it updates the fact box on the right. I am wondering what trigger is used for that?

Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 70,191 Super User 2024 Season 2 on at
    RE: Trigger for selecting row in list page?

    Hi, There are no triggers, they are associated using the SubPageLink property. This is very common practice.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-subpagelink-property

    pastedimage1655341013834v1.png

    pastedimage1655341026289v2.png

    But there is a special case, such as Attribute on Item list. The code is executed in the OnAfterGetCurrRecord() trigger.

    pastedimage1655341134376v3.png

    pastedimage1655341175588v4.png

    pastedimage1655341194586v5.png

    pastedimage1655341322992v7.png

    Hope this helps.

    Thanks.

    ZHU

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,570 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,683 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans