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

Forum Post: RE: Getting Incorrect time in date-time field of Nav16 by SQL Query

$
0
0
Hi, Yes, this is due to the timezone on the database server and regional settings on NAV server.

Forum Post: RE: New webservice insert Permission issue for 55000 range in Dynamics 365 BC

$
0
0
Hi, are you sure that ID of the object is in the license? I had a case where I was 100% sure the object IDs from 50000 to 99999 are all in the license, and I was wrong, where I got a license of enduser with permissions to object IDs starting from 50000..50200 and then from 50500..50900...

Forum Post: Account Schedule Weekly Column Layout

$
0
0
I have a client that is requesting weekly column layouts to be built in BC. I have researched this and haven't been able to find how to do this. Is it possible to create a weekly column layout, if so, what formulas do I need to use in the column layout screen to get this to work? Thanks!

Blog Post: NAV TechDays 2019: {ConnectApp}² demos

$
0
0
This year’s NAV TechDays was again an amazing event. More than 1400 participants, 18 sessions, great content, it again surpassed the records set last year. It was an honor and a pleasure to be able to speak again. This blog post is not about the conference – I am not a news reported This is merely about demos that Waldo and I delivered on November 22, during our session named {ConnectApp}². There were two React Native demos, and I have now published their source code on GitHub: The “Killer App” is available here: https://github.com/vjekob/ntd_killer_demo/ The “Main Demo” (I won’t use the name here due to possible copyright issues with the application that we used as kind of the “template”) is available here: https://github.com/vjekob/ntdapp These demos are provided as-is, and I won’t be blogging about their content in detail – they are just two React Native apps that don’t showcase much by themselves. The “Main Demo” app does – however – contain some examples of how to call Business Central APIs (which was the topic of our session). Over the course of the next days, I will publish the demos from my “Control Add-ins Supercharged” session as well, so stay tuned. Read this post at its original location at http://vjeko.com/nav-techdays-2019-connectapp%c2%b2-demos/ , or visit the original blog at http://vjeko.com . 5e33c5f6cb90c441bd1f23d5b9eeca34 The post NAV TechDays 2019: {ConnectApp}² demos appeared first on Vjeko.com .

Blog Post: Codeunit Interfaces – this time for real!

$
0
0
There is a particular programming language feature that I’ve always missed in AL (and C/AL for that matter): interfaces. I’ve dreamt about it , then blogged about it , then finally created a feature request in Microsoft’s AL GitHub repository . My GitHub feature request caught quite some traction and became the most upvoted feature request in less than a day. Now, I don’t know if or to what extent it was my submission that influenced Microsoft, but it doesn’t really matter – what matters is that it’s becoming reality. Last week at NAV TechDays, Microsoft has presented an amazing new feature that will be coming to AL pretty soon: interface object type. And it’s official, or at least as official as Microsoft’s keynote is, and you can check Microsoft’s demo yourself at https://youtu.be/pl0LAvep6WE?t=4646 The feature is far more comprehensive than anyone could have hoped for, and it can be used for codeunits and enums, and in the future maybe even for a few more things. Who knows, or dares to dream. I dared, and I am pretty happy I did Read this post at its original location at http://vjeko.com/codeunit-interfaces-this-time-for-real/ , or visit the original blog at http://vjeko.com . 5e33c5f6cb90c441bd1f23d5b9eeca34 The post Codeunit Interfaces – this time for real! appeared first on Vjeko.com .

Blog Post: Control Add-ins Supercharged – Kicking off

$
0
0
Control add-ins have always been my passion. Not only because I’ve been working with JavaScript since 1996, and I could call it my mother tongue, but because I just love how they allow us to create amazing user interfaces. Business Central has made huge progress in terms of usability of the web client, however it’s still not the most user friendly thing out there, and performing some tasks may be tedious. Control add-ins help because they allow us to develop custom user interface over standard data and processes. However, when building control add-ins, it’s not only about what we build, but also about how we build it. That was the central tenet of my NAV TechDays 2019 session named “Control Add-in Development Supercharged”, in which I wanted to show how control add-in development can be indistinguishable from modern web front end development. Because that’s exactly what it is – web front end development. For my session I’ve prepared total of 36 demos. However, I realized just before the session that I won’t be able to deliver all of them, while also delivering all the theory I wanted to present. So I decided to post all of the demo source code for all 36 demos. However, this year I wanted to take a step further: I wanted to not only deliver the code as-is without any explanations, I actually wanted to explain all of it. And this is what this blog series will be about – how to supercharge the control add-in development and make it as modern as it can possibly get. All with code examples and explanations. In the end, you’ll get a nice tutorial of modern control add-in development, that I hope will help you build your skills and take your control add-in development to the next level. All code examples and explanations will be in in GitHub, and the first example is already there. So, head to https://github.com/vjekob/supercharged_01 and check out the first example. I won’t be posting code explanations here on my blog, I’ll merely be posting about the latest contribution to my GitHub repositories, and will add a line or two to explain what a particular repo or branch are about. So, today: repository supercharged_01 , branch master . This branch introduces the “Simpler” control add-in and sets the stage for all further demos. It contains a very simple AL extension that contains a control add-in. The control add-in does not provide a feature-complete functionality, but merely showcases how it could be possible to simplify an otherwise less user-friend process. Keep in mind that the control add-in itself does not matter. What matters is its structure and how it was created. In this branch, the control add-in is done in a “naive” way, how a typical AL developer without much experience in JavaScript or web development would develop it. Stay tuned for (far) more content over the following days and weeks – it takes time to explain 36 demos in detail. Read this post at its original location at http://vjeko.com/control-add-ins-supercharged-kicking-off/ , or visit the original blog at http://vjeko.com . 5e33c5f6cb90c441bd1f23d5b9eeca34 The post Control Add-ins Supercharged – Kicking off appeared first on Vjeko.com .

Forum Post: RE: SMTP in BC365 Saas

$
0
0
Seems an issue with the trial version....

Forum Post: Set new field to be used for quantity to ship and quantity to invoice not use the order qty

$
0
0
Hi am using business central,I have created a new field executed qty in sales line i want this qty to be used for shipment and invoice not the standard order quantity . How can change to use my new field than use the standard quantity in navision

Forum Post: RE: Set new field to be used for quantity to ship and quantity to invoice not use the order qty

$
0
0
Try Like Below in sales line table, it will assign the value user entering in "Executed Qty" field to "Qty to Ship"

Forum Post: RE: Set new field to be used for quantity to ship and quantity to invoice not use the order qty

$
0
0
hi sorry am still using cside development not AL for now help me with code in c/al

Forum Post: RE: Not secure (http:ms-dynamics/DynamicsNAV110) with dynamics NAV 2018

$
0
0
I installed NAV 2018 web Client, with the follow screenshot below After I restarted the system there is no web client under the program file - Microsoft Dynamics NAV- NAV110. But i have installed NAV 2017 with its web client but install NAV 2018. What can I do to have NAV 2018 web client installed?

Forum Post: Passing record id to Report

$
0
0
Hi Everyone, I've added a new Action to a page that allows me to print a Custom Report I have created. action("Gold Sheet") { RunObject = report "Gold Sheet"; Image = AgreementQuote; ToolTip = 'Print Gold Sheet'; } I'm looking for information as to how I pass the record id that I am currently in to the report. The Page is a card page so only 1 id exists. Thanks for the help Yann

Blog Post: Control Add-ins Supercharged – Separating concerns

$
0
0
If you know me, you know that I am obsessed with separation of concerns . It’s the core principle of good design, and good design is what I am always striving for. The original Control Add-ins Supercharged example showcased how most of non-web developers (a category into which most of AL developers squarely fall) would develop a control add-in: just stuff everything into a single script, and all is fine. But it isn’t fine, if for nothing else, then because it can be done much better. My next example is showing how you might attempt to solve the separation of concerns issue. The first step you may take is splitting the single script file into multiple files. For example, you may separate UI logic from state management logic, from AL-to-JavaScript interface logic. However, the example I am presenting today is yet an example of a good solution. It’s in fact a yet another “don’t do it this way” example. There are a few more wrong steps I want to intentionally take before I start solving problems for real, one by one. The primary issue that my second repo ( branch 01-split-js ) addresses is that it separates front-end concerns as much as reasonably possible. However, as you will see in the repo description, once you attempt to separate logic into multiple JavaScript files, the separation of concerns isn’t really achieved, and there are a few files where you still have a mish-mash of UI, data, state, events, precisely those things that shouldn’t go together. The problem is, whatever way you attempt to solve it, you soon realize that the solution is just not good enough. As long as you are attempting to generate and maintain your UI using pure DOM, it will be impossible to achieve any decent level of separation of concerns. So, head over to https://github.com/vjekob/supercharged_01/tree/01-split-js and check out the repo description (and content) and see for yourself why this approach is better than the previous one, but still far from good. See you soon with the next example. Read this post at its original location at http://vjeko.com/control-add-ins-supercharged-separating-concerns/ , or visit the original blog at http://vjeko.com . 5e33c5f6cb90c441bd1f23d5b9eeca34 The post Control Add-ins Supercharged – Separating concerns appeared first on Vjeko.com .

Blog Post: NAV TechDays 2019 Goodies

$
0
0
NAV TechDays is simply the best NAV / Business Central conference there is. I can miss Directions, I can miss other events, but NAV TechDays – no way. There are few events which can match that energy, that community spirit, that enthusiasm, that top-notch deep-dive content. No, there are not few that can match it; there are none that can. And then when you consider that they manage to attract ever more people to it, all that while publishing all conference content less than a week after conference is over – it just proves to you that the value of NAV TechDays is not in its content or its sessions. Being a part of NAV TechDays has always been an honor, and a pride, and a privilege. No matter if you were there last week or not, you’ll want to access the conference materials, so here are the links: YouTube channel with all the conference sessions (as of today, Day 1 sessions are published, Day 2 coming soon): https://www.youtube.com/mibuso_com Flickr account with all the photos: https://www.flickr.com/photos/navtechdays/ … or a direct link to this year’s album: https://www.flickr.com/photos/navtechdays/albums/72157711949465092 Mibuso download section with all presentation slide decks: https://mibuso.com/downloads/presentations-of-nav-techdays-2019 Since this is my blog, I’ll also link directly to my Day 1 session about control add-ins development: https://www.youtube.com/watch?v=_IjppPvkmgE I’ll post the direct link to Waldo’s and mine Day 2 session about APIs as soon as it is available. Enjoy the content – and see you again next year in Antwerp! Read this post at its original location at http://vjeko.com/nav-techdays-2019-goodies/ , or visit the original blog at http://vjeko.com . 5e33c5f6cb90c441bd1f23d5b9eeca34 The post NAV TechDays 2019 Goodies appeared first on Vjeko.com .

Forum Post: Error in Export to excel code - Dynamics Nav 365BC wave 2

$
0
0
Hi Folks - I have a processing only report with below 2 dataitems and on Makdatabody its saying that Sales shipment line does not exist. Can anyone please let me know how can I refer a field in 365. I migrated this report from NAV 2017. Any help is highly appreciated. Sales shipment header Sales shipment line procedure MakeDataBody(); begin ExcelBuf . NewRow; IF i = 1 THEN BEGIN ExcelBuf . AddColumn ( "sales shipment line" . "Document No.", FALSE, '' , TRUE, FALSE, FALSE, '' , ExcelBuf . "Cell Type":: Text) ; ExcelBuf . AddColumn ( "Sales Shipment Line" . "Document Date", FALSE, '' , FALSE, FALSE, FALSE, '' , ExcelBuf . "Cell Type":: Date) ; END ELSE BEGIN ExcelBuf . AddColumn ( '' , FALSE, '' , FALSE, FALSE, FALSE, '' , ExcelBuf . "Cell Type":: Text) ; ExcelBuf . AddColumn ( '' , FALSE, '' , FALSE, FALSE, FALSE, '' , ExcelBuf . "Cell Type":: Text) ; END ; ExcelBuf . AddColumn ( "sales shipment header" . "Shipment Method Code", FALSE, '' , FALSE, FALSE, FALSE, '' , ExcelBuf . "Cell Type":: Text) ; ExcelBuf . AddColumn ( "Sales Shipment Line" . "Order No.", FALSE, '' , TRUE, FALSE, FALSE, '[RED]' , ExcelBuf . "Cell Type"::Number ) ; ExcelBuf . AddColumn ( FORMAT ( "Sales Shipment Line" .Type) , FALSE, '' , FALSE, FALSE, FALSE, '' , ExcelBuf . "Cell Type":: Text) ; ExcelBuf . AddColumn ( "Sales Shipment Line" . "No.", FALSE, '' , FALSE, FALSE, FALSE, '' , ExcelBuf . "Cell Type":: Text) ; ExcelBuf . AddColumn ( "Sales Shipment Line" . Description, FALSE, '' , FALSE, FALSE, FALSE, '' , ExcelBuf . "Cell Type":: Text) ; ExcelBuf . AddColumn ( "Sales Shipment Line" . "Shortcut Dimension 2 Code", FALSE, '' , FALSE, FALSE, FALSE, '' , ExcelBuf . "Cell Type":: Text) ; ExcelBuf . AddColumn ( "Sales Shipment Header" . "Location Code", FALSE, '' , FALSE, FALSE, FALSE, '' , ExcelBuf . "Cell Type":: Text) ; ExcelBuf . AddColumn ( "Sales Shipment Line" . Quantity, FALSE, '' , FALSE, FALSE, FALSE, '#,##0' , ExcelBuf . "Cell Type"::Number ) ; ' ERROR The name '"Shortcut Dimension 2 Code"' does not exist in the current context The name '"sales shipment line"' does not exist in the current context The name '"sales shipment header"' does not exist in the current context

Blog Post: Control Add-ins Supercharged – Frameworks

$
0
0
In the last example I put online, we’ve noticed that it was difficult to achieve a good separation of concerns in the front end if we are building UI directly through DOM . Apart from the fact that it’s very inefficient, manipulating DOM directly makes it very difficult to structure your front-end logic. You quickly realize you need a framework for that. And here I come to a big fat point I want to make once again, that I made in my session, too: don’t build a new framework; pick one off the shelf. The thing is, in the JavaScript world there are ridiculously many frameworks. This article on Hackernoon is an introduction into this total insanity: https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f . There are memes, jokes, comics, websites, even Alexa skills that address the fact that people keep creating new JavaScript frameworks all the time. Guess what? A tiny fraction of them generate any traction at all, and only a few stick. And don’t get me wrong – I am totally for improving things; “the room for improvement is the largest room in the world” they say. But I am not quite convinced that building a yet another framework will benefit the posterity all that much. If you want to improve on what we have, most of the leading frameworks are open-source, contribute away. As with previous (and future) posts in this series, there is a GitHub repo + branch that accompanies this blog post, and you can find it here: https://github.com/vjekob/supercharged_01/tree/02-framework (The featured image used under CC license from https://worldpece.org/content/how-standards-proliferate ) Read this post at its original location at http://vjeko.com/control-add-ins-supercharged-frameworks/ , or visit the original blog at http://vjeko.com . 5e33c5f6cb90c441bd1f23d5b9eeca34 The post Control Add-ins Supercharged – Frameworks appeared first on Vjeko.com .

Forum Post: Data pull from NAV BC: Product configurator using Jet Reports

$
0
0
Hey there! I need to pull our data from the product configurator add-in, so that I can generate a report. We use the configurator to note what kind of sub-products is needed in order to produce our end-product. But, as of now it's only possible (for me at least) to pull the end-product number, and not the numbers behind it. As I cant get into the cells in the configurator.. (Using Jet Reports) My question: Can I somehow get the values out, without having to code? Help!

Forum Post: RE: Not secure (http:ms-dynamics/DynamicsNAV110) with dynamics NAV 2018

$
0
0
You are not telling everything that is needed - So how is your setup? One NAV 2017 and One NAV 2018 on the server? (nothing is needed to install on the clients.) The two webclients on the server is installed? Your "only problem" is that it is not secure? Do you have a SSL-certificate? - which is required to when a secure connection is needed? Is the certificate installed as trusted Root Certificate on the server? What is the DSNAME on the certificate? Do you get the NOT SECURE warning both on the inside and outside of the network on the clientside? /NAVspecialist

Forum Post: RE: Not secure (http:ms-dynamics/DynamicsNAV110) with dynamics NAV 2018

$
0
0
My first question was on not secure on the client side which DamJanZa gave beautiful advice on live/ production that I should purchase SSL, I generated self-certificate and my second question is I have installed NAV 2017 with client and web client installed but now I installed NAV 2018, it was only the client installed and I also installed separately web client but it does not installed. Thanks.

Forum Post: RE: Not secure (http:ms-dynamics/DynamicsNAV110) with dynamics NAV 2018

$
0
0
As I am not sure on how your NAV 2017 was installed and how you did the NAV 2018 installation - Then my first guess would be that you have probably overwritten the NAV 2017 webclient installation with the NAV 2018 webclient. You have to see if you have two folders ind C:\inetpub\wwwroot\ - if not it has been overwritten Secondly you have to look into your config-file (web.config) You must have a line with ” />
Viewing all 11285 articles
Browse latest View live