select ID,DocDate,Grade,StockLocationName from dispatch where Status ='Dispatched' and OrderFlag='PreOrder' and DispatchOrderID NOT IN(Select PreOrderDOID from orders WHERE PreOrderDOID IS NOT NULL)
anyone write the query for this
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bhavesh JadavRank #1,731 · 875 reputationPosted Mar 29, 2018, 4:38 AM EDT
Bhavesh JadavRank #1,731 · 875 reputationPosted Mar 29, 2018, 4:16 AM EDT
ejaz mirzaRank #2,930 · 491 reputationPosted Mar 31, 2018, 11:50 PM EDT
Bhavesh JadavRank #1,731 · 875 reputationPosted Mar 31, 2018, 11:35 PM EDT
Bhavesh JadavRank #1,731 · 875 reputationPosted Apr 1, 2018, 12:01 AM EDT
Thanks.