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 :
Dynamics 365 general forum

Selecting ship to address on sales order form using lookup address sets shipping method field to null

(0) ShareShare
ReportReport
Posted on by 505

On the sales order form when I select ship to address using lookup address, the shipping method is set to null.

I tried to add javascript onchange event handler for shipping address and set the shipping method there but it never gets called.

How can I fix this?

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    It does look like a bug. It appears that some system javascript/ logic is trigger on lookup address which clears the field. And this logic is triggering at the end so even if you add your own custom logic to set shipping method, the system js is overriding the previous value and clearing it. I would suggest to use business rule on and entity level, though it won't work on  address change by it will work when you save the record.

    Hope this helps.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans