跳至主要內容

入库记录查询

五六零网校小于 1 分钟

代码示例

SELECT T0.[DocDate], T1.[ItemCode], T1.[Dscription], T1.[Quantity]
FROM OPDN T0
	INNER JOIN PDN1 T1 ON T0.[DocEntry] = T1.[DocEntry]
WHERE T0.[CANCELED] = 'N'
	AND T0.[DocDate] >= [%0]
	AND T0.[DocDate] <= [%1]
ORDER BY T0.[DocNum] DESC