Hello! I need to add a case statement in my search...
# general
s
Hello! I need to add a case statement in my search- is anyone good at that? 🙂
o
what do you need?
s
i need to pull the discounts for the month of september
message has been deleted
my results criteria is:
i think i have to add case statements as a formula
o
is amount discount not returning what you need?
s
correct- it returns zero
o
hmm.
s
apparently it returned something before
o
like, last month it worked?
s
message has been deleted
i am told last month it worked. this is not my original search.
o
ok let's do this: change your date criteria to include august and september, remove all your grouping on the search, and remove the main line = true criteria (you may want to save this as a side-search not to mess up the live one)
when you run it, I want to see if we can see lines where Amount Discount has values
(basically, I don't think you need any formulas, we just need to debug this search)
s
kk lets see... i wont save the search, just clicking
preview
It is now running.
It is still running and i am afraid it will time out
o
ok then try reducing it to run only for august
how many invoice lines you guys have per month6
?
s
invoice lines? in 1 order pwople can order from 1 thing - 100!
or more
o
any luck on getting results?
k
I would look at the audit trail and see what changed
Granted it's plausible that you have changes something else about your way you are entering transactions
s
@Olivier Gagnon (DXC) it allowed me to see transactions but discount amount still zero...
I opened a case with NS... they are still looking at it.
They couldn’t help lol I ended up figuring it out myself
k
What did it turn out to be?