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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

create a flag if there is difference between two dates

(0) ShareShare
ReportReport
Posted on by 335

Hi ,

I have a requirement where I want to flag whenever there is a difference between two dates i.e. Promised Receipt Date and expected receipt date in purchase line Table.

If I need to create a cue on the Role center, How can I compare two dates with Flowfield?

In case I want to I want give an error in Red Line just like there is one  for "Overdue sales Items"on Role centre.

Thanks in Advance

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,280 Super User 2026 Season 1 on at

    Unfortunately, you cannot do this with flowfield you need to calculate that using code and set the flag.

  • Rupali Profile Picture
    335 on at

    How can we compare two dates in a table?

  • Suggested answer
    Suresh Kulla Profile Picture
    50,280 Super User 2026 Season 1 on at

    I am not sure if I understand, you just do a regular comparison of the fields like If Date1 > Date2 ....

  • Rupali Profile Picture
    335 on at

    I need to get the count of items where Promised Rec Date is Less than Expected receipt date in Purchase line table, How can I do that with code?

  • Suggested answer
    Suresh Kulla Profile Picture
    50,280 Super User 2026 Season 1 on at

    Apply the filter on the Record and then use Rec. Count or you can loop through records and increment the integer.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,556 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,028 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 877 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans