ArcherPoint Dynamics NAV Developer Digest - vol 270
The NAV community, including the ArcherPoint technical staff, is made up of developers, project managers, and consultants who are constantly communicating, with the common goal of sharing helpful information with one another to help customers be more successful.
As they run into issues and questions, find the answers, and make new discoveries, they post them on blogs, forums, social media…so everyone can benefit. We in Marketing watch these interactions and never cease to be amazed by the creativity, dedication, and brainpower we’re so fortunate to have in this community—so we thought, wouldn’t it be great to share this great information with everyone who might not have the time to check out the multitude of resources out there? So, the ArcherPoint Microsoft Dynamics NAV Developer Digest was born. Each week, we present a collection of thoughts and findings from NAV experts and devotees around the world. We hope these insights will benefit you, too.
A PowerShell Script to Build a D365BC 15 Docker Container
Kyle shares an invaluable tip: “Developer Tip of the Day: This is the PowerShell script I use to build a Cronus BC15 Docker container:
Update-Module navcontainerhelper
$containerName = ‘BC15’
$navdockerimage = ‘mcr.microsoft.com/businesscentral/onprem:15.0.36560.0-na’
New-NavContainer `
-isolation:process `
-accept_eula:$true `
-containername $containerName `
-imageName $navdockerimage `
-useBestContainerOSÂ `
-auth Windows `
-includeALÂ `
-usessl:$false `
-updateHosts `
-memoryLimit 10G `
-alwayspull `
-assignPremiumPlan `
-shortcuts Desktop `
-licensefile “c:sharebc.flf” `
-additionalParameters @(‘–volume c:share:c:share’)
Write-Host “Exporting Base AL…”
$alProjectFolder = “c:shareBC15AL”
Create-AlProjectFolderFromNavContainer `
-containerName $containerName `
-alProjectFolder $alProjectFolder `
-useBaseAppProperties `
-useBaseLine
Write-Host “Compiling Base AL…”
$app = Compile-AppInNavContainer `
-containerName $containerName `
-appProjectFolder $alProjectFolder `
-appOutputFolder $alProjectFolder `
-UpdateSymbols
Write-Host “Publishing App…”
Publish-NewApplicationToNavContainer `
-containerName $containerName `
-appDotNetPackagesFolder (Join-Path $alProjectFolder “.netpackages”) `
-appFile $app `
-restoreApps Yes `
-doNotUseDevEndpoint
Applied Learning and Machine AI for Business Central
Michael H says: “At Summit 2019, I attended a session by Johannes Gudmundssund entitled, ‘Applied Learning and Machine AI for BC.’ Johannes emphasized:
- Machine learning is still very much in its infancy
- It’s much easier to utilize the language Python instead of the language R, which was intended for data scientists
- If you know the data set X and result Y, then the goal of machine learning is to arrive at the function as represented by f(X) = Y … meaning that you’re trying to arrive at a formula or algorithm that will help a machine interpret data set X and conclude result Y.
Practical applications include forecasting inventory and cash flow. Below are some links to help you get started chipping away at the iceberg:
Machine Learning Project: Your First Machine Learning Project in Python Step-by-Step
Dynamics 365 Blog: Basic Integration of Dynamics NAV and an Azure Machine Learning Web Service
Microsoft Press Blog: Microsoft Azure Essentials: Azure Machine Learning
If you are interested in Dynamics NAV and Business Central development, be sure to see our collection of NAV/BC Development Blogs.
Read the “How To” blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV and Dynamics 365 Business Central.