Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1791155
  • 博文数量: 334
  • 博客积分: 11301
  • 博客等级: 上将
  • 技术积分: 3452
  • 用 户 组: 普通用户
  • 注册时间: 2006-10-18 10:19
个人简介

路虽弥,不行不至;事虽少,不做不成。

文章分类

全部博文(334)

文章存档

2013年(4)

2012年(19)

2011年(27)

2010年(71)

2009年(45)

2008年(15)

2007年(84)

2006年(69)

分类: Oracle

2009-01-13 15:24:18

 

 
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 ()
and acct_period_id in ();

select count(*)
from MTL_PERIOD_SUMMARY
where organization_id in ()
and acct_period_id in ();

select count(*)
from CST_PERIOD_CLOSE_SUMMARY
where organization_id in ()
and acct_period_id in ();

[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 ()
and acct_period_id in ();
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 ()
and acct_period_id in ()
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.


阅读(2442) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~