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

Re: Goods Isuue with Batch Number wise.

$
0
0

Hi Santosh,

Put "For Browse " at the end of Query.

Select Distinct C.DocNum,B.ItemCode, 'Issued Qty'= CASE When BatchNum is null then B.Quantity Else A.Quantity End, B.DocDate,A.BatchNum,'Issue Type'= CASE When B.BaseType=202 then 'Issue For Production' Else 'Good Issue' End From IGE1 B Left Outer Join IBT1_LINK A on  A.ItemCode=B.ItemCode and A.BaseEntry=B.DocEntry and A.Direction=1 Inner Join OIGE C on C.DocEntry=B.DocEntry where C.DocDate between [%0] and [%1] For Browse

 

 

If you are talking about table linking then auto option will not work here. You have to use force linking concept through Inner join or Left outer join in Query generator. Auto generate option will work on table to table but you are using view then it'll not work automatically. IBT1 and IBT1_link both are views not table.


Viewing all articles
Browse latest Browse all 9159

Trending Articles



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