Purchase Invoice vs Gen. Journal vs GL Entry

Wojtekm
Member Posts: 123
Hi Guys,
I`m working with NAV 5.0.
I`m traying to add one decimal field to Purch.Invoice Line whitch is need to be transfer to G/L entry table.
I dont`t care about account no.
Also i need to add this field to Gen. Juornal Table, becouse sometimes posting is beeing done only from Gen. Journal.
Resoult of both posting should give me value of my decimal field in GL Entry Line.
What I need is (i think) modify Codeunit 12 Gen. Jnl.-Post Line and Codeunit 90 Purch.-Post.
Codeunit 12 is quite easy to modify and works properly.
I try to use TRANSFRFIELD function, wich is write (in nav standart) anytime before Codeunit 90 run Codeunit 12 with wariable type record, but it doesn`t work.
Maybe i don`t understand Purch. Posting Codeunits.
Please give me some advice.
regards
Wojtekm
I`m working with NAV 5.0.
I`m traying to add one decimal field to Purch.Invoice Line whitch is need to be transfer to G/L entry table.
I dont`t care about account no.
Also i need to add this field to Gen. Juornal Table, becouse sometimes posting is beeing done only from Gen. Journal.
Resoult of both posting should give me value of my decimal field in GL Entry Line.
What I need is (i think) modify Codeunit 12 Gen. Jnl.-Post Line and Codeunit 90 Purch.-Post.
Codeunit 12 is quite easy to modify and works properly.
I try to use TRANSFRFIELD function, wich is write (in nav standart) anytime before Codeunit 90 run Codeunit 12 with wariable type record, but it doesn`t work.
Maybe i don`t understand Purch. Posting Codeunits.
Please give me some advice.
regards
Wojtekm
0
Comments
-
In codeunit 90 values are transferred to GL journal and then is posted. Search for “GenJnlPostLine.RunWithCheck”. Fill values according to your needs.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions