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
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.
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 '
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156