Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all 11285 articles
Browse latest View live

Forum Post: RE: Add field form table FA Journal Line to table FA Ledger Entry

$
0
0
And which version of NAV is this about? (Always write or tag this to your questions).

Forum Post: RE: Add field form table FA Journal Line to table FA Ledger Entry

$
0
0
Thanks you Erik. I using version NAV 2013. But I have successfully posted to the FA Ledger Entry with used to transfer from Journal to Ledger table.

Blog Post: Smart solutions using Machine Learning, Artificial Intelligence and Computer Vision API

$
0
0
Smart solutions 1: Artificial Intelligence and Machine Learning in Dynamics NAV Smart solutions 2: Programming Computer Vision in C/AL code

Blog Post: NAV2018 – Upgrade Issue with Sync-NAVTenant

$
0
0
Ok, so today I had another issue in my NAV 2018 upgrade that made my blood pressure go up. I kept getting a weird error in the Sync-NAVTenant PowerShell command. I was afraid that this would be a showstopper and I had to report the issue and wait for CU1 or CUx. What did I do… As in any upgrade I had opened the NAV2017 database in a NAV2018 C/Side, deleted everything but tables and imported my merged objects. Compile with Schema Sync Later and then you should be ready to apply the schema changes. First of all, be aware that this takes a while. It moves a lot of data around in this step. My database is 150GB and it ran for about half an hour. We have relatively good HP Lefthand SAN boxes. This is the error that I kept getting Sync-NAVTenant : The following SQL error was unexpected: Incorrect syntax near 'Unit'. At line:1 char:1 And this is the SQL Statement that gave the error. I found it in the Windows Event Log DECLARE @StatisticsToDrop NVARCHAR(MAX); SELECT @StatisticsToDrop = COALESCE(@StatisticsToDrop +', ', '') + '[Clean Company$G_L Entry].'+ s.name FROM sys.stats AS s INNER JOIN sys.stats_columns AS sc ON (s.stats_id = sc.stats_id AND sc.object_id = s.object_id) INNER JOIN sys.all_columns AS c ON (c.column_id = sc.column_id AND c.object_id = s.object_id) WHERE s.object_id = OBJECT_ID('Clean Company$G_L Entry') AND (c.name = 'Business Unit Code' OR c.name = 'Gen_ Bus_ Posting Group' OR c.name = 'Gen_ Prod_ Posting Group' OR c.name = 'No_ Series' OR c.name = 'Tax Group Code' OR c.name = 'VAT Bus_ Posting Group' OR c.name = 'VAT Prod_ Posting Group' ) IF @@ROWCOUNT > 0 BEGIN SET @StatisticsToDrop = CONCAT('drop statistics ', @StatisticsToDrop) EXECUTE sp_executesql @StatisticsToDrop END The Solution… The message is indicating that it was trying to delete statistics which failed. So my idea was to do that before the upgrade myself, hoping that then NAV would skip it. And it did. The script is one that I stole from my good friend Jorg Stryk a long time ago. You can find it here but you should make a small change. This is the modified script. I hope this may help someone else running into this issue. set statistics io off set nocount off declare @id int , @name varchar ( 128 ), @statement nvarchar ( 1000 ) declare stat_cur cursor fast_forward for select [id] , [name] from sysindexes where ( indexproperty ( [id] , [name] , N’IsStatistics’ ) = 1 ) and ( isnull ( objectproperty ( [id] , N’IsUserTable’ ), 0 ) = 1 ) order by object_name ( [id] ) open stat_cur fetch next from stat_cur into @id , @name while @@fetch_status = 0 begin set @statement = ‘DROP STATISTICS [‘ + object_name ( @id ) + ‘].[‘ + @name + ‘]’ begin transaction print @statement exec sp_executesql @statement commit transaction fetch next from stat_cur into @id , @name end close stat_cur deallocate stat_cur

Forum Post: RE: Customer card on assist button

$
0
0
Ok, There are 2 ways you can handle this FIRST METHOD If you are accepting a value for New customer no. from user. Step 1 - On the Sales order page define a global variable NewCustomerNo Code 20. Add this new field to your page. You will create the customer card only if the NewcustomerNo is entered by the user. Step 2 - On the Assist Edit trigger of Bill-to customer no. add the below code and also define 2 local variable called Cust record Customer and CustRecOne Record Customer. If NewCustomerNo <> '' then begin cust.reset; cust.setrange("no.",Newcustomerno); if not cust.find('-') then begin custrecone.init; Custrecone."no." := newcustomerno; custrecone.insert; page.run(page::"Customer Card",custrecone); end; end else error('Customer %1 already exists.',Newcustomerno); SECOND METHOD If you are using No. series for Customer. On AssistEdit option of the Bill-to customer no. Declare a local variable Cust Record Customer cust.reset; cust.init; Cust."no." := ''; cust.insert(true); page.run(page::"Customer Card",cust);

Blog Post: I have feedback – what do I do?

$
0
0
There was a good topic the other day on twitter: “How and where do I report feedback about NAV”? No Twitter I shouldn’t be explaining this, but I will, because there was some confusion.. : Do what you want with Twitter or any Social Medium for that matter – but don’t expect Microsoft to pick up feedback from it. Social Media is unmanaged, can easily be missed, which just doesn’t work as an “issue reporting system”. But what can we use then? Well – thing is, there are different parameters to take into account, like: Who are you working for? Either you are a partner, customer or freelancer. What role do you have ? There are different persona’s, like developers, business decision makes, marketing people, order processors, … What feedback do you have ? Bugs, feature requests/suggestions, … So, it’s difficult for me to address all situations, but I’ll give you the info that I have … coming from a development manager at a partner, with a strong focus on the technical part of NAV :-). Github First of all, there are repositories on GitHub you can provide feedback to, as multiple teams are using this platform to share and gather feedback. We are mainly talking about technical issues (or feature requests) with specific topics (repos), obviously. Let me list the ones that I have been using and monitoring: Microsoft AL URL: https://github.com/microsoft/al You can collaborate on anything that has to do with the new AL Development Environment in VSCode (aka “Modern Dev”). NAV Docker URL: https://github.com/Microsoft/nav-docker This repository is there for the community to collaborate on all that has to do with the NAV Docker Images. NAVContainerHelper URL: https://github.com/Microsoft/navcontainerhelper The NAVContainerHelper is a module that makes it easier to work with the NAV Docker Images. If you use that, this is the place to file issues, of to collaborate and create pull requests or whatever.. . C/AL Open Library URL: https://github.com/Microsoft/cal-open-library A repository that has the purpase to build a C/AL library, based on community contributions. And it works, Erik Hougaard has proof ;-). Microsoft Partnersource When you are a partner, and you have an ASfP (Advanced Support for Partners) contract, you can file support requests on Partnersource. Even, when you don’t have this contract, you still might be able to do that (I don’t know – can’t test the fact that I don’t have access, since I have ;-)). Just : log into partnersource Click “Support” Click “New Technical Support Request” Fill in all details. It says “technical”, but you can file all kind of questions in this support-tool. A support engineer will be assigned to you, and off you go. Works great! MSCollaborate URL: https://developer.microsoft.com/en-us/dashboard/directory And then there is something new, that is called “Microsoft Collaborate”. Basically, this replaces “MS Connect” (and TAP), where we have been able to communicate (collaborate) with Microsoft on new releases, giving feedback, feature requests, and all that.  A very personal experience! So, MS Collaborate is there for early engagement with partners and customers. Everything that is given as feedback, is going straight into the backlog of the right people at the DEV Center for NAV at Microsoft. So, this is definitely a place you want to be. If you’re not able to sign in, it is just one mail away: Dyn365BEP@microsoft.com . That said, it is going to be the platform for the Ready! And Go! Program.  Here are the official descriptions: Ready! for Dynamics 365 “Tenerife” and NAV 2018 R2 An early engagement program which enables partners to develop and deliver Apps for Microsoft Dynamics 365 “Tenerife” early. It give partners: The latest builds on docker Readiness information; what’s new this month in the Dynamics 365 Finance and Operations service. A platform to collaborate with Microsoft engineering; You can provide feedback, requests base app events,… In CY18Q1: A list of resources which helps you validate your Dynamics 365 “Tenerife” readiness. If you want to be part of this program, contact the same mail address as mentioned above! Go! for Dynamics 365 “Tenerife” and NAV 2018 R2 An early engagement program which enables partners to onboard customers in the preview version of Dynamics 365 “Tenerife” or Dynamics NAV 2018 R2. The Go! Program for Dynamics 365 “Tenerife” is only applicable in the countries where the Dynamics 365 “Tenerife” service will launch. Nominations for Go! will opens up on January 2018. Yammer Yammer has been a tool that has been used throughout the past several years to gather feedback about upcoming versions – but more on a project-specific basis – a specific “epic” if you will. You can see this as an enrichment (or extension) of programs like the Ready-program mentioned above. So, join MS Collaborate first (where you will also find downloads, feedback, requests and notifications), and join specific conversations on Yammer if needed. Conferences And of course, there are the many conferences where MS engineers are always eager to get feedback and engage with you about the product. To name a few: Directions EMEA Directions US Directions ASIA NAVUG Summit NAVTechDays It’s a great setting, a great platform, to engage with the engineers. Conclusion To give feedback, it’s a matter of finding your way on how to give it most efficiently – on a platform it will have as much effect as possible. As said – that’s not Facebook, Twitter, Instagram, Pinterest of any other social media .. .  You might get lucky – but there is a big chance that it would get lost in the mass… What I tried to do here, is giving you some channels where you might get most success in getting done what you want Microsoft to get done .. . Just realize one thing – and I’m telling you from (quite a lot of) experience – Microsoft listens to your feedback, and is eager to get any sort of feedback from you! Not only from weirdo MVP’s like me, but from ALL of you .

Blog Post: The different AL Extensions versions for Visual Studio Code

$
0
0
A common question asked these days is why there are different versions of the AL Extensions for Visual Studio Code. With this post I try to explain what the differences are and what version you should choose when developing Extensions ... Read More »

Forum Post: RE: $ndo$srvproperty object is missing

$
0
0
The $ndo$srvproperty is used to store your NAV license file. You will not find it in master if you have selected "Per Database License" in the NAV "Per Database License" configuration. So I assume that you have moved the database from a server where this configuration was not used. I never had the error my self, but I assume that you will need to connect to your database using C/SIDE and upload your license.

Blog Post: Microsoft Dynamics Partner Roundup: Relationship Sales D365 win; UK MTO partnership; EDI for NAV 2018; Relationship marketing

$
0
0
In this week's Microsoft Dynamics Partner News Roundup: Park Place Technologies selects Microsoft Cloud to transform sales and customer engagement TRIMIT and Prodware UK announce partnership to help companies solve the issue of make to order and customized products using Microsoft Dynamics Certified EDI for Microsoft Dynamics NAV 2018 available from Data Masons Edgewater Fullscope announces partnership with Concep to offer path to build stronger high value relationships ...read more

Blog Post: From the Microsoft Dynamics NAV Blogs: Extensions 2.0; Account schedules; Web services connection refused; Batch name disappears

$
0
0
From this week's Microsoft Dynamics NAV blogs: Extensions 2.0 - Dynamics NAV 2018 Create financial reports on the fly - NAV account schedules Connection refused error on NAV when connecting to web services Batch name disappears after you customize the journal page Extensions 2.0 - Dynamics NAV 2018 On KSD Consultancy's Microsoft Dynamics Navision (Tips & Tricks) blog, Ashwini Tripathi provides a quick tutorial of using Extensions. Tripathi wrote ...read more

Forum Post: RE: $ndo$srvproperty object is missing

$
0
0
Hi Erik, Thank you very much for your reply. I used NAV development environment to upload my license and noticed this table was automatically created. Then after I created myself as a user, I could open NAV now. Thank you so much for your help!

Blog Post: SBS Group and Socius to merge into Velosio, a scaled-up Microsoft partner

$
0
0
Two of the biggest Microsoft Dynamics service providers in North America, Socius and SBS Group, announced today that they are coming together to form a new firm, Velosio . Characterized as a "strategic combination" by the executive team, Velosio will operate as a single business in 2018 with the full resources of both companies. The new company will maintain the two firms' reseller relationships with vendors beyond Microsoft like Sage and Netsuite. In the Microsoft channel ...read more

Blog Post: NAV2018 – Generate Your Symbols by “hand”

$
0
0
So, I got it working. I’ve converted our database to NAV2018 including data, merge and customizations and got extensions V2 in VS Code to work. We are going to run Hybrid, which means we will run most of our modifications in C/Side at go-live and then use the next months or maybe even years to move to extensions OR move some of our solutions to other platforms if NAV does not do what we need. My first two extensions… I currently have two extensions in our test database. The first one contains all our changes to the Microsoft pages. This means we can run C/Side without page modifications, which means we never, ever have to merge pages again. Need I remind to that we come from a plaform 10 years ago where merging the forms was the biggest thing preventing customers from upgrading!!! The table fields we added are merged in C/Side, because I need most of them in our vertical solution. Wherever this is not the case I will move them to an extension later on. To be able to do this you have to create your own symbols and this is a tidious task which is error prone. We don’t even have a license that covers all objects we have in C/Side. We have a license with application builder that does not allow us to use all Microsoft objects and our partner does not have all the add-ons in their license. Catch22. The Microsoft AL GitHub repository explains how to generate symbols from exported txt files . This was perfect for me. So far I had already spent many hours figuring this out. Its good that I have a nice boss. Intercompany… We have three NAV databases in three countries covering a huge amount of fiscal entities that all do intercompany invoicing. Partly done automatically by changecompany and partly done by hand. By hand because I waited to automate it because I knew the API was comming in NAV2018. I even had a change to collaborate with the team on the initial design in December last year. This is the second extension which is using the framework by Arend Jan Kauffmann with some changes by Gunnar Gestsson and me. I demonstrated this at NAVTechDays. This extension uses the new object types in AL to connect from one NAV 2018 database to the other. More on all of that in later blogs…

Forum Post: RE: Customer card on assist button

Blog Post: New Wizard in Report Builder for Dynamics NAV 2018

$
0
0
Trying to create a new report in Dynamics NAV 2018, I got an error opening the layout. Being lazy as I am, I just switched to Report Builder instead of installing the new Visual Studio 2017. Big was my surprise. The layout was changed and wizards have been added for Tables, Matrixes and Lists. The table wizard first lets you select the dataset, then the New Table Wizard appears: Then Clicking Next, giving this: Ending up with this: Does anybody remember the classic report designer???

Blog Post: Generating AL objects from JSON

$
0
0
As interacting with WebServices, especially JSON/REST based WebServices, becomes more and more important, it was very good to see that the new NAV dev environment made it quite easy to do exactly that a couple of releases ago. After reading AJ Kauffmann’s excellent blog post on that topic , I had the idea to auto-generate that code based on a JSON file, so that you no longer need to write a single line of code to get a working base structure. With release 2.3.0 of my VS Code extension this is now possible! For the following steps I assume that you already have an AL project in place. The hello world one, that you can get with command „AL: Go!“ works fine as well. The workflow after installing my extension is as follows: Hit Ctrl+Shift+P 1 and enter „ALR gen“. This will get you the command to call my generation task as VS Code supports partial search in the command palette 2 . Hit enter to start it It will now ask you for a URL where it can get the JSON file you want to use. Using a slightly different URL than in AJ’s post you could get the Github issues on NAV on Docker: https://api.github.com/repos/Microsoft/nav-docker/issues Tell it how you want to name the entity you work with in D365, in our example maybe „Issues“ Very quickly you should get three new files containing a Codeunit with the refresh logic, a Table to handle the data and a Page to display it. Save them to whatever naming convention works for you As you already have my extension installed, go to the Page you just created and hit Shitf+Alt+P. This will publish your project and run the Page. You should see an empty list page with an action to refresh the data. Click that action, wait a second and then you should see the data, in our example the NAV on Docker issues The whole process should look like this: If you run into problems or have ideas how to improve the extension, please let me know on Github . If you like the extension, rate it or even write a review. Thanks a lot to AJ Kauffmann for allowing me to build on his code! The post Generating AL objects from JSON appeared first on Axians Infoma .

Blog Post: NAVTechDays 2017: Final thoughts

$
0
0
As every year, I look very much forward to one particular conference: NAVTechDays . Not because I don’t like the other ones. But NAVTechDays is special. It’s one person that controls it – completely driven by the community, which makes it quite independent from Microsoft. An insane amount of people make the trip to Belgium, my home turf, and – all DEV related. So if this isn’t right up my alley, I don’t know what is :-). This year was the 7th edition. The 7th already! I must be getting old. I have been at all editions, and have been enjoying it from the very first one! And I know I fall into repetition .. Because I have been telling you for years: this conference rocks! And it mainly does because it’s so different: Pre Conference days with focussed full-day workshops 90 minute sessions deep dive sessions Great food Beer tasting Great setting: a movie theatre, which means: Very big screen Great seats Best speaker infrastructure I have ever experienced Cosy expo-area, with all tech-related sponsors Everything is recorded … This year was no different. All so good .. All so well organised … . And I feel I’m getting used to it ;-). I actually try not to, because as I said – it stands out of any normal conference .. and we need to keep realizing it and keep enjoying it! So – if you weren’t there – you missed out on something! What did I do? Well, I was honoured to be able to contribute to it. And quite a lot. First, I had two very enjoyable Pre-Conference days. And I made it hard on me, because I did 2 different topics. Event Based and SaaSified Software Architecture First day. 20 people, talking about the new DEV environment in VSCode – but not “just” leaning hem how to work with it, but also how to architect a decent, maintainable solution in it, and “saasifying” it for the users! PowerShell Blackbelt On second day, I did the “traditional” PowerShell day, which I tweaked a bit for handling the new stuff. Talking about ExtensionV1 (which was a lot of PowerShell) doesn’t make sense anymore. But there is still some PowerShell for Extensions V2, so I tried to handle that as well, on top of some general topics about PowerShell. Both these days had very good feedback – for which I would like to thank the attendees for. Do know that I really enjoyed it at least as much as you! Rock ‘n Roll with VSCode And last but not least, my conference session. This is for me the “main fight”. The one thing I prepare for quite a long time. This session took me three months to prepare .. as a lot of it was just very new to me. I created a VSCode Extension to basically know what it takes to create one, which I think is quite interesting for you to use or explore to figure out some basics of VSCode Extensions in combination with the al language. I’ll go into it in another blogpost. On top of that, I showed quite some already existing VSCode extensions that might be useful to you during your development days. I did all demos using just one app, which you can find online: https://github.com/waldo1001/MostUselessAppEver All is online As mentioned above, one of the very differencing things about NAVTechDays is the fact that everything is recorded .. and online just a few days after the conference! You can download everything from MiBuSo . Here is the direct link to the powerpoint decks, and the session recordings: https://mibuso.com/downloads/category/navtechdays2017 On top of that, all recordings are also available on youtube here . And yes, my session is on there as well Evaluations Yesterday, I received the evaluations. It made me proud. I know it’s not a “vote”, nor a competition. It’s just evaluation of the sessions .. but nevertheless, I always compare :-). And apparently, my session was quite well received. Even more – it got the best evaluations from all sessions. That gave me “5 seconds to wow” feeling :-). It’s an honour to do a session on the best conference in front of the best community in the world. And it’s the best satisfaction to get if the session was well received :-). Thank you for that! Worth to mention is that Vjeko got the best evaluation as “speaker”. Totally no surprise to me :-). I’m just very proud to be on his heels as second best one :-). Congrats, bro! Some impressions All that is left for me is sharing some pictures. And I realised that I didn’t take too many pictures this time. A big thanks from Luc. No, Luc, thank YOU! Luc during the keynote, showing off with feedback about the pre-conference day This is how Vjeko’s session looks like from the outside – virtually everyone wanted to be part of it Some pics of my session: You don’t want to know what I was doing here… Natalie and Gary being cool For more impressions, please visit: https://www.navtechdays.com/2017/impressions/navtechdays_2017_impressions See you next year at NAVTechDays!

Forum Post: RE: upgradation from Nav 2009 to Nav 2013

$
0
0
Use the Following table to import. OBJECT Table 90 BOM Component { OBJECT-PROPERTIES { Date=02/04/16; Time=[ 1:27:10 PM]; Modified=Yes; Version List=NAVW16.00; } PROPERTIES { CaptionML=[ENU=BOM Component]; } FIELDS { { 2 ; ;Allow Posting From ;Date ;CaptionML=[ENU=Allow Posting From] } { 3 ; ;Allow Posting To ;Date ;CaptionML=[ENU=Allow Posting To] } } }

Forum Post: RE: PO Lines & GL Entries

$
0
0
Why not to simply add a Cost Centres as dimension? This is what Dimensions are for.

Forum Post: RE: upgradation from Nav 2009 to Nav 2013

$
0
0
Hi Nagaraju, please import fob of table_90 in your database.
Viewing all 11285 articles
Browse latest View live