Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8902

Re: Need a Query to find Unassigned Price Lists

$
0
0

Hi,

 

Try this query:

 

SELECT T1.[ListNum], T1.[ListName] FROM OCRD T0  left JOIN OPLN T1 ON T0.ListNum = T1.ListNum WHERE T0.[ListNum] <> ( select T0.[ListNum] from OCRD t0 where T0.cardcode = [%0]) GROUP BY T1.[ListNum], T1.[ListName]

 

Thanks & Regards,

Nagarajan


Viewing all articles
Browse latest Browse all 8902

Trending Articles