路虽弥,不行不至;事虽少,不做不成。
分类: Oracle
2009-02-06 15:25:50
库存帐期月结过程遇到问题的解决办法
仅针对
1. 库存帐期的状态
1.1 Future
1.2 Open
1.3 Processing
1.4 Closed not Summary
1.5 Closed
2. 月结过程中出现的问题
2.1 有Pending事务;
2.2 库存帐期状态为processing/closed not summary,帐期无法正常关闭;
3. Pending事务的解决办法
Refer to: Metalink 242927.1
4. 库存帐期无法关闭的解决办法
4.1 库存帐期的状态为Closed not Summary
检查Profile: CST: Period Summary是否为Automatic,如果是Manual,则要手工在CST模块下提交Period Close Reconsile Report来完成Summary而状态最终为Closed/
4.2 库存帐期的状态为Processing
Delete from bom..cst_period_close_summary
where organization_id=:org_id and acct_period_id=:acct_period_id;
Update inv.org_acct_periods
Set open_flag=’Y’,
period_close_date=NULL,
summarized_flag=NULL
where organization_id=:org_id and acct_period_id=:acct_period_id;
5. 如果库存帐期已关,已传GL,但未导入日记帐, 可否重新打开?(不建议)
可以重新打开.
5.1 删除gl_interface中指定的records
Delete from gl.gl_interface
where set_of_books_id=:sob and user_je_category_name=’MTL’
5.2 更新mtl_transaction_accounts中指定记录的gl_batch_id的值
Update inv.mtl_transaction_accounts
Set gl_batch_id=-1
Where gl_batch_id=:gl_batch_id
And organization_id=:org_id
5.3 删除cst_period_close_summary中指定record
Refer to
5.4 更新org_acct_periods中指定记录中的标记位
Refer to