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

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

Customer address and phone not showing in UI after X++ insert in D365 FO

(0) ShareShare
ReportReport
Posted on by 117

Problem:
I am creating a customer programmatically using X++ in Dynamics 365 Finance and Operations. I insert the address into LogisticsPostalAddress and the phone into LogisticsElectronicAddress. I also link the location to the Party using DirParty::addLocation() with the correct roles (Delivery, Business, Invoice).

 

What happens:

  • The customer is created successfully

  • The address and phone records are inserted successfully in the database

  • When I check the tables directly, all data exists and is correctly linked

  • But when I open the customer in the UI, the Addresses tab is empty and the Contact information tab is empty

What should happen:
After inserting address and phone data via X++, the customer should display the address under the Addresses tab and the phone under the Contact information tab, just like when adding manually through the UI.

Note:

  • Manual entry through the UI works fine

  • The problem only happens with programmatic insertion

Question:
Is there a missing step in my code? Do I need to refresh something or update the cache after inserting? Any help would be appreciated.

I have the same question (0)
  • Mohamed Amine Mahmoudi Profile Picture
    26,773 Super User 2026 Season 1 on at
     
    Can you please share with us your x++ code ?
     
    BR

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

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 1,089

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 193 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 159 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans