Oracle EBS-SQL (INV-12):检查待定事物处理1.sql
/*未加工物料*/
update inv.mtl_material_transactions_temp
set process_flag='Y',
LOCK_FLAG='N',
TRANSACTION_MODE='3',
ERROR_CODE=NULL;
commit;
然后在应用库存待定事物处理,选择提交
select process_flag,
lock_flag,
transaction_mode,
error_code
from inv.mtl_material_transactions_temp
--------------------------------------------------------------------------
/*未记成本*/
select t.transaction_id,
i.segment1,
t.transaction_group_id,
t.costed_flag,
t.transaction_date
from inv.mtl_material_transactions t,
inv.mtl_system_items i
where t.transaction_date between '&DATE_FROM' and '&DATE_TO'
and t.organization_id=&组织ID
and t.costed_flag='E'
and t.inventory_item_id = i.inventory_item_id
and t.organization_id=i.organization_id
update mtl_material_transactions
set costed_flag = 'N',
request_id = NULL,
transaction_group_id = NULL,
error_code = NULL,
error_explanation = NULL
where costed_flag in ('N','E');
commit;
--------------------------------------------------------------------------
/*待定在制品成本计算*/
update wip_cost_txn_interface
set group_id=null,
transaction_id=null,
request_id=null,
process_status=1
where process_status=3;
pending transaction:
update mtl_transactions_interface
set process_flag=1,
lock_flag=2,
transaction_mode=3,
error_code=null,
where process_flag=3
select * from wip_move_txn_interface
where CREATION_DATE<sysdate -8
Oracle EBS-SQL (INV-12):检查待定事物处理1.sql的更多相关文章
- Oracle EBS 隐藏帮助-诊断-检查
- [Oracle EBS R12]SQL Queries and Multi-Org Architecture in Release 12 (Doc ID 462383.1)
In this Document Abstract History Details Previous Releases Release 12 Multi-Org Session ...
- Oracle EBS R12 (12.1.3) Installation Linux(64 bit)
Oracle EBS R12 (12.1.3) Installation Linux(64 bit) Contents Objective. 3 1 Download & Unzip. 3 D ...
- Oracle EBS DBA常用SQL - 安装/补丁【Z】
Oracle EBS DBA常用SQL - 安装/补丁 检查应用补丁有没有安装:select bug_number,last_update_date from ad_bugs where bug_nu ...
- Oracle EBS中分类账和法人实体 的关系(有sql语句实例)
Oracle EBS中分类账和法人实体 的关系(有sql语句实例) 2012-12-06 16:05 2822人阅读 评论(0) 收藏 举报 分类: Oracle EBS(12) Oracle数据 ...
- Oracle EBS 12.2.6 on VirtualBox
Back in May, Oracle announced the general availability of Oracle VM Virtual Appliance for E-Business ...
- oracle ebs 12.20 安装成功其过程失败日记及总结(1)
由于公司业务须要,须要安装oracle ebs进行 form 开发,所以就開始了痛苦oracle ebs安装之过程.刚開始是在vm中win2003 server 中安装ebs,,不知是我自已的水平太差 ...
- [转]oracle EBS 基础100问
from:http://www.cnblogs.com/xiaoL/p/3593691.html http://f.dataguru.cn/thread-51057-1-1.html 1001 OR ...
- Oracle EBS使用adpatch工具打patch过程【Z】
Oracle EBS使用adpatch工具打patch过程 从Metalink下载补丁 登陆到Metalink(https://support.oracle.com),Oracle内部用户可以使用AR ...
随机推荐
- Ultra-QuickSort(树状数组+离散化)
Ultra-QuickSort POJ 2299 Time Limit: 7000MS Memory Limit: 65536K Total Submissions: 50495 Accep ...
- mysql----二进制包安装
1.增加mysql用户 useradd mysql 2.解压mysql 二进制包到/usr/local/ -linux-glibc2.-x86_64.tar.gz -C/usr/local/ 3.创建 ...
- 诺基亚HERE地图
1.基本图层 2.3D图层 3.卫星图层 4.地形图层 5.在线帮助
- poj 1020 Anniversary Cake(切正方形蛋糕+搜索)
...
- iphone6闪存检测
iPhone6自从发布以后一直又不少的诟病和非议,比如一机难求,容易掰弯,程序崩溃等, 甚至传出了苹果将要召回这些问题设备,最近有人终于查出了iPhone6安装大量程序后崩溃的原因,原因就是大容量的i ...
- 微型 Python Web 框架 Bottle - Heroin blog
微型 Python Web 框架 Bottle - Heroin blog 微型 Python Web 框架 Bottle
- textContent、innerText 以及Event事件兼容性问题
今天在完成前端的简单练习时发现了一些兼容性的问题,百度后得以解决. 这里主要讨论Firefox与Chrome的兼容性问题. textContent与 innerText 在javascript中, 为 ...
- Agent J(求三个圆围成的区域面积)
A - A Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status P ...
- Alexandra and Prime Numbers(思维)
Alexandra and Prime Numbers Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (J ...
- 使用 React 和 Flux 创建一个记事本应用
React,来自 Facebook,是一个用来创建用户界面的非常优秀的类库.唯一的问题是 React 不会关注于你的应用如何处理数据.大多数人把 React 当做 MV* 中的 V.所以,Facebo ...