Hi all, With a saved search for transactions (type...
# general
b
Hi all, With a saved search for transactions (type: sales order), I’m trying to get different line items from system information with specific values for field column. But I get multiple duplicate rows for same sales order. I have removed main line and tax line from the criteria. Does anyone know here how do I filter more to get unique rows for a record? thanks
n
can you post some criteria and result values you are using? (hard to know what to suggest without seeing what you are already)
b
This is the criteria I have
These are the columns for results
These are the results.. You can see for the same record, there are multiple duplicate rows. The
new value
column with same value repeats for 18 times for this specific record
There are more lines for this same record
p
You have asked it for every occurrence of Ship Date changing. And that’s what it’s given you. What do you want it to show you? Which date is the one you want to see and how would we programmatically work it out?
b
it’s not the ship date I’m worried about.. it’s the value in the column
NEW VALUE
that repeats for 18 times.. which I’m not able to show all of them here in the screenshot
k
Does your order have multiple lines? You'll need to filter your results to just mainline
b
use a mainline filter in combination with the System Note join
alternatively use the Line System Note join if you want the line ship date
b
I had
main line
set to false. I thought that’s how I get the line items. Well with
main line
set to true, I’m getting less lines.. Thanks so much guys
k
With mainline set to false - you get the item/expense lines
The problem with that is - if you have 3 system notes - and 6 lines - you'll get 18 results. One for each combination
b
got it
k
It gets even worse if you do a secondary join - such as to a related record that has multiple lines
You would then see 3*6*6 results.
b
thanks for that explanation