Solved

Days invoice outstanding

  • 21 March 2023
  • 3 replies
  • 79 views

Userlevel 2
Badge

We are trying to get the number of days an invoice is outstanding.  I am trying to use  =(([ARInvoice.DRSchedCntr]) - Today()) to get the numbers of days, but I get an error.  What would be a better formula?

icon

Best answer by Robert Sternberg 21 March 2023, 15:23

View original

3 replies

Userlevel 7
Badge +4

Hi @MComan62! You could use something like DateDiff() to get the difference between these two dates.

=DateDiff(‘d’, Today(), [ARInvoice.DRSchedCntr])

Have you already tried this?

Userlevel 7
Badge +8

Have you tried using DateDiff().  You could try:

=CDec( DateDiff( 'd', [ARInvoice.DueDate], Today()) )

 

Userlevel 2
Badge

Robert, thank you.  I had tried DateDiff with no success.  I gotta learn all these syntax someday.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved