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)

  • 相关阅读:
    vue组件重新加载的方法
    事件触发方法获取当前值的写法 (含方法要传2个参数的写法)
    mac 解压 rar压缩文件
    表格
    小米8安装charles证书方法
    视频结构化技术栈全解析
    多目标跟踪全解析,全网最全
    SpringBoot
    技术方案设计的方法
    Java的强引用、软引用、弱引用、虚引用
  • 原文地址:https://www.cnblogs.com/st-sun/p/3781868.html
Copyright © 2011-2022 走看看