Oracle EBS-SQL (BOM-18):检查BOM与工艺路线对照.sql

/*有工艺路线,无BOM清单*/

select msi.segment1,

         msi.description

from apps.BOM_OPERATIONAL_ROUTINGS bor,

        apps.mtl_system_items_b msi

where msi.organization_id=Y

   and   bor.organization_id=msi.organization_id

   and   bor.assembly_item_id=msi.inventory_item_id

   and   not exists (select 'X'

                             from   apps.BOM_BILL_OF_MATERIALS bbom

                           where   bbom.assembly_item_id=bor.assembly_item_id

                              and    bbom.organization_id=bor.organization_id)

 --------------------------------------------------------------------------------------------                

/*无工艺路线,有BOM清单*/

select msi.segment1,

         msi.description

 from apps.BOM_BILL_OF_MATERIALS bbom,

         apps.mtl_system_items_b msi

where msi.organization_id=Y

   and   bbom.organization_id=msi.organization_id

   and   bbom.assembly_item_id=msi.inventory_item_id

   and   not exists (select 'X'

                             from   apps.BOM_OPERATIONAL_ROUTINGS bor

                           where   bor.assembly_item_id=bbom.assembly_item_id

                              and    bor.organization_id=bbom.organization_id)

posted on   st.sun  阅读(688)  评论(0编辑  收藏  举报

(评论功能已被禁用)
编辑推荐:
· 开发中对象命名的一点思考
· .NET Core内存结构体系(Windows环境)底层原理浅谈
· C# 深度学习:对抗生成网络(GAN)训练头像生成模型
· .NET 适配 HarmonyOS 进展
· .NET 进程 stackoverflow异常后,还可以接收 TCP 连接请求吗?
阅读排行:
· 本地部署 DeepSeek:小白也能轻松搞定!
· 基于DeepSeek R1 满血版大模型的个人知识库,回答都源自对你专属文件的深度学习。
· 在缓慢中沉淀,在挑战中重生!2024个人总结!
· 大人,时代变了! 赶快把自有业务的本地AI“模型”训练起来!
· Tinyfox 简易教程-1:Hello World!
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

点击右上角即可分享
微信分享提示