select distinct

msr.sourcing_rule_name                     名称 ,

msi.description                                   说明 ,

msi.item_type                                     类型 ,

msi.inventory_item_status_code           状态 ,

msr.planning_active                       计划生效 ,

msro.effective_date                        有效日期 ,

msro.disable_date                          无效日期 ,

msro.attribute1                              比例月份 ,

decode(msso.source_type,3,'采购来源',2,'制造地点','传送至') 来源类型 ,

msso.vendor_id                                供应商 ,

msso.vendor_site_id                            地点 ,

msso.allocation_percent                        比例 ,

msso.rank                                          优先级

from mrp.MRP_SOURCING_RULES  msr,

mrp.mrp_sr_receipt_org  msro,

mrp.mrp_sr_source_org   msso,

inv.mtl_system_items_b  msi

where msi.organization_id  = x

and msi.organization_id  = msr.organization_id

and msi.segment1 = msr.sourcing_rule_name

and msr.organization_id  = msro.receipt_organization_id

and msr.sourcing_rule_id = msro.sourcing_rule_id

and msro.sr_receipt_id  = msso.sr_receipt_id

and msr.planning_active=2   --供货比例不为100%

--and msso.source_type=3     --采购来源

--and msi.item_type in ('SA','OP')

and msso.allocation_percent >0   --排除比例为0的选项

and msro.disable_date is null

order by msr.sourcing_rule_name

Oracle EBS-SQL (PO-1):检查供货比例异常.sql的更多相关文章

  1. Oracle EBS-SQL (PO-17):检查供货比例不为100%.sql

    select           * from           apps.MRP_SOURCING_RULES msrwhere           organization_id=X.    a ...

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

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

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

  4. Oracle EBS-SQL (PO-8):检查有供货比例无采购员.sql

    select distinct msr.sourcing_rule_name            名称 , msi.description                          说明 , ...

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

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

  6. 转:oracle ebs po模块一揽子采购协议小结

    转自:http://yedward.net/?id=193 oracle ebs po模块一揽子采购协议小结 本文总结oracle ebs采购订单(po)模块一揽子采购协议的相关知识,总结如下: 1. ...

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

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

  8. [转]oracle EBS 基础100问

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

  9. Oracle EBS R12经验谈(二)

    作者: jianping.ni    时间: 2009-2-13 12:52     标题: Oracle EBS R12经验谈(二) OAF页面:银行帐户开户人LOV值列表无值    在输入 应付超 ...

随机推荐

  1. 常用工具类,文件和内存的大小获取,shell脚本的执行

    /* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Versi ...

  2. codeforces 518C. Anya and Smartphone

    C. Anya and Smartphone time limit per test 1 second memory limit per test 256 megabytes input standa ...

  3. CodeForces 203C Photographer

    简单贪心.注意内存够大,能满足所有顾客的特殊情况. #include <iostream> #include <cstring> #include <algorithm& ...

  4. python学习day7

    目录 一.反射 二.socket 三.socketserver 一.反射 python中的反射功能是由以下四个内置函数提供:hasattr.getattr.setattr.delattr,改四个函数分 ...

  5. Windows提供了两种将DLL映像到进程地址空间的方法

    调用DLL,首先需要将DLL文件映像到用户进程的地址空间中,然后才能进行函数调用,这个函数和进程内部一般函数的调用方法相同.Windows提供了两种将DLL映像到进程地址空间的方法: 1. 隐式的加载 ...

  6. Android-PullToRefresh下拉刷新库基本用法

    How:(使用) 转自:http://blog.csdn.net/hantangsongming/article/details/42490277 PullToRefresh是一套实现非常好的下拉刷新 ...

  7. 【具体数学 读书笔记】1.2 Lines in the Plane

    本节介绍平面划分问题,即n条直线最多把一个平面划分为几个区域(region). 问题描述: "What is the maximum number Ln of regions defined ...

  8. Matrix, Her, Transcendence

    The Matrix showed us a traditional perspective of computation theory, which is a hierarchical world ...

  9. Java面向对象知识点精华

  10. ProgressBar、RatingBar和Spinner控件

    1.ProgressBar.SeekBar与RatingBar控件 ProgressBar控件,也就是我们通常的进度条控件,可以显示加载的进度等.SeekBar控件,滑块控件,可以根据用户的需要动态为 ...