BAQ Calculation

I am having trouble with the correct syntax for PartTran.TranDate - @Today

In E9 it was simply: PartTranUsage.TranDate - Today

I am trying to return the number of days from the last transaction to today. Any suggestions from anyone?
Thanks in advance!

Carol

DATEDIFF(d,PartTran.TranDate,GETDATE())

should do it. You can use the Epicor TODAY constant instead of GETDATE() if you like.

1 Like

Thank you for the help!

Thank you for the help … I so appreciate the timely response!

Carol