Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

CRM Table -> Date field value differs from D365 Sales UI

(0) ShareShare
ReportReport
Posted on by 49

Hello,

we are using D365 for Sales in combination with Business Central Online through native Dataverse/D365 for Sales Integration. In our AL-Extension, we are using the "CRM Contact" table (TableType = CRM) to read contacts from D365 in BC. When reading the "BirthDate"-field (Date), we sometimes experience a mismatch between the "real value", and the one we are getting in AL. In D365, the flied is of type DateTime. In BC, the field is of type Date. One example: In D365 UI, the birthdate is shown as 12.12.2003, the database/UTC value is 2003-12-12T20:37:03Z. However, in AL (BC) when reading the field we are getting 13.12.03.

My first guess was that it must have something to do with time zones. In BC, my user's time zone is (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna. In D365 the time zone of the integration user ("Business Central Integration Business Central to Common Data Service") was (GMT) Coordinated Universal Time. I changed the time zone in D365 to (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna. The change had no effect, AL still shows a different Date.

Does anyone have any ideas? Maybe the different datatypes (DateTime vs Date) is the problem?

Best regards,

Dima.

  • Suggested answer
    YUN ZHU Profile Picture
    84,557 Super User 2025 Season 1 on at
    RE: CRM Table -> Date field value differs from D365 Sales UI

    Hi, Maybe it has something to do with the information below.

    More details: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/webservices/managing-time-zones-with-web-services

    pastedimage1660606729533v3.png

    Hope this helps.

    Thanks.

    ZHU

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans