Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Intercompany return reason codes

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello all,

When I try to create an intercompany return I am getting an error:  "Conversion of Return reason codes code was not specified"

I have the same return reason codes setup for both companies and the error is being thrown in an xml class that is used to convert from one company to the other.

Any ideas of where to set up this conversion or fix this problem?

Thanks in advance.

*This post is locked for comments

  • Safeer PS Profile Picture
    Safeer PS 505 on at
    RE: Intercompany return reason codes

    is this reply a sure shot solution. Any one tried this ???

  • PasanM Profile Picture
    PasanM 175 on at
    RE: Intercompany return reason codes

    Hi,

    Try changing the inter-company settings for intercompany customers and vendors.

    Ensure:

    1) Intercompany Company has the Reason Codes set up.

    2) Customer > General > Setup > Intercompany > Sales value mapping > Return reason code & Disposition code = "Our"

    3) Vendor > General > Setup > Intercompany > Purchase value mapping > Return reason code & Disposition code = "Our"

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Re: Re: Re: Re: Intercompany return reason codes

    Thanks for this.  These are probably setup in our Production environment but I am using our test environment to try and fix.  I will look into it and let you know.

    Really appreciate the help.

  • Alex Prodan Profile Picture
    Alex Prodan on at
    Re: Re: Re: Re: Intercompany return reason codes

    Hi,

    On Intercompany endpoints you can only setup PurchaseRequisition (PurchaseOrder) and SalesOrder actions. Return orders are in fact SalesOrders records with some additional business logic to handle the return flow, so the action you are looking for is SalesOrder. 

    Another question would be if Intercompany worked at all - it could not work if you had no actions on the intercompany endpoint. I am guessing you are just setting this up now? If so try the info on this thread: https://community.dynamics.com/forums/t/31259.aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Re: Re: Intercompany return reason codes

    [quote user="armasanea"]

    Hi,

    Can you please view the setting on the intercompany endpoint? Maybe the return reason value mapping was not set up.

    To do this open the Endpoints form Basic > Setup > AIF > Endpoints, select the intercompany endpoint, click Action policies, select SalesOrder, click Configure, "Intercompany" tab,  Handling return reasons group. If the document value is set to Not specified you will get error as mentioned above.

    Let us know if this was the cause.

    [/quote] 

    Hello,

    Thank you for the reply.  When I select the endpoint in question and click on button "Action policies", there are none specified.  So I go to Actions so I can enable the action ReturnReturnOrderInService.create / delete / update (I believe these are the actions I am looking for in this situation) but it does not let me click the "Enabled" check box therefore I can't configure the handling return reasons group.

    Is there a reason I cannot enable these actions?  I do believe this is the solution to this problem.  I'm not up to par on AIF configurations so any more help would be appreciated.

    Thanks again.

  • Alex Prodan Profile Picture
    Alex Prodan on at
    Re: Re: Intercompany return reason codes

    Hi,

    Can you please view the setting on the intercompany endpoint? Maybe the return reason value mapping was not set up.

    To do this open the Endpoints form Basic > Setup > AIF > Endpoints, select the intercompany endpoint, click Action policies, select SalesOrder, click Configure, "Intercompany" tab,  Handling return reasons group. If the document value is set to Not specified you will get error as mentioned above.

    Let us know if this was the cause.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Intercompany return reason codes

    FYI, I think this might be an AX bug.  Temporary fix is to turn off the required return reason code in the AR parameters form.  No one else has ran into this?

    Regards.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,569 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans