Thursday, February 3, 2011

Customize Partial Period Accruals Calculation

Recently my client has a requirement to post result of partial period accruals calculation (estimated costing) after removing some of accounts (one of segment of cost allocation keyflex) in GL. Because Oracle doesn't give any parameters by which you can remove some estimated cost based on criteria of Account (element or element classification) so you have 2 options

1) Customize partial period accruals calculation process and filter result
2) write your own custom process

As Partial Period Accruals Calculation is a standard oracle process and pyugen based so there is no good in customizing this process. Writting your own custom process to do whole job of calculating estimated cost will be very tidious.

But there is a catch here which is that oracle process only calculate estimated cost and don't automatically post the results to GL or submit transfer to GL automatically. So a custom process can be written which accepts account number as parameter and then scanning result from Partial Period Accruals calculation process one by one using account number. If it found a match it will set transfer to gl flag in pay_costs to N and estimated cost will not be transferred to GL.

You need to remember here that you not only have to remove costing part of estimated cost but balancing part as well. If your client has fixed costing or simple costing then it will match one to one but in case of distributed costing you can get more than one costing part of estimated cost but balancing is a single value.

Please let me know if you have any questions regarding above article.

No comments:

Post a Comment