Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

How get next working date a computed column in views

(0) ShareShare
ReportReport
Posted on by 10
Hi All;
 
I have created a view with WORKCALENDARDATE table. This WorkCalenderTable  contains a filed WorkTimecontrol which gives the status of that particular day whether it is working day or not.
 
My requirement is: - For a non-working day, I need to get the date of next working day in a new computed column against this date.
 
Below is the sample Data as per my requirement 
 
Trans DateWorktime controlNext Working Day
16-08-2023open16-08-2023
17-08-2023open17-08-2023
18-08-2023open18-08-2023
19-08-2023Closed21-08-2023
20-08-2023Closed21-08-2023
21-08-2023open21-08-2023
22-08-2023Holiday23-08-2023
23-08-2023open23-08-2023
 
Thanks in Advance.
  • Martin Dráb Profile Picture
    Martin Dráb 230,846 Most Valuable Professional on at
    How get next working date a computed column in d365fo Views
    Yes, I got it, but I don't know what problem you have with it. Please see the suggestion I gave you in the previous reply.
     
    Or are you looking for someone to hire to develop it for you?
  • Prem Profile Picture
    Prem 10 on at
    How get next working date a computed column in d365fo Views
    Hi Martin;
     
    Thanks for your reply.
     
    I need the logic to create NextWorkingDay Computed Column as per the requirement.
     
    Thank you.
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,846 Most Valuable Professional on at
    How get next working date a computed column in d365fo Views
    What exactly do you need from us? Does it mean that you don't know how to create a computed column or you don't know what logic to use there?
     
    I think you just need to find the first record (when sorted by TransDate) with open status and TransDate higher that TransDate of the current record.

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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans