zoukankan      html  css  js  c++  java
  • 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)

  • 相关阅读:
    TCP/IP研究(1)-Timer(2)
    linux学习
    TCP/IP研究(2)-TCB
    vi学习笔记
    TCP/IP研究(1)-Timer
    yxr:Makefile 简单样本
    zt:vim环境配置
    zt:文件轻松比对,伟大而自由的比较软件们
    就是这么简单!使用Rest-assured 测试Restful Web Services
    手把手教你接口自动化测试 – SoapUI & Groovy
  • 原文地址:https://www.cnblogs.com/st-sun/p/3781868.html
Copyright © 2011-2022 走看看