How do I change/overwrite the Danish OIOUBL extension?

MortenSteengaard
Member Posts: 144
I'm working on Business Central version 13.11 (13.0.35820.0) on-premise. Most of the code is C/SIDE but some is in extensions.
I need to make some changes to the Danish OIOUBL extension that exports an XML file.
I have the code from Microsoft, but when I try to build a package i Visual Studio Code, I get a lot of errors (fields missing etc.).
Shouldn't it be easy to add one message in the code and then build a package? I have tried with all of Microsoft Denmarks extensions inside my project, but that just gave me more errors.
So far I only need to change an if-sentence in one codeunit.
I need to make some changes to the Danish OIOUBL extension that exports an XML file.
I have the code from Microsoft, but when I try to build a package i Visual Studio Code, I get a lot of errors (fields missing etc.).
Shouldn't it be easy to add one message in the code and then build a package? I have tried with all of Microsoft Denmarks extensions inside my project, but that just gave me more errors.
So far I only need to change an if-sentence in one codeunit.
0
Best Answer
-
Now I know how to do this. Feel free to leave a comment here, if you want me to explain it.0
Answers
-
Hi Morten
I've done that with success in both BC13 and 14.
Did you generate symbols (calling finsql.exe with the right parameters after adjusting your service tier settings) and load them into visual studio?0 -
Hi Lynge.
I don't know how to do this, so I have just tried some things.
I have made a Visual Studio Code project where I have made an extension to a random page. When I press F5 i VS Code, it build the package and install it. (BC is not set up to open in a web browser, but my extension is working fine, when I open BC using the client.)
Then I copied the one codeunit (13653), I need to change, into my project in VS Code. It didn't have the new fields, Microsoft Denmark has added in some table extensions. Then I tried to add some or all AL-code from the OIOUBL-zip file into my project, but I get all kind of errors.
I must be doing it wrong...
0 -
Now I know how to do this. Feel free to leave a comment here, if you want me to explain it.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