Commit 3804bd29 authored by ssurve's avatar ssurve

Group by added


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95254 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 50f90f8f
...@@ -170,7 +170,7 @@ BEGIN ...@@ -170,7 +170,7 @@ BEGIN
EXIT WHEN dtl_cur%NOTFOUND; EXIT WHEN dtl_cur%NOTFOUND;
begin begin
select sum(quantity__resale),sum(quantity__inv) into podqty_sum,inv_qty from spl_sales_por_det where tran_id = ls_podtranid group by item_code ; select sum(quantity__resale),sum(quantity__inv) into podqty_sum,inv_qty from spl_sales_por_det where tran_id = ls_podtranid group by item_code,lot_no,lot_sl,line_no__trace ;
if podqty_sum < inv_qty then if podqty_sum < inv_qty then
cnumber :=1; cnumber :=1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment