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

Announcements

No record found.

News and Announcements icon
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?

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 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
    104,157 Super User 2026 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 554 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 344 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 189 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans