Quantcast
Channel: SCN : Popular Discussions - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 1302

SQL FOR CRYSTAL REPORTS

$
0
0

This the the SQL Query for which I keep receive the error qty completed is ambigious. I only want the report to pull the information from jobs that are still not completed.

 

SELECT "job_hdr"."order-no", "job_hdr"."name", "job_routing"."oper-no", "job_routing"."work-ctr", "job_routing"."start-date", "job_routing"."end-date", "job_routing"."QtyToMfg", "job_routing"."QtyCompleted", "job_hdr"."req-date"

FROM   "E100LIVE"."PUB"."job-routing" "job_routing" INNER JOIN "E100LIVE"."PUB"."job-hdr" "job_hdr" ON ("job_routing"."company"="job_hdr"."company") AND ("job_routing"."order-no"="job_hdr"."order-no")

WHERE "qtycompleted"= "0.00"

ORDER BY "job_hdr"."name"


Viewing all articles
Browse latest Browse all 1302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>