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

Community site session details

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

OnOpenPage trigger AL

(0) ShareShare
ReportReport
Posted on by

Hi All,

I need vendor name or customer name columns in the GL Entry table. 

How can be done by OnOpenPage trigger?

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,071 Moderator on at
    RE: OnOpenPage trigger AL

    Adding this information on a page level is maybe not the best approach because if you have several pages looking at the G/L entries you will have to extend all those pages. So instead you should do a table extension on the G/L Entry table.

    But if you really want to do it in a page you should use the OnAfterGetRecord trigger. Then use the source type and source no. to look up the information for either vendor or customer.  But again - i advice you not to follow this approach.  

    This is a request we frequently see from new BC users but after a while when they get used to looking up related info in the system it usually blows over.

  • Suggested answer
    YUN ZHU Profile Picture
    94,131 Super User 2025 Season 2 on at
    RE: OnOpenPage trigger AL

    Hi, if you only want to display vendor name or customer name columns on the GL Entries page.

    Hope the following will help.

    https://yzhums.com/13226/

    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

Responsible AI policies

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

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,553

#2
Sumit Singh Profile Picture

Sumit Singh 2,057

#3
YUN ZHU Profile Picture

YUN ZHU 1,915 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans