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 :
Small and medium business | Business Central, N...
Suggested answer

How do you handle null date values via API ?

(1) ShareShare
ReportReport
Posted on by 69

Hello,

we provide data via API interface. In our case some date fields are NULL. These NULL values are represented as 0001-01-01 in the API. When trying to write the data to a SQL database, we get an error because the min. date is 1753-01-01.

How do you handle such problems ?

Kind Regards

  • Suggested answer
    Andy Sather Profile Picture
    on at
    RE: How do you handle null date values via API ?

    Hello - I found a similar message on a different Microsoft Community (power automate).  Not sure if you can apply the same workaround: powerusers.microsoft.com/.../420710

    You can also reach out to our Developer Support on our Yammer for assistance as well:

    www.yammer.com/dynamicsnavdev

  • Hinnack Profile Picture
    69 on at
    RE: How do you handle null date values via API ?

    For more clarity:

    With NULL values are actually meant 0D values

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

Dynamics 365 Community Update – Sep 16th

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

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

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

Featured topics

Product updates

Dynamics 365 release plans