Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Dependencies no longer in fall update

(0) ShareShare
ReportReport
Posted on by 354

Hi everyone,

Our Business central client received the below email from Microsoft. can someone explain whats wrong with this.

Hello,

On behalf of the Microsoft Dynamics 365 Business Central team, we are reaching out to you concerning a Per-Tenant Extension (PTE) you have installed on a Business Central tenant.  During the upgrade to the Fall 2018 release of Dynamics 365 Business Central, we determined an installed PTE is not compatible.  The tenant cannot be upgraded to the Fall 2018 release until the PTE incompatibility is resolved.  The issue is that one of the following PTE’s has a dependency on another extension that has been removed from the Fall release. 

 

How did this happen:

Most likely the PTE was created using the in-client designer functionality in a sandbox environment, downloaded, and then uploaded as a PTE in the production environment.  When an extension is created using the in-client designer, it automatically takes a dependency on all installed extensions.  We are looking into a feature enhancement soon, so this doesn’t happen automatically.     

 

Details for the tenant, extension, and errors:

Tenant: 

One of the following PTE’s need to be fixed:

PO_ChangeStatus, AppId: 0341050e-11d3-41cc-99b2-bb8e33a47eb0, Version: 1.0.0.0

BuildITemInSalesOrder, AppId: 0eb08e9b-4fa2-4df5-bdb8-bc24e2a5781e, Version: 5.0.0.0

ProdOrderJobCard, AppId: 39c3fc92-17b5-472d-8b6f-fd2afa5e2cc9, Version: 6.0.0.0

ProdBomImport, AppId: 4e50e791-22d6-4dc8-8ffc-e11f3ba1e942, Version: 3.0.0.0

ItemListFields, AppId: 9e76c154-791e-4fae-96ef-f9e3b314f3f5, Version: 1.0.0.0

StockKeeping_Loc_Code, AppId: 75e5a282-4666-44ac-a5c4-df7df706c10b, Version: 1.0.0.0

 

Recommended action:

Option 1: PTE is required for the tenant

  1. Please make the minor change to the PTE using the steps described below, compile the PTE against the latest symbols for the Fall 2018 release (13.0), and perform the necessary tests
  2. Upload the PTE using the Extension Management page in Business Central and select the ‘Next major version’
  3. Let us know when the new PTE is uploaded and staged for the next major release and we will retry the upgrade for the tenant
    1. During the upgrade flow, we will see that there’s a new version of the PTE slotted for the release being upgraded to and publish/sync/install the updated PTE

 

Option 2: PTE is not required for the tenant

  1. Please uninstall the PTE using the Extension Management page in Business Central
  2. Let us know when the PTE is uninstalled, and we will retry the upgrade for the tenant

 

How to fix the PTE:

  1. Open the PTE in VSCode
  2. In the app.json file, remove all the extensions listed in the “dependencies” group so it shows as an empty list.  e.g. "dependencies": [],
    1. If you find that the extension is unable to compile with all of the dependencies removed, then you will need to determine which dependency to add back. 
  3. Increase the version of the PTE in the app.json.

 

 

Thank you for your cooperation.  If you have any questions, you may reply to this message.  Our team is here to help. 

--------------------

We know that we have used dependency property in one of our extensions. Why we have to remove this without using dependency how we call the objects used in other extension to current extension project.

Thanks,

Shyam

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Dependencies no longer in fall update

    This problem could occour if previously you have created an extension with In-Client designer. If you import this extension to a production environment without removing dependencies, you could have this problem in the future.

    When using Designer, ALWAYS remove dependencies in VS Code and then import the .app in production.

  • Suggested answer
    Damogran Profile Picture
    360 on at
    RE: Dependencies no longer in fall update

    Probably you should consider adding the functionality of the depended extension to your extension.

    If you do as MS suggests, and reply to the email and ask it directly from MS, I guess you will get the same answer.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans