NAV18 VSCode: Referencing customized objects in object designer

maze93
Member Posts: 24
Hi all and thanks for a great site.
Up until now I have found an answer to all of my questions during the years just by searching for them here. Unfortunately, this is not the case for this question.
I have set up an NAV 2018 database with VSCode and AL language (the vsix from the installation package, not the market place since this seems to be missing some features). In this case I have a third party product which I need to install outside VSCode as a FOB in object designer. The objects do not touch any standard objects. However, what I was expecting was that when I update the symbols in VSCode, these objects should present themselves before me.
(FYI: Local database, not in the cloud!)
This is not what is happening...
Does anyone know if there is anyway of referencing I.E. a codeunit in VSCode to a codeunit in object designer (object id greater or equal to 50 000)?
I am not very keen on upgrading the third party solution to an extension since there is 70-80 objects in there.
And yes, I have used the txt2al-converter, but this only gets me so far with lots of other trouble when trying to compile tables, pages etc. since they all rely on each other. Therefore this is not what I would like to do.
Thank you very much!
Regards from Mattias
Up until now I have found an answer to all of my questions during the years just by searching for them here. Unfortunately, this is not the case for this question.
I have set up an NAV 2018 database with VSCode and AL language (the vsix from the installation package, not the market place since this seems to be missing some features). In this case I have a third party product which I need to install outside VSCode as a FOB in object designer. The objects do not touch any standard objects. However, what I was expecting was that when I update the symbols in VSCode, these objects should present themselves before me.
(FYI: Local database, not in the cloud!)
This is not what is happening...
Does anyone know if there is anyway of referencing I.E. a codeunit in VSCode to a codeunit in object designer (object id greater or equal to 50 000)?
I am not very keen on upgrading the third party solution to an extension since there is 70-80 objects in there.
And yes, I have used the txt2al-converter, but this only gets me so far with lots of other trouble when trying to compile tables, pages etc. since they all rely on each other. Therefore this is not what I would like to do.
Thank you very much!
Regards from Mattias
0
Best Answers
-
Hi @maze93 ,
Have you already tried to regenerate symbols as described here - https://docs.microsoft.com/en-us/dynamics-nav/developer/devenv-running-cside-and-al-side-by-side ?Let's go!5
Answers
-
Hi @maze93 ,
Have you already tried to regenerate symbols as described here - https://docs.microsoft.com/en-us/dynamics-nav/developer/devenv-running-cside-and-al-side-by-side ?Let's go!5 -
Hi @logger and thanks for your response.
I hadn't tried that but did now. Unfortunately no difference.
I can see in the object meta table that the table is generated:
I have run the code for regenerating and then also tried to restart the instance.
I have both these options set as true:
However, it still will not recognize the codeunit from VSCode.
Also: I redownloaded the symbols in VSCode again.
Any other suggestions? :-)
Thanks!0 -
Hi again @logger
You are a life saver. It seems you are indeed correct.
However, the first part did not work for me:
But the second part did:
I have no clue why but after I ran the second exemple it actually worked.
Amazing, I was getting so frustrated about this.
Thank you again!
Regards from Mattias
1
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