Skip to main content

Notifications

Announcements

No record found.

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

Error executing code: TaxTrans_Extension object does not have method

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,643 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,148 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans