web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
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 

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    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

  • Suggested answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    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.

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 > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans