Skip to main content
Solved

DateDiff Crashing Generic Inquiries

  • January 29, 2024
  • 4 replies
  • 89 views

Forum|alt.badge.img+8

Hello everybody,

Myself and a couple of colleagues have been facing an issue where the use of DateDiff in a GI causes the server to crash.

This occurs when attempting to save, the save just goes on and on and on.

 

Thanks,

 

Aleks

 

Best answer by aiwan

I got it to work.

 

Seemingly, it was the fact that the two fields, [SOOrder.CreatedDateTime] & [SOInvoice.DocDate] also being in the results grid which made it crash.

4 replies

dcomerford
Captain II
Forum|alt.badge.img+15
  • Captain II
  • January 29, 2024

Can you share the GI so we can look


Forum|alt.badge.img+8
  • Author
  • Captain II
  • January 29, 2024

Hi @dcomerford,

XML attached below. The DateDiff is also missing the interval of days, because it keeps crashing when i attempt to save it. 


Forum|alt.badge.img+8
  • Author
  • Captain II
  • Answer
  • January 29, 2024

I got it to work.

 

Seemingly, it was the fact that the two fields, [SOOrder.CreatedDateTime] & [SOInvoice.DocDate] also being in the results grid which made it crash.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • January 29, 2024

Thank you for sharing your solution with the community @aiwan!