I have a table with sales order numbers and for each part on the sales order there is a seperate entry.
i.e. if there are three parts sold on sales order 123, there is an entry for each part number, totalling three entries with the sales order value of 123
I need to pull all of the entries for all of the sales orders that have a particular part number. So if Sales Order 123 has a part B, then I need to pull all three entries for sales order 123. However, if sales order 456 has four entries and none of them are of the value B, then they need to be excluded.
Make sense? I hope you can help, thanks in advance!
i.e. if there are three parts sold on sales order 123, there is an entry for each part number, totalling three entries with the sales order value of 123
I need to pull all of the entries for all of the sales orders that have a particular part number. So if Sales Order 123 has a part B, then I need to pull all three entries for sales order 123. However, if sales order 456 has four entries and none of them are of the value B, then they need to be excluded.
Make sense? I hope you can help, thanks in advance!