ORACLE EBS重新打开关闭库存期间
2013-05-03 11:01
471 查看
http://www.itpub.net/thread-1028549-1-1.html重新打开库存会计期
ORACLE EBS 已经关闭的库存期间标准功能是不可逆的,如果想打开,只能通过后台
Solution
-- To implement the solution, please execute the following steps::
1. Ensure that you have taken a backup of your system before applying the recommended solution.
2. Run the following scripts in a TEST environment first:
a) Backup the table org_acct_periods
create table org_acct_periods_83192
as select * from org_acct_periods;
b) Find affected periods.
select organization_id, acct_period_id, period_close_date
from org_acct_periods
where open_flag = 'P';
c) Verify there are no records in MTL_PER_CLOSE_DTLS, MTL_PERIOD_SUMMARY,
CST_PERIOD_CLOSE_SUMMARY tables
for the affected periods and mark the period as unsummarized.
select count(*)
from MTL_PER_CLOSE_DTLS
where organization_id in (<org_ids from (1b)>)
and acct_period_id in (<period_ids from (1b)>);
select count(*)
from MTL_PERIOD_SUMMARY
where organization_id in (<org_ids from (1b)>)
and acct_period_id in (<period_ids from (1b)>);
select count(*)
from CST_PERIOD_CLOSE_SUMMARY
where organization_id in (<org_ids from (1b)>)
and acct_period_id in (<period_ids from (1b)>);
[If there are records in the above, make a backup copy of the table and
delete the records, first from MTL_PER_CLOSE_DTLS then from
MTL_PERIOD_SUMMARY and then from CST_PERIOD_CLOSE SUMMARY]
Run the following SQL to mark the periods as 'Unsummarized':
.
UPDATE org_acct_periods
SET summarized_flag = 'N'
WHERE organization_id in (<org_ids from (1b)>)
and acct_period_id in (<period_ids from (1b)>);
AND summarized_flag = 'Y';
d) Run the following script to reset the period status so that the Close accounting period process can be re-submitted for them:
update org_acct_periods
set open_flag = 'Y',
period_close_date = NULL
where organization_id in (<org_ids from (1b)>)
and acct_period_id in (<period_ids from (1b)>)
and open_flag = 'P';
3. Once the scripts complete, confirm that the data is corrected.
You can use the following SQL to confirm:
select count(*)
from org_acct_periods
where open_flag = 'P';
4. If you are satisfied with the results, issue a commit.
5. Re-submit the Close accounting period process for one organization at a time. Confirm that it
completes successfully. Be sure it launches a Transfer
transactions to GL concurrent request which should also complete normally
6. Confirm that the data is corrected when viewed in the Oracle Applications.
You can use the following steps:
Accounting Close Cycle > Inventory Accounting Periods
Inventory Accounting Period
7. Migrate the solution as appropriate to other environments.
还有一篇文章这样讲的,
点击打开链接
在12月30号被我关了,之后就不能打开,后来开了SR,一下是提供的解决方法
SELECT acct_period_id period, open_flag, period_name name,
period_start_date, schedule_close_date, period_close_date
FROM org_acct_periods
WHERE organization_id = &org_id
order by 1,2;
UPDATE org_acct_periods
SET open_flag = 'Y',
period_close_date = NULL,
summarized_flag = 'N'
WHERE organization_id = &&org_id
AND acct_period_id >= &&acct_period_id;
DELETE mtl_period_summary
WHERE organization_id = &org_id
AND acct_period_id >= &acct_period_id;
DELETE mtl_period_cg_summary
WHERE organization_id = &org_id
AND acct_period_id >= &acct_period_id;
DELETE mtl_per_close_dtls
WHERE organization_id = &org_id
AND acct_period_id >= &acct_period_id;
DELETE cst_period_close_summary
WHERE organization_id = &org_id
AND acct_period_id >= &acct_period_id;
ORACLE EBS 已经关闭的库存期间标准功能是不可逆的,如果想打开,只能通过后台
Solution
-- To implement the solution, please execute the following steps::
1. Ensure that you have taken a backup of your system before applying the recommended solution.
2. Run the following scripts in a TEST environment first:
a) Backup the table org_acct_periods
create table org_acct_periods_83192
as select * from org_acct_periods;
b) Find affected periods.
select organization_id, acct_period_id, period_close_date
from org_acct_periods
where open_flag = 'P';
c) Verify there are no records in MTL_PER_CLOSE_DTLS, MTL_PERIOD_SUMMARY,
CST_PERIOD_CLOSE_SUMMARY tables
for the affected periods and mark the period as unsummarized.
select count(*)
from MTL_PER_CLOSE_DTLS
where organization_id in (<org_ids from (1b)>)
and acct_period_id in (<period_ids from (1b)>);
select count(*)
from MTL_PERIOD_SUMMARY
where organization_id in (<org_ids from (1b)>)
and acct_period_id in (<period_ids from (1b)>);
select count(*)
from CST_PERIOD_CLOSE_SUMMARY
where organization_id in (<org_ids from (1b)>)
and acct_period_id in (<period_ids from (1b)>);
[If there are records in the above, make a backup copy of the table and
delete the records, first from MTL_PER_CLOSE_DTLS then from
MTL_PERIOD_SUMMARY and then from CST_PERIOD_CLOSE SUMMARY]
Run the following SQL to mark the periods as 'Unsummarized':
.
UPDATE org_acct_periods
SET summarized_flag = 'N'
WHERE organization_id in (<org_ids from (1b)>)
and acct_period_id in (<period_ids from (1b)>);
AND summarized_flag = 'Y';
d) Run the following script to reset the period status so that the Close accounting period process can be re-submitted for them:
update org_acct_periods
set open_flag = 'Y',
period_close_date = NULL
where organization_id in (<org_ids from (1b)>)
and acct_period_id in (<period_ids from (1b)>)
and open_flag = 'P';
3. Once the scripts complete, confirm that the data is corrected.
You can use the following SQL to confirm:
select count(*)
from org_acct_periods
where open_flag = 'P';
4. If you are satisfied with the results, issue a commit.
5. Re-submit the Close accounting period process for one organization at a time. Confirm that it
completes successfully. Be sure it launches a Transfer
transactions to GL concurrent request which should also complete normally
6. Confirm that the data is corrected when viewed in the Oracle Applications.
You can use the following steps:
Accounting Close Cycle > Inventory Accounting Periods
Inventory Accounting Period
7. Migrate the solution as appropriate to other environments.
还有一篇文章这样讲的,
点击打开链接
ORACLE ERP 会计期关闭打开问题
会计期关闭打开问题:在12月30号被我关了,之后就不能打开,后来开了SR,一下是提供的解决方法
SELECT acct_period_id period, open_flag, period_name name,
period_start_date, schedule_close_date, period_close_date
FROM org_acct_periods
WHERE organization_id = &org_id
order by 1,2;
UPDATE org_acct_periods
SET open_flag = 'Y',
period_close_date = NULL,
summarized_flag = 'N'
WHERE organization_id = &&org_id
AND acct_period_id >= &&acct_period_id;
DELETE mtl_period_summary
WHERE organization_id = &org_id
AND acct_period_id >= &acct_period_id;
DELETE mtl_period_cg_summary
WHERE organization_id = &org_id
AND acct_period_id >= &acct_period_id;
DELETE mtl_per_close_dtls
WHERE organization_id = &org_id
AND acct_period_id >= &acct_period_id;
DELETE cst_period_close_summary
WHERE organization_id = &org_id
AND acct_period_id >= &acct_period_id;
相关文章推荐
- 关闭oralce的进程oracle.exe,怎么再重新打开进程oracle.exe
- 会计期间勿关闭后台打开
- oracle 10g如何关闭和打开自动收集统计信息
- ORACLE 归档日志打开关闭方法
- VC6.0意外关闭,导致重新打开dsw时,看不到任何工程和源代码,问题的解决
- Oracle ebs-未过账发票-关闭会计期间
- 打开、关闭oracle 10g自动分析
- ORACLE 归档日志打开关闭方法
- 误关闭库存期间
- Oracle EBS用户已失效的责任(Responsibility)重新启用后切换不到这个责任的处理
- Oracle EBS 重新编译无效对象 invalid object
- sap会计期间打开关闭
- linux下关闭标准输出,然后重新打开的方法
- Oracle EBS登陆后,直接打开某个特定Form/Page
- FI中记账期间的打开和关闭
- 打开/关闭Oracle的审计功能
- Oracle EBS用户已失效的责任(Responsibility)重新启用后切换不到这个责任的处理
- ORACLE 归档日志打开关闭方法
- sap会计期间打开关闭
- javascript 用了showDialog 关闭后又重新打开页面