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

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,111 Moderator on at

    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
    95,681 Super User 2025 Season 2 on at

    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…

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 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans