The list of the FTs for the obligation includes detail for each FT that is needed by the penalty and interest calculation. This list of details is not hard-coded but rather is defined in a data area supplied to the P&I Calculation plug-in spot and to the Retrieve FT List plug-in spot. The base algorithm uses the data area C1-PI-MainFtInfo.
If your implementation requires different information to be supplied for each FT, you may introduce your own data area.
Besides the details of the FTs passed back and forth to services that invoke this plug-in spot, the base P&I calculation algorithm uses data internally that must be passed to the various plug-in spots it invokes.
The base algorithms use the data area C1-PI-InternalCalculationInfo. The data area has the following information:
A calculation periods collection. This includes start and end dates along with the P&I rules in effect for those dates.
Existing FT collection. This includes all the FTs that exist for the obligation and is used to compare to the P&I charges being calculated in the current execution to determine if any changes are needed to historical periods.
Running charges collection. This is the list of charges that are populated by the P&I rule algorithms that calculate the charges. The amounts in this collection are captured with detailed precision to minimize ongoing rounding discrepancies.
Working financial transaction collection. This collection represents the new list of FTs that are a result of the current P&I calculation. When the service is invoked with an "update" action, this is the list that will be used when creating the actual FTs at the end of the process. If the service is invoked with a "forecast" action, this is the list of FTs that is used to pass out to the calling program. The definition of this list matches the definition of the list of FTs in the P&I Main FT Info data area. This list also includes a collection of detailed P&I calculation info that may be populated by P&I rule algorithms when invoked with a "forecast" action. Refer to P&I Calculation Details for more information.
Waiver information collection. This list contains detailed information for any active waiver that exists for the obligation.
If your implementation requires additional information to be passed around to the various P&I calculation plug-in spots that support the internal P&I information, you may extend the base data area to define the additional elements needed. Alternatively, you may introduce your own data area. The appropriate decision for your implementation will depend on the type of additional information needed. For example, if your implementation requires some addition information about the taxpayer or the obligation to help determine rule eligibility, for example, then extending the base data area is the correct solution. However, if you require different or additional data within one of the existing groups in the base data area, it may be more correct to introduce a new custom data area.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.