Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

NAV 2018 and NAV New Technology - Fast Tracks - 14 dicembre 2017

2,945 views

Published on

NAV 2018 and NAV New Technology - Fast Tracks - 14 dicembre 2017

Published in: Technology
  • Be the first to comment

NAV 2018 and NAV New Technology - Fast Tracks - 14 dicembre 2017

  1. 1. RobertoStefanetti, MVP BusinessSolutions– NAV @robstefane
  2. 2. AGENDA
  3. 3. NAV TIMELINE https://www.microsoft.com/dynamics/upgrade-compare/nav/default.html https://robertostefanettinavblog.com/2015/06/14/from-navision-to-microsoft-the-history-of-dynamics-nav-navision/ http://www.hpbech.com/the-navision-model-was-born-when-ibm-said-no-thanks/
  4. 4. NAV Last Roadmap
  5. 5. NAV Timeline – Why NAV is Growing Up? How Microsoft Dynamics NAV acquired 120000 plus clients globally and still going strong ? Evolving from a accounting solution state NAV in its current form is complete and celebrated as the most successful SMB ERP solution in the globe ! What could be the reason ? (RED IS BETTER !) 1. The Products Flexibility 2. Industry Add-ons availability 3. Localisation aspects 4. Simple yet comprehensive state 5. Competent, passionate and Organized consultant community which worship and celebrate the product 6. Of course Microsoft Product Teams Vision and commitment to the declared roadmap … I don’t Think ! 7. Strong User Community ! YES !!! 8. Last but not least the passionate presales and sales force :-) NO !!!!!
  6. 6. NAV Timeline – Best Features in Time
  7. 7. NAV most Important Thing – NDE Only ? NO !!
  8. 8. NAV 2018 & Tenerife - SOME QUESTIONS
  9. 9. Extensions 2.0
  10. 10. BEFORE STARTING: I NEED TO KNOW…
  11. 11. THE NEXT ”NAV & TENERIFES” THOUGHT FIRST CLOUD WEB CLIENT ONLY (prospects ask for this!!) AZURE PLATFORM OFFICE365+ALL MICROSOFT SOLUTIONS LOCALIZATIONS: ONLY WITH EXTENSIONS UPGRADE: AUTOMATIC UPGRADE (STAY ALWAYS UPDATED!) VS CODE : KILLING C/SIDE .. VISUAL ???? ON MARKETPLACE: A LOT OF APPS (TRY, REVIEW & BUY)
  12. 12. Customizations Vs Extensions (Microsoft) Dynamics NAV Allows customization of application logic to deliver customer, industry, or region specific functionality How? Customizations: modification of base tables, code, and other objects Extensions: addition of well-defined modules that are invoked alongside the base application Why? Upgrade … and … v2
  13. 13. Extensions – Building Solutions Extensions are the way to build for Software as a Service (SaaS)  Allow you to sell your product in Microsoft AppSource - free advertising! Increase your sales volume!  Takes advantage of our upgrade investments (Automatic Upgrade - standard platform !)  Offer additional protection of your IP compared to the very “open source” nature of classic NAV Platform stability Reduced time to deployment
  14. 14. Extensions – Mind Map v1.0 (.NAVX)
  15. 15. Why Extensions ? “GREEN IS GOOD” What’s hot and what’s not in Extensions  Page & Page Extensions  Table & Table Extensions  Codeunits & TBD  Profiles  Web services  Report layouts  Tenant specific web services  Permissions  Table data  New safe methods for .NET  Query Object  Menusuite  .NET Interop  Client Add-ins  Files  Local resources
  16. 16. THE BIG PICTURE – EXTENSIONS 2.0
  17. 17. THE BIG PICTURE – EXTENSIONS 2.0
  18. 18. Extensions v2.0 – Why ?
  19. 19. Extensions v2.0 – Why ?
  20. 20. EXTENSIONS RECAP https://www.slideshare.net/RobertoStefanetti/nav-2016-events-and-extensions https://robertostefanettinavblog.com/2016/03/31/some-links-about-nav-2016-extensions/
  21. 21. Extensions: “Packages”
  22. 22. Extensions: “Powershell”
  23. 23. Extensions: “.NAVX” > “.APP” in 2.0
  24. 24. Extensions: “APP installata.. e poi ?”
  25. 25. Extensions: “APP installata.. e poi ?”
  26. 26. Extensions: Where are my Objects (APPS) ?
  27. 27. Extensions: Where are my data ? – IN TABLES !
  28. 28. Extensions: “Pubblicare una APP”
  29. 29. NAV 2018 WHAT’S NEW
  30. 30. NAV 2018 WHAT’S NEW – BIG PICTURE
  31. 31. NAV 2018 WHAT’S NEW - LINKS What’s New https://www.slideshare.net/RobertoStefanetti/nav-2018- whats-new https://msdynamicsworld.com/story/microsoft-dynamics-nav- mvp-says-wow-nav-2018-release?sthash.fv5Dd6Xg.mjjo http://simplanova.com/whats-new-microsoft-dynamics-nav- 2018/ Vs Code http://tharangac-dynamicsnav.blogspot.com/2017/12/configure- visual-studio-code-with.html http://www.kauffmann.nl/2017/12/07/how-to-connect-visual- studio-code-with-nav-2018/ https://www.hougaard.com/how-to-enable-moderndev-on- nav2018/
  32. 32. NAV 2018 - #1 New Product Features #1 - NAV 2018 NEW PRODUCT FEATURES
  33. 33. NAV 2018 – APPLICATION IMPROVEMENTS
  34. 34. NAV 2018 – OFFICE INTEGRATIONS
  35. 35. NAV 2018 – PLATFORM IMPROVEMENTS
  36. 36. NAV 2018 – PDF IN BROWSER
  37. 37. NAV 2018 – PRINTING IN BROWSER
  38. 38. NAV 2018 – SETUP & EXTENSIONS
  39. 39. NAV 2018 – SETUP & EXTENSIONS
  40. 40. NAV 2018 – SETUP & EXTENSIONS
  41. 41. NAV 2018 – EXTENSIONS BUTTONS
  42. 42. NAV 2018 – SETUP & EXTENSIONS
  43. 43. NAV 2018 – MS FLOW EXPERIENCE
  44. 44. NAV 2018 – MS FLOW EXPERIENCE
  45. 45. NAV 2018 – MS FLOW INTEGRATION MICROSOFT FLOW  http://www.soluzioniedp.it/soluzioni/automation-e- scheduling/57a1307e827c07697e7f7af19a708bba/microsoft-flow/93652005c53b55fb8569b02d5f8f1ed4/ http://help.lsnav.lsretail.com/Content/Dynamics%20NAV/ui-how-register-dynamics-nav-azure.html HOW-TO REGISTER DYNAMICS NAV ON AZURE MANAGEMENT PORTAL
  46. 46. NAV 2018 – MS FLOW INTEGRATION APPLICATION AND KEYS
  47. 47. NAV 2018 – MS FLOW EXPERIENCE
  48. 48. NAV 2018 – MS FLOW EXPERIENCE
  49. 49. NAV 2018 – CREATE CONTACT INTERACTIONS
  50. 50. NAV 2018 – CREATE CONTACT INTERACTIONS
  51. 51. NAV 2018 – OUTLOOK 365 INTEGRATION https://docs.microsoft.com/en-us/dynamics-nav/integrating%20dynamics%20nav%20and%20office L’integrazione con Outlook 365 si fa ancora più potente: Microsoft Dynamics NAV 2018 è in grado di leggere il contenuto delle mail andando a popolare automaticamente le righe del documento che si vuole produrre. L’utente, senza dover inserire i dati a mano, per esempio potrà creare un’offerta per il cliente e successivamente inviare la fattura senza mai lasciare Outlook. NAV 2018 Mail Reading & Automations
  52. 52. NAV 2018 – OUTLOOK ADD-IN
  53. 53. NAV 2018 – OUTLOOK ADD-IN
  54. 54. NAV 2018 – CREATE CONTACT INTERACTIONS
  55. 55. NAV 2018 – CUSTOMER MANAGER BUTTON
  56. 56. NAV 2018 – CREATE NEW QUOTE FROM OU.
  57. 57. NAV 2018 – CREATE NEW QUOTE
  58. 58. NAV 2018 – EXCEL REPORT TEMPLATES
  59. 59. NAV 2018 – EXCEL REPORTS New Excel integration, with preconfigured Excel reports. The Business Manager and Accounting Role Center has a new option in the ribbon for Excel Reports. Users may select from a dropdown menu of preconfigured reports (see graphic) that is ready to print from Excel. Among those reports are such broadly useful ones as Balance Sheet, Cash Flow Statement and Trial Balance.
  60. 60. NAV 2018 – EXCEL REPORT TEMPLATES
  61. 61. NAV 2018 – EDIT IN EXCEL FOR JOURNAL
  62. 62. NAV 2018 - EDIT IN EXCEL
  63. 63. NAV 2018 - EDIT IN EXCEL
  64. 64. NAV 2018 – POWER BI REPORTING
  65. 65. NAV 2018 – POWER BI REPORTING
  66. 66. NAV 2018 – POWER BI REPORTING
  67. 67. NAV 2018 – POWER BI REPORTING
  68. 68. NAV 2018 – IMAGE ANALYZER
  69. 69. NAV 2018 – IMAGE ANALYSER (COGN. SERVICES) https://blogs.msdn.microsoft.com/nav/2017/12/11/smart-solutions- 1-artificial-intelligence-and-machine-learning-in-dynamics-nav/ https://blogs.msdn.microsoft.com/nav/2017/12/13/smart-solutions- 2-programming-computer-vision-in-cal-code/
  70. 70. CREATE COGNITIVE SERVICES (BY AZURE) NAV 2018 – IMAGE ANALYSER (COGN. SERVICES)
  71. 71. CREATE COGNITIVE SERVICES (BY AZURE) NAV 2018 – IMAGE ANALYSER (COGN. SERVICES)
  72. 72. NAV 2018 – IMAGE ANALYZER IN ACTION
  73. 73. NAV 2018 – SYNC VENDORS TO OCR
  74. 74. NAV 2018 – SYNC VENDORS TO OCR
  75. 75. NAV 2018 – EMPLOYEE LEDGE ENTRIES
  76. 76. NAV 2018 – EMPLOYEE LEDGE ENTRIES
  77. 77. NAV 2018 – EMPLOYEE LEDGE ENTRIES
  78. 78. NAV 2018 – USER TASKS
  79. 79. NAV 2018 – USER TASKS
  80. 80. NAV 2018 – USER TASKS User Tasks feature: with which you can create tasks to remind you of work to be done, or to assign tasks to yourself or other users (a feature like the CRM Assign function or Service Task). I had submitted this request to MS Connect long ago - nice to see it! USER TASKS DEMO HERE https://robertostefanettinavblog.com/2017/12/13/nav-2018-user-tasks/
  81. 81. NAV 2018 – USER TASKS
  82. 82. NAV 2018 – USER TASKS
  83. 83. NAV 2018 – PERSONALIZE WORKSPACE
  84. 84. NAV 2018 – WEB CLIENT PERSONALIZATION
  85. 85. NAV 2018 – WEB CLIENT PERSONALIZATION NAV WEB CLIENT
  86. 86. NAV 2018 – WEB CLIENT PERSONALIZATION WEB CLIENT – OPEN THE RUN-TIME DESIGNER
  87. 87. NAV 2018 – RUN TIME DESIGNER – JAVAS. https://docs.microsoft.com/en-us/dynamics-nav/developer/devenv- inclient-designer
  88. 88. NAV 2018 – WEB CLIENT PERSONALIZATION RUN-TIME DESIGNOR – MODIFY WITH JAVASCRIPT
  89. 89. NAV 2018 – WEB CLIENT PERSONALIZATION FINISH DESIGN & SAVE “.APP”  CREO LA MIA APPLICAZIONE
  90. 90. NAV 2018 – REPORT PREVIEW WEB CLIENT
  91. 91. NAV 2018 – UNI APP & CONTINUUM Universal APP & Windows 10 Continuum Universal App is today available on more devices, the new interesting feature is: “Continuum”, What is Continuum ? Continuum technology is a Windows 10 feature that allows you to project your phone to your big screen. You can also interact with keyboard and mouse through Bluetooth, when connected NAV Universal App automatically switch to the desktop experience.
  92. 92. NAV 2018 – WINDOWS 10 CONTINUUM Universal App & Windows 10 Continuum: The NAV Universal App for mobile devices is today available on more devices, and a new and interesting feature is Continuum. This technology is a Windows 10 feature that allows you to project your phone to your big screen. You can also interact with keyboard and mouse through Bluetooth, when the connected NAV Universal App is configured to automatically switch to the desktop experience. HOLO-LENS SUPPORT
  93. 93. NAV 2018 – WINDOWS 10 CONTINUUM
  94. 94. NAV 2018 – ASP .NET CORE + .NET 4.7 ASP.NET Core + .NET FRAMEWORK 4.7 The Dynamics NAV Web server components now run on ASP.NET Core ! Cool! .. ASP.NET Core keeps NAV to reach new heights in cloud scalability. Pre-requirement (silence install)
  95. 95. NAV 2018 – OTHER FEATURES
  96. 96. NAV 2018 – OTHER FEATURES
  97. 97. NAV 2018 – OTHER FEATURES
  98. 98. NAV 2018 – OTHER FEATURES
  99. 99. NAV 2018 - #2 New Technical Features #2 - NAV 2018 NEW TECHNICAL FEATURES
  100. 100. NAV 2018 – NAV SERVER OPTIONS (RECAP) DATABASE CREDENTIALS BUILD RESTRICTIONS DEFAULT LANGUAGE DEVELOPMENT & EXTENSIONS TARGET LEVEL CREDENTIAL TYPE https://robertostefanettinavblog.com/2017/12/03/nav-2018-service-options-recap
  101. 101. NAV 2018 – NEW DEVELOPMENT ENVIR.
  102. 102. NAV 2018 – TWO DEVELOPMENT ENVIR. There are two development environments in the installation: “the old development environment” based con C/SIDE & C/AL and the “New Modern Development Environment”, based on Vs Code+ AL, usable for both NAV 2018 and Tenerife. https://robertostefanettinavblog.com/2017/11/18/c-sidec-al-vs-vs-codeal/
  103. 103. NAV 2018 – NEW DEVELOPMENT ENVIR.
  104. 104. NAV 2018 – .NET REPLACEMENT
  105. 105. NAV 2018 – Available APIs
  106. 106. NAV 2018 – “HOW-TO” USE DEVELOPMENT PORT Nice post here about utilization of DEVELOPMENT PORT https://www.hougaard.com/how-to-enable-moderndev-on-nav2018/ https://totovic.com/2017/12/03/how-to-install-nav-2018/
  107. 107. NAV 2018 – UPDATED LICENSING MODEL Nice post here about updated licensing model https://ksdconsultancy.blog/2017/12/01/microsoft-dynamics-nav- 2018-licenses/
  108. 108. NAV 2018 – LEVEL OF EXTENSIONS - EXT 2.0 “In Extensions 2.0, exist a concept of 'levels' of extensions that are used to determine different classifications and capabilities of an extension package. In VSCode development, this is something you can specify in the app.json file using the "target" property. This places a restriction on what is 'allowed' within the extension. On the server side, you are given the ability to set the 'level' of 2.0 extensions that you want to allow to be publishable/installable. This gives admins control over what kinds of extension they want to have on their systems.”  In order the 'level' progress as follows: Personalization, Extension, Solution, Internal.
  109. 109. NAV 2018 – DEFAULT SERVICE LANGUAGE NAV Server instance configuration includes two new settings for controlling the Dynamics NAV client language:  Default Language (specifies which of the installed Dynamics NAV languages on the server instance will be used as the default language in the clients)  Supported Languages (specifies which of the installed Dynamics NAV languages on the server instance will be available for use in the clients)
  110. 110. NAV 2018 – CHANGE SERVER SETTING - PS Change Server Setting Without Restart Finally! Great Feature! ...like SQL Server “RECONFIGURE WITH OVERRIDE” statement (RS). Some configuration changes to the Dynamics NAV Server can be done without a server restart. With PowerShell cmdlet Set-NAVServerConfiguration is possible to manage:  Memory  ConfigurationFile  All
  111. 111. NAV 2018 – OBSOLETE STATE Obsolete State for Tables & keys Table object, fields and keys include the ObsoleteState and ObsoleteReason properties. That are used to communicate to developers when is or will become obsolete. ObsoleteState and ObsoleteReason properties are for “Tables, Fields, and Keys”
  112. 112. NAV 2018 – NEW POWERSHELL CMDLETS
  113. 113. NAV 2018 – POWERSHELL ENANCHEMENTS
  114. 114. NAV 2018 – PWSHELL SERVER START-STOP
  115. 115. NAV 2018 – NEW POWERSHELL CMDLETS Many new powershell cmdlets TOPICS - Administering - Extensions - Development - Deployment. More details here: https://docs.microsoft.com/en-us/dynamics- nav/changes-to-microsoft-dynamics-nav-cmdlets-from-previous-release
  116. 116. NAV 2018 – BEST AZURE SECURITY AZURE KEY ENCRYPTION PROVIDER 2.0
  117. 117. NAV 2018 – SQL CLOSE INACTIVE SESSIONS «WE NEED MORE FREE LICENSES ! .. Don’t warry» SQL COMMAND TIMEOUT CTP 9 NOW
  118. 118. NAV 2018 – OData V4 – Single Call ! NAV 2018 runs OData web services based on OData V4, OData Relational Query Support provides the ability to include related entities inline within a single OData V4 response.. Great feature…
  119. 119. NAV 2018 - New Events - 1211 ! 1211 EVENTS ! (1208+3)
  120. 120. NAV 2018 New Features & Functions #1 Dynamics NAV now uses .Net Framework 4.7 (pre-requirement) Tenant Management Codeunit (417) Mobile Preview and Print Personalization in the Dynamics NAV Web Client-ALL C/AL function COMPANYPROPERTY.DISPLAYNAME New AL method COMPANYPROPERTY.DISPLAYNAME Report datasets now reference the Display Name of the Company instead of Name Line items are created automatically in the Outlook add-in based on email content
  121. 121. NAV 2018 New Features & Functions #2 Filter views are now serialized in culture invariant format Web Client - Show more user-friendly screen instead of standard IIS HTTP error screen Display Name field in the Company system table Improved startup time by caching event subscribers and publishers Server configuration values can be changed without server restart Adding rules to page designer Embedded Microsoft Flow (Create a Real Workflow anywhere….) Power BI and Microsoft Dynamics (The new Power BI reporting control)
  122. 122. NAV 2018 New Features & Functions #3 Add, hide, or drag and drop columns when designing pages Move and hide page parts Universal App: simpler picking of pictures Reposition or hide Cues and Cue Groups NEW MountRegistering -NAVTenantDatabase Cmdlets…. ListParts on Role centers Valid Audiences setting in the Dynamics NAV Server instance configuration  BPA (Best Practice Analyser) Dynamics NAV Server instance and application configuration settings for default language and supported languages
  123. 123. NAV 2018 New Features & Functions #4 Using Microsoft Flow for sales document approval requests Ad-hoc Dimension Analysis New complex type SessionSettings > function REQUESTSESSIONUPDATE Preview reports on the Web client Universal App: “Continuum” > Phone on PC ObsoleteState and ObsoleteReason Properties on Tables, Fields, and Keys Changes to the workings of the Web client New ASP.NET Core web server runtime
  124. 124. NAV 2018 New Features & Functions #5 Universal App on more devices > “ON HOLOLENS“ - WMS ??? OData V4 Bound Actions Printing reports from the browser User Tasks BPA Tool Discontinued…. Support for table partitioning OData Relational Query Support New parameter on Start-NAVDataUpgrade: -SkipIfAlreadyUpgraded Improved connection reuse in Shared Schema configuration Delayed deletion of company data
  125. 125. NAV 2018 NEW NAV OBJECTS UPDATED SYSTEM TABLES
  126. 126. NAV 2018 NEW NAV OBJECTS POWER BI QUERIES (READY TO GO)
  127. 127. NAV 2018 NEW NAV OBJECTS FAILED JOB QUEUE ENTRIES CODEUNITS
  128. 128. NAV 2018 NEW NAV OBJECTS UPDATED EXTENSIONS MANAGEMENT ERROR MESSAGE
  129. 129. NAV 2018 Datamodel: Shared Schema DATAMODEL: SHARED SCHEMA A datamodel, which includes tenants and companies, models states of both the database and tenants, and allows individual tenants to run in different (supported) schema versions
  130. 130. NAV 2018 Shared Schema is also SHARED SCHEMA IS ALSO.. .. a change from a “Shared Database, Separate Schemas model” to a “shared schema model” https://msdn.microsoft.com/en-us/library/aa479086.aspx
  131. 131. NAV 2018 Shared DB, Shared Schema One database Multiple tenants  Multiple companies Tenant data in shared tables Tenant local id Tenant name Tenant global id 1 Maersk a96bfb71-693a-4097-87e8 2 Lego 63a8d91c-6578-4849-9bbf 3 Vestas 8e5dbd0a-cca5-45ec-823b Company local id Company name Tenant local id 1001 Maersk Oil 1 2001 Lego online 2 2002 Legoland 2
  132. 132. NAV 2018 SQL Table Partitioning https://msdn.microsoft.com/en-us/library/ms188730.aspx CREATE TABLE <table name> ( Col1 , col2 , … ) ON NAVPS (col1);
  133. 133. NAV 2018 Instant Upgrade – What & Why  What  Enable upgrade at scale with minimal to no interruption of service with scheduling capabilities, notification of customers as well as re-scheduling capabilities while not exhausting SQL in the process. In all ensure that we have a scalable upgrade story that is manageable with least possible customer impact.  Why  The continuous effort to improve repeatability built on top of Shared database – and at the same time strive for minimal customer downtime.
  134. 134. NAV 2018 – SQL Best Configuration (from NAV Tech Days)
  135. 135. NAV 2018 – SQL Best Configuration
  136. 136. DYNAMICS 365 BE ROAD TO TENERIFE
  137. 137. Dynamics 365 Business Edition Dynamics 365 BE Cloud is based on the Microsoft NAV platform and several other Microsoft services. With Dynamics 365 Business Editions reinvents business productivity. 365 BE Windows iOS Android
  138. 138. Dynamics 365 Tenerife
  139. 139. Dynamics 365 TENERIFE – BEST TOPICS NAV will be available in the cloud (NAV in SaaS)  TENERIFE On Premise is there to stay… for a long time ?? One Codebase (two pillars, NAV 2018R2, TENERIFE) Extension V2 will work on Dynamics NAV 2018 and TENERIFE You will be able to white label your product, but you don’t have to.. Microsoft is working on the prices, there is no monetization in AppSource – but it will come (not.. Far away..) Microsoft Dynamics NAV consumes an insane amount of Azure stuff.. (Azure, Dockers, SQL Azure tuning, Development, Cognitive services….)
  140. 140. Dynamics 365 Tenerife – Roadmap
  141. 141. Dynamics 365 Tenerife – Big Picture
  142. 142. Azure Cloud SaaS On-premises is more secure Data is used for things like advertising It’s not compliant with industry regulations Control of data in the cloud is lost Built to provide a level of security that exceeds most customers’ on-premises infrastructure and scale. The first to comply with ISO/IEC 27018, which prohibits the use of personal data for advertising and marketing. Compliant with HIPAA, FISMA and many other industry- specific and government regulations. Designed to give you complete control of your data. You own it; Microsoft manages it for you. COMMON MYTHS ABOUT THE CLOUD THE MICROSOFT CLOUD IS…
  143. 143. ECOSYSTEM PICTURE
  144. 144. Power Apps Services
  145. 145. Dynamics 365 BE - Moving to TENERIFE
  146. 146. Power Apps Vs Web Client Features
  147. 147. Common Data Model
  148. 148. DEVELOPING FOR CLOUD-RULES !
  149. 149. New Office 365 Apps Nuove Office 365 Apps: sono nuove app (chi ha Office 365, sulla scrivania avrà un nuovo Tail chiamato “New Business Apps”. Queste app (invoice, inventory, e altre) che sta sviluppando MS permettono di aumentare le funzionalità di Office. Questo è possibile perché per ogni istanza di office viene attivata una istanza di NAV for Financials. Aumentano le potenzialità di Office per coprire il cliente più piccolo.
  150. 150. Dynamics 365 TENERIFE – On Premise Relativamente a NAV on premise: E’ stato discusso molto internamente a MS ed è stato deciso che Microsoft è “Cloud First” ma non “Cloud Only”. Garantiscono quindi che la versione On premise sarà mantenuta perché lo vogliono. Il codice base sarà lo spesso per le due versioni (cloud e non), perciò quello che vi sarà su D365 sarà portato sulla versione On Premise (tranne casi particolari non tecnicamente possibili). A tendere l’obiettivo sarà quello di avere un'unica modalità di deployment. Viene rilasciata una app su Appsource e sarà utilizzabile su D365 o su on premise. Viene sottolineato che le Embed App customizzate non saranno supportate solo per un periodo transitorio ma faranno parte di D365 quindi non ci sarà discontinuità.
  151. 151. The Right UX – New Philosophy The right UX for the right user Underneath everything is an extension “Visual for Business Consultant Code for the developer” But why C/AL still?
  152. 152. New Philosophy “APIs” Application as an API  Shipped in product  Microsoft Application (W1, US, CA, UK, etc)  Code your own objects Continuing the application as an API. Not all internal methods & resources support security and isolation. Will show up as an error in the editor.  .NET Interop  Attributes  Methods  Properties  System Tables  AL System Methods Controlled in the app.json file. Enforced by server. Legal values: Extension, Internal
  153. 153. New Philosophy ..”MISSION” • Start to refactor code • Remove code from modified objects where possible • Good: Use “Hook” pattern • Better: Use events • Evaluate architecture of solution • How much code is reused between customers? • Can your solution be broken into multiple extensions? • Start to build code into extensions where possible
  154. 154. Dynamics 365 TEN – “ALL API” INTEGRATIONS
  155. 155. SaaSification
  156. 156. Extensions v2.0 – SaaSification ?
  157. 157. Extensions v2.0 – SaaSification – 3 Layers
  158. 158. NEW DEVELOPMENT ENVIRONMENT https://www.slideshare.net/RobertoStefanetti/vs-code-and-modern-development-environment-preview https://robertostefanettinavblog.com/2017/11/18/c-sidec-al-vs-vs-codeal/ https://robertostefanettinavblog.com/2017/11/09/nav-development-preview-running-c-side-and-al-side- by-side/
  159. 159. C/SIDE Replace: Modern Development Environment http://aka.ms/navdeveloperpreview https://blogs.msdn.microsoft.com/nav/2016/12/20/announcing-the-preview-of-development-tools-for-dynamics-nav/ https://robertostefanettinavblog.com/2017/07/13/nav-development-preview-updated-documentation/
  160. 160. Development Environments Comparison OLD Development Environment NEW Development Environment C/SIDE + C/AL VS Code + AL Object Designer .FOB .TXT C/SIDE VS Code Editor .APP Powershell / VS Code
  161. 161. VS Code+AL = New Development Environment VS Code (Visual Studio Code) CODE.EXE > Show Projects > Objects: Files AL AL Extension for VS Code > Show Business Logic > Code: text inside “.AL” file http://aka.ms/navdeveloperpreview https://code.visualstudio.com/
  162. 162. VS Code: Open Source, Cross Platform, Git “VS Code: Open source, cross-platform, multi-language development environment that puts writing code at its center” https://code.visualstudio.com/
  163. 163. AL Language extension https://msdn.microsoft.com/en-us/dynamics-nav/developer/devenv-programming-in-al https://msdn.microsoft.com/en-us/dynamics-nav/developer/devenv-dev-overview https://robertostefanettinavblog.com/2016/11/29/microsoft-al-al-language-code-samples-for-developing-extensions/
  164. 164. Programming in AL https://msdn.microsoft.com/en-us/dynamics-nav/developer/devenv-programming-in-al AL is the programming language that is used for manipulating data (such as retrieving, inserting and modifying records) in a Dynamics 365 for Financials database, and controlling the execution of the various application objects, such as pages, reports, or codeunits. With AL, you can create business rules to ensure that the data which is stored in the database is meaningful and consistent with the way customers do business. Through AL programming, you can: Add new data or transfer data from one table to another, for example, from a journal table to a ledger table. Combine data from multiple tables into one report or display it on one form or page. Where to write AL code !! Almost every object in Dynamics 365 for Financials contains triggers where you can add your AL code. Triggers exist for the following objects: Tables, Table fields, Pages, Reports, Data items, XMLports, Queries
  165. 165. AL Methods https://docs.microsoft.com/it-it/dynamics-nav/developer/methods/devenv-al-method-reference https://docs.microsoft.com/it-it/dynamics-nav/developer/devenv-essential-al-methods The AL methods in this section are grouped according to the data type that they support or according to a category. Each data type topic contains a description of the data type. Properties Triggers Essential AL Methods Programming in AL Developing Extensions HTTP, JSON, TextBuilder, and XML API Although there are hundreds of methods in AL, there are several methods that you will use more often than the others. This does not mean that the rest of the methods are obsolete or that you will never use them. However, it does mean that if you are very familiar with this small set of essential methods, you will be able to accomplish many tasks when you are programming in AL. The topics in this section describe the most common AL methods. For more details about all of the AL methods, see AL Method Reference.
  166. 166. C/SIDE Vs VS Code https://msdn.microsoft.com/en-us/dynamics-nav/developer/devenv-reference-overview Differences in the Development Environments C/SIDE Vs AL Development Env (VS Code) Coming from the Dynamics NAV Development Environment and C/SIDE, there are some differences and optimizations that you should familiarize yourself with. The following sections go through these changes. C/SIDE VS Code Keyword Uppercase Keyword Lowercase .NET Support Native Web Services Types Object Designer Real-time compiling Symbol Menu Option Member File Support File Upload from Stream Translations in Objects Where Used
  167. 167. Object Designer VS Vs Code Editor - Face Object Designer VS Code Editor https://msdn.microsoft.com/en-us/dynamics-nav/developer/devenv-reference-overview https://github.com/Microsoft/AL
  168. 168. AL - Details AL https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al Formatting, syntax highlighting and rich IntelliSense Support for and snippets to define Codeunits, Pages, Page Extensions, Tables, Table Extensions, XMLPorts, and Reports Support for reference by symbols (Shift+F12) to jump to all instances of a specific symbol Added support for using HTTP and JSON types to access Azure functions and other Web Services Ability to define a dependency on another extension by listing it in the app.json configuration file Autogeneration of app.json and launch.json project files
  169. 169. Differences between .FOB Vs .APP Differences between .FOB and .APP Files .FOB Files .APP Files PACKAGE: “.FOB” : Financials Objects, standard old objects package PACKAGE: “.APP”: Based on Extensions (v. 2.0 - Vs Code)  .al file, app.json, launch.json Source code visible in C/SIDE NO Include standard Objects and standard Code can be changed NO Imported in NAV : C/SIDE Powershell, VS Code Extensions of standard objects and include additional business logic for solutions
  170. 170. “HOW-TO” install Vs Code for NAV 2018 Some nice links below: How-to Enable Modern Dev on NAV 2018 https://www.hougaard.com/how-to-enable-moderndev-on-nav2018/ Configure Vs Code http://tharangac-dynamicsnav.blogspot.com/2017/12/configure-visual-studio-code-with.html VS Code “AL” extensions (PART I) https://robertostefanettinavblog.com/2017/08/31/vs-code-al-extensions-part-i/ – AL Language (By Microsoft) – AL Formatter (By Rasmus Aaen) – AL Runner (By Tobias Fenster) – NAV Skills AL Clean Code (by Mark Brummel) – Dynamics NAV SCM (by Cloud Ready Software) – NAV Snippets (By Naresh)
  171. 171. “HOW-TO” install Vs Code for NAV 2018
  172. 172. “HOW-TO” install Vs Code for NAV 2018
  173. 173. NEXT SESSION
  174. 174. RobertoStefanetti, MVP BusinessSolutions– NAV @robstefane

×