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 ...
随机推荐
- H5+Boostrap的音乐播放器
H5+Boostrap做简单的音乐播放器 前言:这个是综合一下我最近在学的东西做的小Demo,到实际使用还有距离,但是用来练手巩固知识点还是不错的,最近在二刷JS书和Boostrap.css的源码,做 ...
- python----特性003
python特性003:计算特性 #!/usr/local/bin/python3.5 class MyNumber(object): def __init__(self,number): self. ...
- ffmpeg参数解释 <第三篇>
例子:ffmpeg -y -i "1.avi" -title "Test" -vcodec xvid -s 368x208 -r 29.97 -b 1500 - ...
- WIN下和LINUX动态库的区别
**************************************************************************************************** ...
- scheme递归
主要参考: http://www.shido.info/lisp/scheme7_e.html Function fact that calculates factorials. (define (f ...
- netstat和telnet命令在Windows7中的用法(转载)
在网络方面我们常常会用到如下命令: (1)ping命令:我们常常用来判断2台或2台以上的机器间是否网络连通. ping 192.168.1.88 -t 如果想看任何命令的参数是什么意思,我们只需要:命 ...
- Minimum Depth of Binary Tree 解答
Question Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along ...
- Mod_Python中文文档
Mod_Python中文文档 mod_python中文文档
- 使用GridBagLayout控制行列的高度和宽度
摘自http://bbs.csdn.net/topics/340189065使用GridBagLayout控制行列的高度和宽度 gridwidth 指定组件显示区域的某一行中的单元格数. 默认值1,水 ...
- svn local delete, incoming delete upon update 解决办法
经常有人会说,树冲突是很难解决的一类冲突,其实一旦了解了其原理,要解决也不难.先回顾下对于树冲突的定义. 树冲突:当一名开发人员移动.重命名.删除一个文件或文件夹,而另一名开发人员也对它们进行 ...