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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Inquiry form using query

(5) ShareShare
ReportReport
Posted on by 2,430
Hi Experts,
 
I have created inquiry Form to review the Rate From City and To Destination using AOT query . In Form, ZipCode is there.
I have created query as below:
 
 
But ZipCode in table LogisticAddressZipCode have somehow created three State for ZipCode 1 and we can not able to delete record since it has transaction.
 
 
 
 
 
My Inquiry Form is show all ZipCode=1 as below:
 
 
I want to created checkbox on LogisticsAddressSetup next to Zip/Postal Code. And only checked value should show in my inquiry Form.
 
Please guide me how to do it.
 
Thanks,
Faiz
 
I have the same question (0)
  • Suggested answer
    Jonas "Jones" Melgaard Profile Picture
    5,010 Most Valuable Professional on at
    Hi Faiz,

    To answer your question, it’s a matter of adding a NoYes field to the LogisticsAddressZipCode table and including it in the related forms. You could call it something like "Exclude from rating details."
    Also, please include country in your relation. ZIP codes are not unique. It's difficult since that table needs to support all the different ZIP code formats in the world.

    However, you should consider modifying your query instead. I'd add additional dimensions from the route master (for example add state) and apply a range to filter out the zip codes with a city.
    Ideally, if you have the time to do so, you should create a view that groups the fields you need to display instead of using the LogisticsAddressZipCode table directly, and then join that view.

    That said, I’d like to understand how your routing metadata is configured. Are we certain that dimension 4 will always represent the ZIP code? Here’s an example from my demonstration environment:
     
     
  • faiz7049 Profile Picture
    2,430 on at
    Hi Jonas,
     
    Thanks for reply.
     
    Please see below screenshot for Rating metadata
     
     
    I have removed table LogisticsAddressZipCode from my query because due to relation it is duplicating records as I described previously. You can see my Inquiry from below without From City and To City name.
     
     
     
    Please what is the best way to add From City and To City Name.
     
    Thanks,
    Faiz
     
     

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 296

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 234 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 145 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans