Hi,
Here's what's confusing me.
I have detail lines that look basically like this:
Cust Invoice Line BOM LineAmt BOMAmt Process
Bob 209 1 1 750 100 309
Bob 209 1 1 750 100 702
Bob 209 1 1 750 100 302
Bob 209 1 2 750 150 909
Bob 209 1 2 750 150 222
Bob 209 2 1 600 200 233
Bob 209 2 1 600 200 666
Bob 209 2 2 600 101 888
The same BOM can appear several times because I'm pulling data from tables that also handle physical processing details.
I need to only pull BOMAmt and LineAmt once (last instance). So at the BOM group level, I have 250, and then at Line group level I have 1000.
From there, everything can just be summed.