Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Add new Field after Vendor's package Extension

Posted on by 295

My ERP Vendor created Extension to add a Field "Deposit Amount" in Purchase Order

I downloaded Symbols

Now I create my Extension to add a new field after "Deposit Amount".

When I run my project, the Visual Studio Code show the error:

pastedimage1673508047478v1.png

How to solve this error ?

Thank you.

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,133 Super User 2024 Season 2 on at
    RE: Add new Field after Vendor's package Extension

    No Impact. that is the minimum version the system expects but if there is any latest version also then system uses that. You are good to go.

  • Hoang Ng Profile Picture
    Hoang Ng 295 on at
    RE: Add new Field after Vendor's package Extension

    Thanks Yadav,

    I followed your instruction and I could run the project.

    More questions that the Vendor will upgrade the version, now I referred to version 20.0 then Vendor upgrades to version 21.0. Will it impact to my project ? Will I need to re-build my project to change the reference version ?

  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,133 Super User 2024 Season 2 on at
    RE: Add new Field after Vendor's package Extension

    Then you have to add the vendor created extension as dependency in your app.json and download the symbols

    You can find these details in extension management page or downloaded source code.

    pastedimage1673509523218v1.png

  • Hoang Ng Profile Picture
    Hoang Ng 295 on at
    RE: Add new Field after Vendor's package Extension

    "Are you adding the field in the same extension that your vendor has created or creating new extension?"

    --> I create new extension

    Below is my code:

    pageextension 50110 "Purch. Order Ext" extends "Purchase Order"

    {

       layout

       {

           addafter("Deposit Amount")

           {

               field("Deposit Date"; Rec."Deposit Date")

               {

                   ApplicationArea = all;

                   ToolTip = 'Enter last date you want Accountant pays for this PO';

               }

           }

       }

    }

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,133 Super User 2024 Season 2 on at
    RE: Add new Field after Vendor's package Extension

    Are you adding the field in the same extension that your vendor has created or creating new extension?

    Can you show the full code in that object?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,232 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,064 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans