I have to process in an sql as follows. each order is made up of many detail rows. I only need to look at one table, TRA99.
Order number TRAN CODE
123 QEE
123 @23
123 ABC
I want all the Order # which have 'QEE' or 'QNE'. These are QUote codes. I want a crystal report that will tell us, which quotes orders' converted to a real order and which did not.
then if they have as well @23, this tells me that the order was converted or became an actual order. I am not sure how to do this in 1 sql query i was thinking to create a view for all QEE and QNE codes. then run a second query against that looking for @23.