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 :
Microsoft Dynamics AX (Archived)

Intercompany return reason codes

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Community Member Profile Picture
    on at

    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.

  • Alex Prodan Profile Picture
    Microsoft Employee on at

    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
    on at

    [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
    Microsoft Employee on at

    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
    on at

    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.

  • PasanM Profile Picture
    175 on at

    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"

  • Safeer PS Profile Picture
    507 on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans