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...
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,698 Moderator on at
    RE: Add fields from Purchase Lines to Purchase Header List

    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,037 on at
    RE: Add fields from Purchase Lines to Purchase Header List

    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

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,225

#2
Sumit Singh Profile Picture

Sumit Singh 2,123

#3
YUN ZHU Profile Picture

YUN ZHU 1,813 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans