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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Add fields from Purchase Lines to Purchase Header List

(0) ShareShare
ReportReport
Posted on by 55

Hello

This request we've received is a bit odd.. :-)


We've added 2 additional columns in the Lines table.. Crop Loss and Valuation Qty Received

pastedimage1662381470420v1.png


We need to add these 2 columns from the lines; Crop Loss and Valuation Qty Received in the Header List as below:

pastedimage1662381949614v3.png



The business rule will be, that there will only be 1 line per header. No Multiple lines per Header.

With the article: https://community.dynamics.com/nav/f/microsoft-dynamics-nav-forum/457835/how-to-add-fields-from-purchase-header-to-purchase-lines-list-page/1253784 it is revering to add these columns in the header table as well, and create a trigger to add these values in the header table after the lines have been populated

Are there an easier way to add the lines columns to extend the Header List? I was hoping maybe to reference the lines table when extending the Header List in AL?

pastedimage1662382437814v5.png

Kind Regards
Jaco

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    I think you have not created the fields using table extension. Please refer the below link how to do the table extension in business central and then please add those fields in the respected page as per your image.

    docs.microsoft.com/.../devenv-table-ext-object

  • Verified answer
    Amit Baru Profile Picture
    3,043 on at

    Hi,

    For above requirement. Create Purchase Header Extension and Add these two fields and make its nature to Flowfield

    Regards

    Amit Sharma

    www.erpconsultors.com

    Press Yes if info is useful

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,344 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,742 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,231

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans