码迷,mamicode.com
首页 > 其他好文 > 详细

查询 EBS 系统物料净重、毛重

时间:2018-03-15 00:32:02      阅读:3653      评论:0      收藏:0      [点我收藏+]

标签:order   run   for   weight   mat   inventory   单位   mic   distinct   

/* Formatted on 2018/3/14 23:40:47 (QP5 v5.256.13226.35538) */

SELECT DISTINCT MSI.SEGMENT1 || ‘,‘ 物料编码

              , MSI.DESCRIPTION 物料名称

              , MSI.UNIT_WEIGHT 毛重

              , MSI.WEIGHT_UOM_CODE 毛重单位

              , MSI.UNIT_VOLUME 净重

              , MSI.VOLUME_UOM_CODE 净重单位

  FROM MTL_SYSTEM_ITEMS_FVL MSI

 WHERE 1 = 1

   AND MSI.INVENTORY_ITEM_STATUS_CODE = ‘Active‘

--   AND MSI.SEGMENT1 LIKE ‘82%‘                                                                                                                  --物料编码

--and (MSI.UNIT_WEIGHT is null or MSI.UNIT_VOLUME is null)     order by 1

查询 EBS 系统物料净重、毛重

标签:order   run   for   weight   mat   inventory   单位   mic   distinct   

原文地址:https://www.cnblogs.com/quanweiru/p/8570897.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!