库存会计期间关闭出错,提示未达结束的日期, Error: Period end date has not been reached

来源:互联网 发布:安和日达天窗知乎 编辑:程序博客网 时间:2024/05/29 15:16

- Problem Statement:
On 11.5.10.2 in Production:
When attempting to close May accounting period, May period shows a status of Processing. There are no pending transactions of any kind for May. If user try to change the Status of May, get the message:

ERROR
----------
APP-INV-05203: Closing current accounting period...
followed by
APP-INV-05485: Period Close failed

-- Steps To Reproduce:
The issue can be reproduced at will with the following steps:
1. Responsibility: Inventory
2. Navigation: Accounting Close Cycle 
3. Inventory Accounting Periods 
4. Change Status

 

CAUSE

The concurrent managers going down caused the period close concurrent processing to be stuck as in process and error out with APP-INV-05203

 

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

 

0 0
原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 手机上浏览器搜索时字在右边怎么办 酷比魔方平板开不开机怎么办 红米手机摔了有一角黑屏了怎么办 红米手机刷机黑屏打不开怎么办 魅蓝x一打电话就黑屏怎么办 红米手机黑屏打不开怎么办充电发烫 小米手机打电话来是关机的怎么办 红米手机打电话自动灭屏怎么办 红米5s手机白屏怎么办 红米手机黑屏开不了机怎么办 红米note开机键不灵了怎么办 红米2忘记锁屏密码怎么办 红米1手机忘记锁屏密码怎么办 红米4x关不了机怎么办 红米4a手机屏幕黑屏打不开怎么办 红米手机为什么开不了机怎么办 红米note手机刷机失败怎么办 金立手机来电屏幕不亮怎么办 小米5s桌面相机图标不见了怎么办 小米手机锁屏密码忘了怎么办? 小米平板电脑锁屏密码忘了怎么办 小米手机进水了黑屏了嗡嗡响怎么办 华为诺娃2手机声音小怎么办 华为平板锁屏密码忘记了怎么办 华为麦芒6手机按键摔坏了怎么办 定频空调加错了佛里昂怎么办 定频空调外机噪音大怎么办 老美的定频空调出现p0怎么办 华为揽阅m2青春版卡顿了怎么办 华为揽阅M2青春版发热卡顿怎么办 全民突击网速不给力经常掉线怎么办 华为手机微信视频黑屏了怎么办 相机拍照后找不到拍的照片怎么办 苹果手机下载软件不被信任怎么办 苹果x手机下载软件不受信任怎么办 华为畅享7plus主板坏了怎么办 华为手机手机主板坏了没备份怎么办 华为手机一年内主板坏了怎么办 华为手机保修期内主板坏了怎么办 华为手机外置sd卡满了怎么办 红米4充不进去电怎么办