The following sections highlight the logic in the base algorithm C1-PI-CALC. It has been designed to call many other algorithm plug-in spots to perform key steps in the calculation. The goal is for your implementation to use the base product P&I calculation algorithm and implement your organizations specific rules by plugging in appropriate algorithms in the various plug-in spots called by the base algorithm. However if the logic in the base algorithm does not satisfy your business requirements, you may introduce your own, using this algorithm as a sample.
At a high level, the base algorithm follows these steps
Determine whether or not this obligation is eligible for P&I calculations.
For eligible obligations
Determine discrete time periods and perform any other pre-processing needed for the calculations.
For each time period, apply the P&I rules. Calculations are performed in memory.
Post processing, including canceling and creating the P&I adjustments if the algorithm is called with a P&I Calculate / Update action.
Update the obligation's calculate to date
The algorithm may be called with an action of P&I Calculate/Update, P&I Standard Forecast or P&I Detailed Forecast. When calling the algorithm with a "forecast" action, the calling program may provide specific FTs in which case it will only use those FTs. Otherwise, it retrieves the FTs for the obligation.
A special plug-in spot Retrieve FT List on obligation type is called to retrieve the FTs for an obligation.
Base plug-in. Click here to see the algorithm types available for this system event and for more information about the behavior of this plug-in spot.
Copyright © 2007, 2016, Oracle and/or its affiliates. All rights reserved. Documentation build: 2.5.2016 10:21:45 [T1_1454696505000]