zoukankan      html  css  js  c++  java
  • Oracle EBS-SQL (PO-13):检查采购物料无一揽子协议价格.sql

    Select
           msi.segment1                               物料编码,
           msi.DESCRIPTION                         物料描述,
           msi.primary_unit_of_measure     主计量单位
    FROM
            inv.MTL_SYSTEM_ITEMS_b  msi
    WHERE
             msi.organization_id = X
      AND MSI.INVENTORY_ITEM_ID NOT IN (
                SELECT
                          MSI.INVENTORY_ITEM_ID
                  FROM
                          PO.PO_LINES_ALL PLA,
                          PO.PO_HEADERS_ALL         PHA,
                          INV.MTL_SYSTEM_ITEMS_B MSI,
                          po.po_vendors                      pv,
                          po.po_vendor_sites_all         pvs,
                          po.po_line_locations_all       PLLA
                WHERE
                         PLA.PO_HEADER_ID=PHA.PO_HEADER_ID
                         AND PLA.ITEM_ID=MSI.INVENTORY_ITEM_ID
                         AND MSI.ORGANIZATION_ID=X
                         AND PHA.ORG_ID=PLA.ORG_ID
                         AND PHA.ORG_ID=Y
                         AND PLLA.PO_HEADER_ID=PLA.PO_HEADER_ID
                         AND PLLA.PO_LINE_ID=PLA.PO_LINE_ID
                         and pha.vendor_id=pv.vendor_id
                         and pv.vendor_id=pvs.vendor_id
                         and plla.org_id=pla.org_id
                         and pha.TYPE_LOOKUP_CODE='BLANKET'
                         AND PLA.CLOSED_CODE IS NULL
                         AND pha.closed_code IS NULL)
                         AND MSI.ITEM_TYPE='P'

  • 相关阅读:
    搭建NLP相关的python环境
    win10 系统更新后系统第三方软件无法切换微软拼音输入中文
    NLP文本清理时常用的python小函数
    python 复制
    #论文阅读# Universial language model fine-tuning for text classification
    conda 里的 jupyter
    #论文阅读#attention is all you need
    关于多类别分类任务
    大白话AOP
    搭建JavaEE项目是遇到的几个问题
  • 原文地址:https://www.cnblogs.com/st-sun/p/3780515.html
Copyright © 2011-2022 走看看