select distinct msi.segment1            编码 ,

msi.description                      描述  ,

msi.primary_unit_of_measure 单位 ,

msi.inventory_item_status_code 状态 ,

flv.MEANING                    物料类型 ,

catb1.segment1               库存大类 ,

catb1.segment2               库存小类 ,

msi.creation_date            创建时间

from inv.mtl_system_items_b msi,

applsys.fnd_lookup_values flv,

inv.mtl_categories_b catb1,

inv.mtl_item_categories cat 1,

apps.mfg_lookups  lkp

where msi.organization_id=X

and flv.lookup_type='ITEM_TYPE' and lkp.LOOKUP_TYPE(+) =  'WIP_SUPPLY'

and lkp.LOOKUP_CODE(+) = msi.wip_supply_type

and flv.language='ZHS'

and msi.item_type=flv.lookup_code

and catb1.category_id(+) =  cat1.category_id

and msi.inventory_item_id=cat1.inventory_item_id(+)

and cat1.category_set_id(+)=1 --and msi.item_type in ('P','SA','FG')

and msi.inventory_item_status_code not like 'In%'

--and msi.description not like '%工具备件%'

and decode(catb1.segment1,'','0',catb1.segment1) ='0'

order by msi.segment1

Oracle EBS-SQL (BOM-13):检查未定义库存分的物料类.sql的更多相关文章

  1. Oracle EBS 隐藏帮助-诊断-检查

  2. MS SQL巡检系列——检查外键字段是否缺少索引

    前言感想:一时兴起,突然想写一个关于MS SQL的巡检系列方面的文章,因为我觉得这方面的知识分享是有价值,也是非常有意义的.一方面,很多经验不足的人,对于巡检有点茫然,不知道要从哪些方面巡检,另外一方 ...

  3. Oracle EBS DBA常用SQL - 安装/补丁【Z】

    Oracle EBS DBA常用SQL - 安装/补丁 检查应用补丁有没有安装:select bug_number,last_update_date from ad_bugs where bug_nu ...

  4. Oracle EBS中分类账和法人实体 的关系(有sql语句实例)

    Oracle EBS中分类账和法人实体 的关系(有sql语句实例) 2012-12-06 16:05 2822人阅读 评论(0) 收藏 举报  分类: Oracle EBS(12)  Oracle数据 ...

  5. PL SQL Developer 13连接Oracle数据库并导出数据

    下载 并安装 PL SQL Developer 13,默认支持中文语言 ============================= 注册码: product code: 4vkjwhfeh3ufnqn ...

  6. [转]oracle EBS 基础100问

    from:http://www.cnblogs.com/xiaoL/p/3593691.html  http://f.dataguru.cn/thread-51057-1-1.html 1001 OR ...

  7. Oracle EBS应用笔记整理 (转自IT++ flyingkite)

    ***************************************************** Author: Flyingkite Blog:   http://space.itpub. ...

  8. Oracle EBS R12 (12.1.3) Installation Linux(64 bit)

    Oracle EBS R12 (12.1.3) Installation Linux(64 bit) Contents Objective. 3 1 Download & Unzip. 3 D ...

  9. Oracle EBS R12 WIP Component Issue&Return Process

    oracleassemblytransactionscomponentsjobsreference 目录(?)[-] 定义BOM 定义Routing 定义WIP Discrete Job 发料 Mat ...

随机推荐

  1. MySql优化方案

    mysql优化方案总结 u       Mysql数据库的优化技术 对mysql优化时一个综合性的技术,主要包括 a: 表的设计合理化(符合3NF) b: 添加适当索引(index) [四种: 普通索 ...

  2. Entity Framewor中的 Migration

    http://www.entityframeworktutorial.net/code-first/code-based-migration-in-code-first.aspx = Code bas ...

  3. ASP.NET C# 有程序集加不了解决办法

    在项目中添加app.config 获取在 web.config 添加 <?xml version="1.0"?> <configuration> <s ...

  4. android widget->progressbar

    其中的indeterminteDrawable属性就是用来设置进度条颜色等属性的

  5. DEP受保护的问题(尤其是Outlook)

    We see this issue quite regularly as we use MAPI and lots of our users run our application on TS. Of ...

  6. linux系统怎么改为中文版(转)

    linux系统安装好后怎么改为中文版呢?今天就跟大家介绍下linux系统改为中文版的方法,希望能帮助到大家! 以下是linux系统改为中文版的四种方法,一起来看看: 方法1:写入环境变量 echo & ...

  7. 100个linux站点

    (一) 文件下载 (二) 幽默娱乐 (三) 相关新闻 (四) 通用硬体 (五) 专用硬体 (六) 新手站点 (七) 图形/多媒体 (八) 游戏站点 (九) 网路杂志 (十) 入口(教育.链结) (十一 ...

  8. Handler机制原理图、源码、使用!!!!!

    android的消息处理机制——Looper,Handler,Message  (原理图.源码) 转自:http://my.oschina.net/u/1391648/blog/282892 在开始讨 ...

  9. cURL.1 手册页

    摘自http://blog.csdn.net/huangxy10/article/details/45717793 cURL.1 手册页 名称 cURL - transfer a URL 摘要 cUR ...

  10. redi中删除所有的数据

    EVAL "return redis.call('del', unpack(redis.call('keys', ARGV[1])))" 0 *