Codeunit 80 adding code to use for extension

Developer101
Member Posts: 569
Hi,
I want to make a change in NAV 17 using extensions. So the change basically will be using the standard objects. I have some extra fields on sales tables that need to be transferred to Cust Ledger Entries (extra fields are on cust ledger table as well) when sales invoice is posted.
Traditionally this is easy to do, customisation will be needed in CU 12 and 80 to transfer those extra fields, as I will be using extensions and extra code will need to be placed in customised codeunit which will be used as Subscriber, all is find but my problem is that I cannot find a suitable publisher in CU 80 in the right place to call. Any one has idea?
Thanks
I want to make a change in NAV 17 using extensions. So the change basically will be using the standard objects. I have some extra fields on sales tables that need to be transferred to Cust Ledger Entries (extra fields are on cust ledger table as well) when sales invoice is posted.
Traditionally this is easy to do, customisation will be needed in CU 12 and 80 to transfer those extra fields, as I will be using extensions and extra code will need to be placed in customised codeunit which will be used as Subscriber, all is find but my problem is that I cannot find a suitable publisher in CU 80 in the right place to call. Any one has idea?
Thanks
United Kingdom
0
Best Answers
-
One way to find out. But i'm pretty sure it will.5
-
Ok thanks gonna tryUnited Kingdom0
Answers
-
life is a bitch. Maybe see if you can find them in NAV2018 and port them back.0
-
Do you mean use the codeunit 80 from nav 18 in nav 17?United Kingdom0
-
look if they added the triggers you need and port that code back to 2017.0
-
ok if they were added then porting back to 17, that would be mean customising the codeunit in 17 , i thought we were not allow to do that when using extensions?United Kingdom0
-
is this for your own database of for azure?0
-
its for customer database , not the azure version just local client.United Kingdom0
-
well then. What is holding you back. If yo use the same triggers as 2018 . It will still work in the future.0
-
Dont add the extra triggers in your extension, but in a Fob.0
-
but will it work in extensions too after adding those events?United Kingdom0
-
One way to find out. But i'm pretty sure it will.5
-
Ok thanks gonna tryUnited Kingdom0
-
imran-k@outlook.com wrote: »Ok thanks gonna try
So it worked?0 -
Not tested yet but should workUnited Kingdom0
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