Hi all,
Happy New Year!
Been going in circles on this one… I’m trying to pull together a somewhat straightforward BAQ that only looks at QuoteHed, to bring back all quotes due to expire within the next 2 weeks.
I’ve tried switching the operations to => and then when I switch the operation to <= it works and shows all the quotes from current date – 2 weeks but when I try to look out to the future, it doesn’t pull back any records.
Can anyone see what I’m missing at all please? Thank you as always in advance!!
I’ve included some quotes in the system that have an expiration date within the next 2 weeks that should be appearing in the BAQ results.
select
[QuoteHed].[QuoteNum] as [QuoteHed_QuoteNum],
[QuoteHed].[EntryDate] as [QuoteHed_EntryDate],
[QuoteHed].[CurrentStage] as [QuoteHed_CurrentStage],
[QuoteHed].[ExpirationDate] as [QuoteHed_ExpirationDate],
[QuoteHed].[ProjectDesc_c] as [QuoteHed_ProjectDesc_c],
[QuoteHed].[ChangedBy] as [QuoteHed_ChangedBy]
from Erp.QuoteHed as [QuoteHed]
where (QuoteHed.ExpirationDate = dateadd(week, 2, Constants.Today))