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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

custom service contract class

(0) ShareShare
ReportReport
Posted on by 482
Hi,

if we have a custom service, with dates as an input

the payload can be sent like this
 
{
    "Date1": 2025-10-01,
  "Date2": 1900-01-01"
}
 
or
 
{
    "Date1": "2025-10-01"
}
 
 
Is there a way to distinguish in FO, if Date2 was sent as 1900 explicitly or if it was not even in the payload?

because when debugging if we set it as 1900, or if we remove the node from the payload, FO service will still show it as 1900

I mean if i want put logic in FO that says, if the value is sent as 1900 then update it with 1900. But if the date wasn't sent, then leave it as is and don't override the existing value in FO. is that possible?
Categories:
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,831 Most Valuable Professional on at
    I don't think so. 1.1.1900 is the default value of the date type, therefore it's the same thing if you get no value and it defaults to 1.1.1900, or if you explicitly set it to 1.1.1900. You'll need an additional piece of information to distinguish the situations when you want to remove the date or keep the current value.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 672 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 534 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 289 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans