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

Forum Post: RE: Translation of global variable datatype=Option

$
0
0
I think you need to add 1 more line (like OptionString): field(1; OptionField; option) { OptionMembers = "Option with ", "spaces and ", "other symbols!"; }

Forum Post: RE: how to restrict sales order from being view/edit when it is open with some other user

$
0
0
Do you remember about standard functionality? E.g. the very fast, but "hard" way is Responsibility centers . But to do it better you need to do a small modification. The extremely big problem is the " specific record locks for almost 8+ hours " and you need to check this point first

Forum Post: RE: INVOICE DOCUMENT DOESN'T APPEAR WHEN I HAVE POSTED THE WAREHOUSE RECEIPT

$
0
0
You need to check the functionality because Invoice does not allow us to use the separate ship|invoice action.

Blog Post: End of Mainstream support for Microsoft Dynamics NAV 2015

$
0
0
January 14, 2020 marks the end of mainstream support for Microsoft dynamics NAV 2015. We will not get any new regulatory features or hotfixes for this version anymore. Please note the date, April 13, 2021 will be end of mainstream support for Dynamics NAV 2016. Please migrate your NAV versions to D365 Business Central. Please contact me if you have any questions on migration and/or training required on D365 BC at pmohanakishna@hotmail.com

Blog Post: Microsoft Ignite The Tour – Milan

$
0
0
Microsoft Ignite The Tour  brings the very best of  Microsoft Ignite  to a city near you. The tour provides technical training led by Microsoft experts and your community. You’ll learn new ways to build solutions, migrate and manage infrastructure, and connect with local industry leaders and peers. This big Microsoft conference is coming to Milan on January 27–28, 2020 at Milano Convention Centre. This year at Microsoft Ignite The Tour – Milan I have the honour to present the following session, where we’ll see ways to debug, monitor and interact with a production application deployed on Azure with minimal impact and maximal efficiency: I will also be present in the two conference days at Ask The Expert booth for talking about Dynamics 365 Business Central and Azure. Hoping to see you at the conference…

Forum Post: Requisition Worksheet

$
0
0
Hi all I have a question maybe you can help with. Say we have a widget that is LOT for LOT and has no safety stock with no re-order point. We have 2 on PO and only one is received. We have a component demand for one and whats happening is when we run requisition worksheet it doesn't see that there is one still on purchase order and tells us to buy again. How can we make this stop? Joe

Blog Post: Executing your .exe tasks on a Cloud environment by using Azure Functions

$
0
0
I think that many of you on your Dynamics NAV or Dynamics 365 Business Central projects have tasks executed by using console applications (.exe) scheduled by using Windows Task Scheduler or other systems. This works good for on-premise environments (just take your .exe application, create a new schedule with Windows Task Scheduler and you’re ready to go), but what about using these .exe applications on a SaaS environment? If you want to periodically execute your custom .exe tasks on a Cloud environment, using an Azure Virtual machine for this scope is a possible option but (as you can imagine) it’s not the best and the cheapest option available: in this way, you pay for the VM always and it’s not the best option to spin up an Azure VM only for hosting console applications and triggering them by using Windows Scheduler. How to that in a more efficient way? By using Azure Functions , you can run your .exe applications in the cloud and only pay for the resources they consume when the workload is running (maybe few seconds, first million executions for month are free), without creating and maintaining environments (like Azure VMs) and (most important) without changing nothing on your .exe code. And you can do that in few minutes just with drag & drop. Let’s see how to do that. As a first step, we create a new Function app via the Azure Portal by selecting Powershell Core as Runtime stack : In the Hosting tab, select Plan type = Consumption (you pay only when the function is running) and then click Create to deploy your Function app: When the Function app is created, you can see the new istance in the Function App panel on your Azure subscription. The istance is empty and we need to create a new Azure Function. We can do that manually by using the KUDU Console (link available under Platform features|Development Tools|Advanced Tools (KUDU) or by directing appending .scm to the function url): If you select CMD and you navigate into the D:\home\site\wwwroot folder, you can see that the Function app is empty (only host.json is present): Here we need to create a new Azure Function. An Azure Function is simply composed by a folder (named as your Function) that contains a function.json file and your function code. So, just create a new folder (here called AzureFunctionConsoleApp ) and inside this folder we have to place 3 files (drag & drop from your local machine): AzureFunctionConsoleApp.exe : it’s your .exe file that you want to run in the cloud Function.json : it’s the function definition (bindings) run.ps1 : Powershell script that is automatically executed when your Azure Function runs The function.json file is defined as follows: { "bindings": [ { "name": "Timer", "type": "timerTrigger", "direction": "in", "schedule": "*/60 * * * * *" } ], "disabled": false } We have defined a TimerTrigger Azure Function that runs every minute. The run.ps1 Powershell file is defined as follows: param($Timer, $TriggerMetadata) Write-Output "Executing AzureFunctionConsoleApp.exe at: $(get-date)" Set-Location "D:\home\site\wwwroot\AzureFunctionConsoleApp" .\AzureFunctionConsoleApp.exe The script reads the input parameter binding (this is a need to avoid an error like “ No parameter defined in the script or function for the input binding XXX “) and then executes the AzureFunctionConsoleApp.exe file. When these two files are deployed, the function is immediately executed on your Azure environment and your .exe application is started. You can also use the Azure Function Application settings in order to declare variable parameters that you need to use (or pass) to your .exe application (here for example I’ve declared a parameter called D365BCEndpoint ): This is quite useful when you need to manage parameters that could change in the future because you can directly change them via the Azure Portal easily: In your .exe application, you can direclty read these Application settings parameters. In my AzureFunctionConsoleApp.exe application for example I read the previously declared parameter with: Console.WriteLine($"Connection to D365BC URL {Environment.GetEnvironmentVariable("D365BCEndpoint")}!"); In this way, your .exe file is executed in the cloud and you can monitor it with the standard Azure Function log: or (better) with Application Insights (that permits you to have a Live Metric Stream for real-time monitoring): This is a quite easy and quick way to execute .exe applications in the cloud and pay only for the time they’re running. If you have this need, I suggest you to give it a try.

Forum Post: APPLY ENTRIES IN CUSTOMER LEDGER ENTRIES

$
0
0
Hi we have both nav 2015 and business central running parralel before we go life. We recieve payements in BC and export them to 2015 to knock off the invoices and credit notes and jvs now we want to go life with BC we want to bring all the knocked off invoices and payments to BC from 2015 since its bulk doing one by one is hectic can someone advice how to bring the knocked data with payments to bc we have exported the invoices.. The challange is on applying entries in customer ledger entries

Forum Post: RE: APPLY ENTRIES IN CUSTOMER LEDGER ENTRIES

$
0
0
Hi, You have multiple options. 1. API - this is the best way, if you know how to develop an API 2. Web Services - you can use also web services, it is pretty simple to create one in NAV2015, you just have to check the field mapping and tables (are not the same in NAV2015 compared to BC, fields are definitely changed - new ones exists in BC). 3. Sales Journals - Go to Sales journal page in BC and create few lines and import those lines into Excel. This will be your template for importing data from NAV2015. Use General journal and batch as data mapping guide. - setup for chart of accounts have to be identical and GL Setup and also items, locations, etc. I guess you have the same setup in BC and NAV2015. For Sales Invoices, import them by headers and sales lines into respective cards Sales Invoice Card Page and Sales Invoice SubForm Page. As first, you can import data in Staging BC and then check if everything is correct and then into your live DB. Thank you BR Damjan

Forum Post: RE: Filtering page API

$
0
0
Hi, can you be more specific, please. What filter are you trying to locate? Perhaps you can try something like this: IF "Item Category Code"<>XXX THEN //different form the category code that you don't want to send SETFILTER("Product Group Code",'<>%1&<>%2&<>%3','00','100','99'); //this can also be removed then or not, depends on your action Transferfields.XXX -> I guess you want to copy data of a record Thank you

Forum Post: RE: APPLY ENTRIES IN CUSTOMER LEDGER ENTRIES

$
0
0
The answer to how to bring over those payments depends. How much detail do you want to bring over? If you want to bring over the customer and vendor level you can do this by using the sales and purchase journals. If you want to bring over the item level detail, or in other words all the sales lines within the invoices then you will need to use Smartconnect or a configuration package. We have used Smartconnect to bring in that level of historical data in bulk. They have templates to bring in the data for sales invoices that work well. You just have to make sure that you get the mapping correct but that is not that hard to do. To use a configuration package with the sales header and sales line tables. We have done both during implementations and find that Smartconnect is easier to create and use but it does cost a few hundred dollars a month for the software. Luckily the cost of Smartconnect is month to month so you can cancel the subscription once you are done migrating historical data. To apply the data the best thing to do is to change the customer settings to make payments apply to oldest automatically. I understand that this may not apply things exactly correct but it will get you 80% of the way there and your Aging report amounts will tie. From there you may have a few items on your aging report that have payments misapplied. From there you can unapply those few payments and reapply them to the correct places so your AR Report prepared to go live the quickest. In one of our implementations we did not do this and were required to pay someone to make a application extension that auto applied the posted entries the only issue is that the only way they could do that was to apply it to the oldest payment which we could have done upfront by changing the setting To change this setting go to the customer card > Payment Section> Show More> Application Method >Change from manual to apply to oldest.

Blog Post: VSCode & Snippets

$
0
0
I did a poll recently during one of my sessions – and I was surprised that about half of the people don’t regularly use “snippets” in VSCode.. . Well, some of you probably know that I’m a big fan of snippets. Whoever has joined one of my sessions of the last couple of years where I was talking about VSCode, or was working with VSCode .. most probably, I was talking about, showing or using snippets. Honestly, I can’t live my life in VSCode without snippets. It would be so much less efficient .. . VSCode wouldn’t be much more than a notepad that is hooked up with Source Control in that case. Back in 2017, I even spent quite some time in my session on NAVTechDays about snippets. I’ll share the session at the end of this post… How to manually create snippets? I would be able to explain you how to manually create snippets – but I won’t. Because it is actually already beautifully explained on the documentation section of VSCode here: https://code.visualstudio.com/docs/editor/userdefinedsnippets Basically, user defined snippets …: … is a json-file somewhere on your roaming profile … have a specific syntax, which makes you give a description, a prefix, a body, … and for defining placeholders, including multi-cursor placeholders … can use variables, like the filename, date or your clipboard, which make it possible to create very “generic” snippets. … All you need to know is on the page mentioned above, and you’ll get going with snippets in no time, I promise you! My snippets There is more :-). I have been creating lots of snippets in my extension . I admit, I copied Microsoft’s snippets and improved them – but I also have created lots of new snippets. Ones that I use a lot in terms of “design patterns”, but also for implementing code that I’m not used to, and don’t want to forget (like the assisted setup). If you install my “CRS AL Language Extension”, you’ll recognise my snippets with “waldo” in the suffix: And yes, if you don’t want to work with my snippets, you can disable them by a simple setting: "CRS.DisableCRSSnippets": true (if you might wonder, you can disable Microsoft’s snippets as well ;-)). Tools that can help you to create snippets I recently was pointed to this tool: https://snippet-generator.app/ . When you are creating your VSCode snippets, simply paste the text that you want to convert to a snippet to this tool, and you immediately get it converted to a JSON representation for a VSCode snippet. I tremendously speeds up the creating of a snippets from minutes to seconds ;-). On the other hand, there is another tool that you can install in VSCode: the snippet-creator . It basically gives you a command that will convert your selected text into a user-snippet of the language of your choice: Whatever you prefer – both work very nice :-). Some questions I get a lot Where are snippets stored? The user-defined snippets that you create,  are stored here: %USERPROFILE%\AppData\Roaming\Code\User\snippets . The snippets that come from an extension, are stored here: %USERPROFILE%\.vscode\extensions\ \snippets Can I disable snippets? Well, no. You can’t in any decent way (that I know of) disable snippets. I know I was talking about a setting in my extension, and yes, that’s a way, but it’s not a decent way ;-). In fact, what I do in that extension, is simply rename the “snippets” folder to “snippets-disabled”. That way, the extension is not able to find the snippets, and won’t show them anymore. The downside of this is that it will give errors in the background because it’s not able to find the snippets anymore, like: It’s not really noticeable, but they are there… . Can I change snippets? Well, no again. To be fair: you CAN change a snippet in the extension folder, but do know that when the extension is updated, it basically is going to overwrite the snippets … and you lost your modification. So in my opinion, that’s not an option. That was it! Hope you’re into snippets and this blogpost was completely useless. If not, at least I hope this got you triggered a bit ;-)! The only thing left for me is to share the NAVTechDays session I was talking about earlier:

Forum Post: How to extracts monthly or yearly consumption reports (Microsoft Dynamics Navision)

$
0
0
Hello users, I am using Microsoft Dynamics Navision and I want to know how someone can extract report for monthly and yearly consumption for a raw material. Thanks a lot for your help.

Comment on How to become a great Microsoft Dynamics NAV developer: Tables and other objects

$
0
0
Thank you, Erik P. Ernst. This was a truly thought-provoking read. I have just exactly started my career as a Microsoft Dynamics NAV developer at a marketing and advertising agency , so this piece of writing was something I definitely required to read.

Forum Post: RE: How to extracts monthly or yearly consumption reports (Microsoft Dynamics Navision)

$
0
0
Hi Nasar, The simplest answer to your question is this: open item ledger entries, apply filters on the item no., entry type, and posting date, and send the resulting dataset to Excel. But actual solution will depend on many things: which version of NAV you are using, how many entries are posted per month/year, what sort of data you want to see in the report. May happen that you need a custom report, or simple item availability per period will be sufficient for you. Or maybe you can set up the item turnover report. All depends on your expectations.

Forum Post: RE: How to extracts monthly or yearly consumption reports (Microsoft Dynamics Navision)

$
0
0
Thanks a lot Alexander, Actually I want to withdraw reports where I can analyse the average purchase material for a particular product over the years so that I can have idea what is the avg monthly and yearly purchase volume. It will help me to get the idea about the purchase material in the past so that I can make a better forecast. I am using Microsoft Dynamics Navision 2018. Thanks a lot again

Forum Post: RE: How to extracts monthly or yearly consumption reports (Microsoft Dynamics Navision)

$
0
0
You have not to answer how do you use the consumption (production) part - Assembling or Production and how many records do you have here. And Alexander wrote correctly, the source table is ILE. To be honest, this task for BI solution (because it is a huge quantity of lines) and it is not good to use NAV for such cases. Another case - to full requisition worksheet for it. But again, it is better to create "a connector" for it.

Comment on How to become a great Microsoft Dynamics NAV developer: Tables and other objects

$
0
0
Very informative and well-written post! The quite interesting and nice topic chosen for the post. LiveWebTutors is here to offer excellent Assignment Help writing services to UK students as well as all over the world. Students who struggle to craft great assignments get in touch with us. They may receive the very best assistance from our side. Livewebtutors provide the best assignment help service online for students to score A+ Grades. You can email us at cs@livewebtutors.com or Phone Number: +44-20-8144-9988.

Forum Post: How to Fix Epson Printer Error Code 031008??

$
0
0
Hello, Everyone , I brought few months ago a Epson Printer, due the so many unique features associated with Epson Printer, such as high-speed printing, both images and texts, it has a wide range of lasers, inkjets and colours. Epson Printers offer stunning wireless printing facilities. Yes, there is issue occurs for the some reason I don't know what excatly it is, but it shows me an Epson Printer Error 031008 or Epson Printer not printing correctly. Please Help Me on Behalf of this!

Forum Post: RE: How to copy a local docker container/image to another computer (Business Central)

$
0
0
That's a great follow up, thanks for posting that! So you basically make a local image from your container, and that works when you copy it to another computer?
Viewing all 11285 articles
Browse latest View live