Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Error while running Sales invoice

Posted on by 3,024

5224.SO-Error.png

Dear Experts,

Please watch the above image and error in the image and help, waiting for your kind response.

Error is :Error executing code:xRecord object does not have method'mod3GetSalesUnitConvertTxt'

Thanks and Regards,

Shabir Ahmad

*This post is locked for comments

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Error while running Sales invoice

    The error should be quite self explanatory. Your customization is trying to call a method which doesn't exist. And the called method is / would be also a customization method, this you can see from the name.

    So either you need to add method mod3GetSalesUnitConvertTxt to CustInvoiceTrans table, or remove the if clause that is trying to call such method.

  • Verified answer
    startax Profile Picture
    startax 1,845 on at
    RE: Error while running Sales invoice

    Hi,

    Is there mod3GetSalesUnitConvertTxt() method in custinvoiceTrans table ?

    Because its looks like you have written

    if(custInvoiceTrans.mod3GetSalesUnitConvertTxt())

    Check table custinvoiceTrans

  • Shabir Ahmad Profile Picture
    Shabir Ahmad 3,024 on at
    RE: Error while running Sales invoice

    2500.SO-Error.png

    Dear Ismail Nadir,

    Thanks for your reply

    Please watch image of error, if you are not able to watch it tell me 

    Thanks and Regards,

    Shabir Ahmad

  • Suggested answer
    inadir Profile Picture
    inadir 400 on at
    RE: Error while running Sales invoice

    can i see the SO and SO line associated to this...

    i faced the same problem and i saw that unit code contain special character like ! and ,...

  • Shabir Ahmad Profile Picture
    Shabir Ahmad 3,024 on at
    RE: Error while running Sales invoice

    Crispin John Augustine ,

    Please watch the above screenshot

    Thanks and regards,

    Shabir Ahmad

  • Suggested answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Error while running Sales invoice

    Hi Shabir Ahmad,

    mod3GetSalesUnitConvertTxt is not a standard method, so it may be broken or does not exist, try to compile CustInvoiceTrans table and SalesInvoiceDP class, fix errors if any.

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,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans