Hi Ankit, thanks for your help! I use the CAST(QT.CreateDate As Date) > DATEADD(DD, -1, GETDATE()) )
because I just want customers that have put over their balance and credit limit by the quote in the last 24 hours, that put them over their limit?
Other words, it returns all quotes that ever put a customer over their balance + credit limit.
Thanks again,
Mike
I have implemented your change to validate and will post back when finished. If you have any solutions for the last 24hrs, that would also be appreciated.
Mike