Skip to main content

Notifications

Announcements

No record found.

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

How to add fields from Purchase Header to Purchase Lines List Page

Posted on by 184

Good afternoon colleagues

I want to add some fields to Purchase Order Lines list page (518) which are from the Purchase Order Header table (38)

I have added the Purchase Lines list page to the Navigation Pane, and via Develper Environment I added Requested Receipt Date and several other fields from Purchase Order Lines table (39)

(I did this with help from Zhu Yun's blog https://yzhums.com/8876/ and Sean Solberg's https://stoneridgesoftware.com/dynamics-nav-development-for-non-developers-part-6-adding-a-field-to-a-list-page/ thank you to both)

Now, I want to add some fields which are from Purchase Order Header table (38). The procedure is not the same as adding fields from the table itself

How can I do so?

Screenshot-2022_2D00_06_2D00_08-142121.jpg

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: How to add fields from Purchase Header to Purchase Lines List Page

    Hi Lovisa LH ,

    As yzhums mentioned you have to add new fields by going to the Development environment and design the the table and add those fields, after adding you can either choose to insert values into those fields by using OnInsert trigger or lookup property of those fields.

    Thanks.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    RE: How to add fields from Purchase Header to Purchase Lines List Page

    Hi, Yes you can't add header fields like in the screenshot.

    There are generally two ways here.
    1. Add a new field to the Purchase line table and update the new field value in the OnInsert Trigger. (Take value from Header)
    2. Add a Lookup FlowField in Purchase Line table. More details: https://docs.microsoft.com/en-us/dynamics-nav/flowfields

    Hope this can give you some hints.

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans