Skip to main content
Solved

Scheduled Start Date not working as Parameter

  • December 4, 2024
  • 4 replies
  • 35 views

Forum|alt.badge.img

Dealing with an odd situation where I have built a GI with parameters that looks at completed appointments but it is not pulling correctly based on the dates.

 

The goal is to use the parameters to select a From Date and a To Date so we can see all the appointments within. The field we need to use however is the FS.Appointment.ScheduledStartDate - the scheduled start date is more accurate than execution date because our team does not necessarily update their appointments same day.

 

When I filter between two dates (ex. Nov 11 - Nov 22), the appointments on November 22nd are not shown, they are filtered out. This appears to be because these have an execution date of Nov 25. My parameters and my conditions are all looking at Scheduled Start Date but they still seem to filter on/off based on an execution date. I’m unable to figure out why this is happening.

 

Here is the table - you can see the To Date is set to Nov 22, but the data is shown only up to Nov 21.

When I change the To Date to Nov 25, you can see the appointments dated Nov 22 now show up - these appointments occurred on Nov 22 but were entered into Acumatica (Start/Stop) on Nov 25.

When reviewing the GI details, everything appears to be configured correctly.

Parameters:

Conditions:

Is there something wrong with the FSAppointment.ScheduledDateTimeBegin field? Not sure if anyone has experienced similar problem. Would love someone to validate if they see same issue.

Best answer by darylbowman

If you specify =DateAdd([ToDate],'d',1) as your condition value, do they show up correctly?

View original
Did this topic help you find an answer to your question?

4 replies

darylbowman
Captain II
Forum|alt.badge.img+13
  • 1712 replies
  • Answer
  • December 4, 2024

If you specify =DateAdd([ToDate],'d',1) as your condition value, do they show up correctly?


Forum|alt.badge.img
  • Author
  • Varsity III
  • 112 replies
  • December 4, 2024
darylbowman wrote:

If you specify =DateAdd([ToDate],'d',1) as your condition value, do they show up correctly?

That did seem to work … why is that? 


darylbowman
Captain II
Forum|alt.badge.img+13

I’m guessing the date parameter you choose has a hidden time of 00:00:00 (12a) which is obviously less than any other time that day, which would cause all your appointments for that day to fail unless they were created at exactly 12a.


Forum|alt.badge.img
  • Author
  • Varsity III
  • 112 replies
  • December 4, 2024
darylbowman wrote:

I’m guessing the date parameter you choose has a hidden time of 00:00:00 (12a) which is obviously less than any other time that day, which would cause all your appointments for that day to fail unless they were created at exactly 12a.

Ah that would make sense! Thanks for the help


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings