Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Error executing code: ...
Finance forum

Error executing code: TaxTrans_Extension object does not have method

(0) ShareShare
ReportReport
Posted on by 26

hi guys,

i created display method extension on tax table to retrieve the main account and the account name on posted sales tax form 

on my local machine every thing is OK and there is no error but when i uploaded the package on production i face this error 

5824.Capture.JPG 

  • Suggested answer
    Sukrut Parab Profile Picture
    Sukrut Parab 71,673 Moderator on at
    RE: Error executing code: TaxTrans_Extension object does not have method

    Try to  reproduce it in UAT/Release  environment where your  deployed your production package for testing . You shouldn't  be getting this error if it has gone through build.

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Error executing code: TaxTrans_Extension object does not have method

    Most likely you haven't deployed all the code.

    Does it work in test environment? You must always verify your changes in test before deploying to prod.

    Another very important thing: always use your prefix when naming extensions. Otherwise you can run into conflicts with future Microsoft updates. So instead of TaxTrans_Extension your class name should be ABCTaxTrans_Extension or TaxTransABC_Extension, where ABC is your prefix.

    docs.microsoft.com/.../naming-guidelines-extensions

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans