--多语言视图

ALTER SESSION SET NLS_LANGUAGE=AMERICAN ;

--组织化视图

BEGIN

FND_CLIENT_INFO.set_org_context(218);

END;

--组织化视图   R12

BEGIN

mo_global.set_policy_context('S', 218);

END;

--customer

select * from ar_customers t where t.customer_number = '74213';

select * from ar_addresses_v t where t.customer_id = 112332;

select * from ar_site_uses_v t where t.site_use_id = 630028;

select * from ar_addresses_v t where t.address_id = 449831;

HZ_CUST_ACCOUNTS      hca,

HZ_CUST_SITE_USES_ALL subill,

HZ_PARTIES            hp,

---header / line

SELECT t.flow_status_code, t.header_id, t.*

FROM oe_order_headers_all t

WHERE t.order_number = 1789703;

SELECT t.flow_status_code, t.line_id FROM oe_order_lines_all t WHERE t.header_id = 10186257

--wsh_delivery

SELECT t.released_status, t.mvt_stat_status, t.*

FROM wsh_delivery_details t

WHERE t.source_code = 'OE'

AND t.source_header_id = 10186257;

SELECT * FROM wsh_delivery_assignments t WHERE t.delivery_detail_id = 120302363;

-- create dn

SELECT * FROM wsh_new_deliveries t WHERE t.delivery_id = 9551901;

--WIP

SELECT * FROM wip_entities t WHERE t.wip_entity_name = '9127901'; --工单号,\

SELECT * FROM wip_discrete_jobs t WHERE t.wip_entity_id = 11480764;

SELECT * FROM wip_operations t WHERE t.wip_entity_id = 11480764;

SELECT * FROM mtl_material_transactions t where t.transaction_source_id =11480764; --wip_entity_id

--picked release

SELECT * FROM wsh_picking_batches t WHERE t.batch_id IN (26799701)  --PICKED界面

and t.order_header_id =10186257;

SELECT * FROM mtl_txn_request_lines t WHERE t.line_id = 143329081; --move_order_line_id

SELECT * FROM mtl_txn_request_headers t WHERE t.header_id = 26799702;

SELECT * FROM mtl_material_transactions_temp t WHERE t.move_order_line_id =143329081

--move order / picked confirm

SELECT t.transaction_id,t.* FROM wsh_pick_slip_v t WHERE t.move_order_line_id = 143329081;

SELECT t.transaction_set_id, t.* FROM mtl_material_transactions t WHERE t.move_order_line_id = 143329081;--t.transaction_id =1877112298;

SELECT * FROM mtl_material_transactions t WHERE t.transaction_set_id = 1877112297;

--ship confirmed

SELECT * FROM mtl_material_transactions t WHERE t.picking_line_id = 120302363; --delivery_detail_id

SELECT * FROM mtl_material_transactions t WHERE t.source_line_id =346400869; --oe_line_id

select t.pick_up_stop_id, t.drop_off_stop_id, t.* from wsh_delivery_legs t where t.delivery_id = 9551901;

select t.trip_id, t.* from wsh_trip_stops t where t.stop_id in (13939361, 13939362);

select * from wsh_trips t where t.trip_id = 6962260;

--ar interface

select * from ar.ra_interface_lines_all t where t.interface_line_attribute1 ='1789703' --order_number

--return order

SELECT t.flow_status_code, t.header_id, t.*

FROM oe_order_headers_all t

WHERE t.order_number = 4320045;

SELECT t.flow_status_code, t.line_id FROM oe_order_lines_all t WHERE t.header_id = 10186351;

--Receipts

select * from rcv_shipment_headers r where r.receipt_num ='4320045-r';

select * from rcv_shipment_lines l where l.shipment_header_id =7143290;

select * from rcv_transactions_interface l where l.shipment_header_id =7143290;

select * from rcv_transactions t where t.shipment_header_id =7143290;

--入库

select * from mtl_material_transactions mmt where mmt.Rcv_Transaction_Id =95826257;

--ar interface

select * from ar.ra_interface_lines_all t where t.interface_line_attribute1 ='4320045' --order_number

Oracle EBS-SQL (OM-2):检查OM常用表的更多相关文章

  1. Oracle和sql server中复制表结构和表数据的sql语句

    在Oracle和sql server中,如何从一个已知的旧表,来复制新生成一个新的表,如果要复制旧表结构和表数据,对应的sql语句该如何写呢?刚好阿堂这两天用到了,就顺便把它收集汇总一下,供朋友们参考 ...

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

  3. EBS应付(AP)模块常用表

     select * from ap_invoices_all INVOICE头 select * from ap_invoice_distributions_all INVOICE行 select ...

  4. EBS采购(PO)模块常用表

     select * from po_requisition_headers_all 请求头 select * from po_requisition_lines_all 请求行 select * ...

  5. EBS库存(INV)模块常用表

     select * from org_organization_definitions库存组织 select * from mtl_parameters组织参数 select * from mtl ...

  6. Oracle EBS Model Function Technical

    ♡.Oracle EBS(ERP)Oracle 是公司名字,这个我估计大家都知道.EBS是E-Business Suite的缩写,简单的说,就是Oracle做的一个企业级的信息化软件或者系统,里面包含 ...

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

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

  8. Oracle EBS BOM模块常用表结构

    表名: bom.bom_bill_of_materials  说明: BOM清单父项目  BILL_SEQUENCE_ID NUMBER 清单序号(关键字)ASSEMBLY_ITEM_ID NUMBE ...

  9. Oracle EBS 常用网站列表

    http://www.lifandong.com/erp/356 Oracle EBS 常用网站列表 英文站: Oracle EBS R12 官方参考手册(User Guide, Implementa ...

  10. InstallShield高级应用--检查是否安装ORACLE或SQL Server

    InstallShield高级应用--检查是否安装ORACLE或SQL Server   实现原理:判断是否存在,是通过查找注册表是否含有相应标识来判断的. 注意:XP与WIN7系统注册表保存方式不一 ...

随机推荐

  1. HDU ACM 题目分类

    模拟题, 枚举1002 1004 1013 1015 1017 1020 1022 1029 1031 1033 1034 1035 1036 1037 1039 1042 1047 1048 104 ...

  2. Ultra-QuickSort(树状数组+离散化)

    Ultra-QuickSort  POJ 2299 Time Limit: 7000MS   Memory Limit: 65536K Total Submissions: 50495   Accep ...

  3. HDU 4970 Killing Monsters

    开始以为是线段树,算了一下复杂度也觉得能过...但是这题貌似卡了线段树... 具体做法: 对每一个塔,记录attack[l]+=d,attack[r+1]-=d;这样对于每个block,受到的伤害就是 ...

  4. 三星S5驱动安装

    三星S5的驱动安装一定要先用原装的数据线链接电脑,在电脑里面安装完驱动之后,以后才能每次都用正常的数据线链接 不然的话会提示某些驱动安装不正常..

  5. Shell变量替换,命令替换,转义字符

    如果表达式中包含特殊字符,Shell 将会进行替换.例如,在双引号中使用变量就是一种替换,转义字符也是一种替换. 举个例子: #!/bin/bash a=10 echo -e "Value ...

  6. C语言的本质(33)——GCC编译器入门

    GCC(GNU CompilerCollection,GNU编译器套装),是由 GNU 开发的编程语言编译器.它是以GPL许可证所发行的自由软件,也是 GNU计划的关键部分.GCC原本作为GNU操作系 ...

  7. UESTC_Big Brother 2015 UESTC Training for Graph Theory<Problem G>

    G - Big Brother Time Limit: 3000/1000MS (Java/Others)     Memory Limit: 65535/65535KB (Java/Others) ...

  8. Java程序员面试题集(86-115)

    摘 要:下面的内容包括Struts 2和Hibernate的常见面试题,虽然Struts 2在2013年6月曝出高危漏洞后已经显得江河日下,而Spring MVC的异军突起更加加速了Struts 2的 ...

  9. log4net 使用与配置 每天一份log文件

    1.下载 或 在nuget安装 log4net 2. web.config (app.config) <configuration> <configSections> < ...

  10. poj 2774 最长公共子--弦hash或后缀数组或后缀自己主动机

    http://poj.org/problem?id=2774 我想看看这里的后缀数组:http://blog.csdn.net/u011026968/article/details/22801015 ...