产成品入库报表
小于 1 分钟
代码示例
SELECT T1.[BaseEntry] AS '生产单号', T0.[DocDate], T0.[DocNum] AS '收货单号', T1.[ItemCode], T1.[Dscription]
, T1.[Quantity], T1.[WhsCode]
FROM OIGN T0
INNER JOIN IGN1 T1 ON T0.[DocEntry] = T1.[DocEntry]
WHERE T1.[BaseType] = '202'
AND T0.[DocDate] >= [%0]
AND T0.[DocDate] <= [%1]