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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Third Party Mode of Delivery and Terms of Delivery default on Sales Orders

(0) ShareShare
ReportReport
Posted on by 1,632

In AX 2012 R3, I have a customer with multiple Addresses, but I will break it down like this:

Address 1 = Business

Address 2 = Delivery (UPS Ground, Pre-paid)

Address 3 = Delivery (UPS Ground, Pre-paid)

Address 4 = Delivery; Third Party (Fed-Ex Priority Overnight, Using Collect Account)

When I create a sales order for this Customer, no matter which Delivery Address I choose, I always get Fed-Ex Priority Overnight, Using Address 4's Collect Account. 

I may be mistaken, but I thought that the Mode and Terms of delivery was supposed to update when you change the Delivery address.

*This post is locked for comments

I have the same question (0)
  • nunomaia Profile Picture
    25 Moderator on at

    I don’t think Terms of delivery is updated based on delivery address, I think you have to make a small customization to update the field after changing delivery address.

  • FAC.Ansel Profile Picture
    1,632 on at

    As an update, I removed the Third Party Address and now the Mode and Terms update depending on the delivery address selected, as I thought they should.  But if I add the Third Party address back in, then I'm stuck with whatever it is set to.  This wouldn't be a problem, but I'm going to have multiple delivery addresses with different accounts and modes of delivery and I need this information to update.  Is anyone else experiencing this?  Also note, we have transportation management, which may be causing these issues.

  • Verified answer
    nunomaia Profile Picture
    25 Moderator on at

    I have made a quick debug session, and the business logic of that field is located in class LogisticsLocationSelectForm_SalesTable.

    The implemented conditions are to override the delivery mode if the select address have Delivery and invoice role. You could extend the logic to fit your needs.

    I hope it helps you.

  • Suggested answer
    FAC.Ansel Profile Picture
    1,632 on at

    Thank you for your help!

    I have some other things to update, but I was able to just comment out the following and make it work:

    Class LogisticsLocationSelectForm_SalesTable

    Method CopyShipCarrierInfo

    ///if (DlvTerm::find(salesTable.DlvTerm).ShipCarrierFreightApplied != ShipCarrierFreightApplied::ThirdParty)

    On the initial creation, it still pulls in the Third Party info (which I will find and update), but when I change the Delivery Address, the Mode and Terms of Delivery update as expected.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans