Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Adding new fields from Purchase Header to G/L Entries

Posted on by Microsoft Employee

This topic is discussed a lot where the solution most commonly is to add those new fields in Purch. Inv. Header.(122), Gen. Journal Line (81) and G/L Entry(17).Then, after transferring the lines to Gen Gournal Line, use the copyfromgenjnlline function to copy them to G/L Entry.

I guess that with the new version of NAV the code has changed and i cannot find that function in G/L Entry(17).

Is there another way to flow the fields from Purchase Header to G/L entries now?

Thank you in advance.

*This post is locked for comments

  • SharonMacomber Profile Picture
    SharonMacomber 10 on at
    RE: Adding new fields from Purchase Header to G/L Entries

    Amazon is the best place for such purchases. To devote more time to my hobby, I use life hacks on this service  edubirdie.com/turabian-citation-generator where students can use free turabian citation generator. If you want to take a leading position in the market and strengthen your good reputation, you should offer your customers to leave feedback on your site.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Adding new fields from Purchase Header to G/L Entries

    So, i found the solution.

    To flow the fields created in Purchase Header, do the following:

    1) Create the fields you need in tables (38),(81),(17)

    2)At function CopyFromPurchHeader (Table 81) add 'Field_Name := PurchHeader.Field_Name '

    3)At function CopyFromGenJnlLine (Table 17) add 'Field_Name := GenJnlLine.Field_Name '

    4) At function InsertICGenJnlLine (Codeunit 90) add 'Field_Name := PurchHeader.Field_Name '

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans