【采购建议报表】到货数量改了待上架数量
This commit is contained in:
parent
f4bd912c9a
commit
de31eae197
|
|
@ -200,7 +200,7 @@ public class PurSuggestRptFromPlugin extends AbstractFormPlugin implements Plugi
|
|||
"AND cInvoiceTitle NOT LIKE '%广州励齿%'AND Status != '草稿' AND cInvCode NOT LIKE 'ZF%') AS combined GROUP BY cInvCode) AS a WHERE a.RowNum <= 2000 ORDER BY a.RowNum;";
|
||||
|
||||
//已收货未上架数量
|
||||
String pendingsql = "/*dialect*/select '1' tqq9_isauto,t2.fmaterialid tqq9_purordermaterial,t1.forgid tqq9_org,sum(t2.fk_tqq9_dhsl) tqq9_pendingqty \n" +
|
||||
String pendingsql = "/*dialect*/select '1' tqq9_isauto,t2.fmaterialid tqq9_purordermaterial,t1.forgid tqq9_org,sum(t2.fk_tqq9_ckqty) tqq9_pendingqty \n" +
|
||||
"from t_pm_receiptnotice t1,t_pm_receiptnoticeentry t2 where t1.fid=t2.fid and fbillstatus='C' GROUP BY t2.fmaterialid,t1.forgid";
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue