lholodnak
IS-IT--Management
- Mar 26, 2004
- 21
Hi all, using crystal 10, with oracle tables. My enduser needs a report that shows all service requests that have a work order was responded to within 2 hours but that also has a work code of "RPR". One Service Request can have many work orders attached to it. I have a formula that calulates the date diff to find all the response times (If {@Convert date to number} <= 2 then 1 else 0) Example of my records are:
sr 1423
wo1 work code INV 1 (1 from the formula)
wo2 work code RPR (null from the formula)
wo3 work code ISP 1 (1 from the formula)
I need to distinctcount all sr's that have a work code of RPR but also has a work code of INV that was responded to in 2 hours or less. Wo2 above does not have a date because the crew has not been assigned to the job, so I get a null field for RPR. Just can't seem to get this one. Thanks, Lisa
sr 1423
wo1 work code INV 1 (1 from the formula)
wo2 work code RPR (null from the formula)
wo3 work code ISP 1 (1 from the formula)
I need to distinctcount all sr's that have a work code of RPR but also has a work code of INV that was responded to in 2 hours or less. Wo2 above does not have a date because the crew has not been assigned to the job, so I get a null field for RPR. Just can't seem to get this one. Thanks, Lisa