Documentation Index

Fetch the complete documentation index at: https://docs.staedean.com/llms.txt

Use this file to discover all available pages before exploring further.

Update Food Manufacturing & Distribution

Prev Next

In C/AL-based versions of D365 BC/Business Central, functionality updated through *.fob (or txt) files. As of this release, functionality updates through replacing apps.

Steps

  1. Run Windows PowerShell ISE as administrator.

  2. Load the D365 BC Modules:

    Import-Module "C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service\Microsoft.Dynamics.Nav.Apps.Management.psd1"
    Import-Module "C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service\Microsoft.Dynamics.Nav.Management.psd1"
    
  3. List the apps and version numbers currently installed (replace BC150 with the correct server instance):

    Get-NAVAppInfo -ServerInstance BC150
    
  4. Uninstall the current app (this example replaces ESHA Genesis Integration):

    Uninstall-NAVApp -Name "ESHA Genesis Integration" -ServerInstance BC150
    
  5. Publish the new app (\ ... : copy the full path from where the Artifacts folder downloads and expands). Use the correct version numbers:

    Publish-NAVApp -Path "C:\...\Artifacts\FOODESHA15.3.41417.0\15APPS\ESHA\app\To-Increase_ESHA Genesis Integration_15.3.41417.0.app" -ServerInstance BC150
    
  6. Sync the new app:

    Sync-NAVApp -Name "ESHA Genesis Integration" -ServerInstance BC150 -Version 15.3.41417.0
    
  7. Upgrade the new app:

    Start-NAVAppDataUpgrade -Name "ESHA Genesis Integration" -ServerInstance BC150 -Version 15.3.41417.0
    
  8. Remove the old app:

    Unpublish-NAVApp -Name "ESHA Genesis Integration" -ServerInstance BC150 -Version 15.2.38860.0
    

Note
Data is always retained in the SQL Server tables. None of these commands touch the data.