2020-08-24 10:58发布
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)尊敬的专家, 我们在HANA上... 显示全部
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
尊敬的专家,
我们在HANA上拥有SAP Business One。 我们能得到一份关于慢速和不动项的报告吗? 我们尚未激活物料的批号。 我们从2018年10月开始直播。 是否有任何可用的现成查询报告可用于获取慢速和不运动物品的报告。 此报告的一般理解是,不超过6个月但不超过2年的物料移动缓慢,任何不超过2年的物料都被视为不移动。
请让我知道是否有此类报告
致谢
Yogish Shenoy
嗨,那是Yogish。
尝试此查询,让我知道它是否适合您。
选择不同的T0.ITEMCODE,T0.ONHAND作为"总数量",T1.AvgPrice"平均价格",T1。[ManSerNum],当Datediff(day,T1.LASTPURDAT,GETDATE())< 45 THEN T0.ONHAND END'<1 1/2个月(数量)', Datediff(day,T1.LASTPURDAT,GETDATE())<45 THEN T0.ONHAND * T1.AVGPRICE END'<1 1/2个月(值)',当DateDiff(day,T1.LASTPURDAT,GETDATE())> = 45并且DateDiff(day,T1.LASTPURDAT,GETDATE())<90 THEN T0.ONHAND END'1时 1/2至3个月(数量)',当DateDiff(day,T1.LASTPURDAT,GETDATE())> = 45并且DateDiff(day,T1.LASTPURDAT,GETDATE())<90 THEN T0.ONHAND时 * T1.AVGPRICE END'1 1/2至3个月(值)',当DateDiff(day,T1.LASTPURDAT,GETDATE())> = 90 AND DateDiff(day,T1.LASTPURDAT,GETDATE() )<180 THEN T0.ONHAND END'3 to 6 Months(Qty)',当DateDiff(day,T1.LASTPURDAT,GETDATE())> = 90 AND DateDiff(day,T1.LASTPURDAT,GETDATE() )<180 THEN T0.ONHAND * T1.AVGPRICE END'3 to 6 Months(Value)',当DateDiff(day,T1.LASTPURDAT,GETDATE())> =时 180 AND DateDiff(day,T1.LASTPURDAT,GETDATE())<360 THEN T0.ONHAND END'6 to 12 Months(Qty)',当DateDiff(day,T1.LASTPURDAT,GETDATE())> = 180 AND DateDiff(day,T1.LASTPURDAT,GETDATE())<360 THEN T0.ONHAND * T1.AVGPRICE END'6 to12 Month(Value)',当DateDiff(day,T1.LASTPURDAT,GETDATE() )> = 360 AND DateDiff(day,T1.LASTPURDAT,GETDATE())<540 THEN T0.ONHAND END '12 to 18 Month(Qty)',当DateDiff(day,T1.LASTPURDAT,GETDATE() )> = 360 AND DateDiff(day,T1.LASTPURDAT,GETDATE())<540 THEN T0.ONHAND * T1.AVGPRICE END '12 to18 Month(Value)',当DateDiff(day,T1.LASTPURDAT, GETDATE())> = 540并且DateDiff(day,T1.LASTPURDAT,GETDATE())<720然后T0.ONHAND END '18 to 24 Month(Qty)',当DateDiff(day,T1.LASTPURDAT, GETDATE())> = 540 AND DateDiff(day,T1.LASTPURDAT,GETDATE())<720 THEN T0.ONHAND * T1.AVGPRICE END '18 to 24 Months(Value)',当Datediff(day, T1.LASTPURDAT,GETDATE())> = 720然后T0.ONHAND END'> 2 Years(Qty)', CAS E当Datediff(day,T1.LASTPURDAT,GETDATE())> = 720然后T0.ONHAND * T1.AVGPRICE结束'> 2 Years(Value)'从OITW T0内联接OITM T1到T0.ITEMCODE = T1 .ITEMCODE在T1上的内部联接OITB T2.ITMSGRPCOD = T2.ITMSGRPCOD在t3上的ibt1 t3左联接。 %0]'
最多设置5个标签!
嗨,那是Yogish。
尝试此查询,让我知道它是否适合您。
选择不同的T0.ITEMCODE,T0.ONHAND作为"总数量",T1.AvgPrice"平均价格",T1。[ManSerNum],
当Datediff(day,T1.LASTPURDAT,GETDATE())< 45 THEN T0.ONHAND END'<1 1/2个月(数量)',
Datediff(day,T1.LASTPURDAT,GETDATE())<45 THEN T0.ONHAND * T1.AVGPRICE END'<1 1/2个月(值)',当DateDiff(day,T1.LASTPURDAT,GETDATE())> = 45并且DateDiff(day,T1.LASTPURDAT,GETDATE())<90 THEN T0.ONHAND END'1时 1/2至3个月(数量)',当DateDiff(day,T1.LASTPURDAT,GETDATE())> = 45并且DateDiff(day,T1.LASTPURDAT,GETDATE())<90 THEN T0.ONHAND时 * T1.AVGPRICE END'1 1/2至3个月(值)',当DateDiff(day,T1.LASTPURDAT,GETDATE())> = 90 AND DateDiff(day,T1.LASTPURDAT,GETDATE() )<180 THEN T0.ONHAND END'3 to 6 Months(Qty)',
当DateDiff(day,T1.LASTPURDAT,GETDATE())> = 90 AND DateDiff(day,T1.LASTPURDAT,GETDATE() )<180 THEN T0.ONHAND * T1.AVGPRICE END'3 to 6 Months(Value)',
当DateDiff(day,T1.LASTPURDAT,GETDATE())> =时 180 AND DateDiff(day,T1.LASTPURDAT,GETDATE())<360 THEN T0.ONHAND END'6 to 12 Months(Qty)',
当DateDiff(day,T1.LASTPURDAT,GETDATE())> = 180 AND DateDiff(day,T1.LASTPURDAT,GETDATE())<360 THEN T0.ONHAND * T1.AVGPRICE END'6 to12 Month(Value)',
当DateDiff(day,T1.LASTPURDAT,GETDATE() )> = 360 AND DateDiff(day,T1.LASTPURDAT,GETDATE())<540 THEN T0.ONHAND END '12 to 18 Month(Qty)',
当DateDiff(day,T1.LASTPURDAT,GETDATE() )> = 360 AND DateDiff(day,T1.LASTPURDAT,GETDATE())<540 THEN T0.ONHAND * T1.AVGPRICE END '12 to18 Month(Value)',
当DateDiff(day,T1.LASTPURDAT, GETDATE())> = 540并且DateDiff(day,T1.LASTPURDAT,GETDATE())<720然后T0.ONHAND END '18 to 24 Month(Qty)',
当DateDiff(day,T1.LASTPURDAT, GETDATE())> = 540 AND DateDiff(day,T1.LASTPURDAT,GETDATE())<720 THEN T0.ONHAND * T1.AVGPRICE END '18 to 24 Months(Value)',
当Datediff(day, T1.LASTPURDAT,GETDATE())> = 720然后T0.ONHAND END'> 2 Years(Qty)',
CAS E当Datediff(day,T1.LASTPURDAT,GETDATE())> = 720然后T0.ONHAND * T1.AVGPRICE结束'> 2 Years(Value)'
从OITW T0内联接OITM T1到T0.ITEMCODE = T1 .ITEMCODE在T1上的内部联接OITB T2.ITMSGRPCOD = T2.ITMSGRPCOD在t3上的ibt1 t3左联接。 %0]'
一周热门 更多>