|
Oracle® Rules Palette Release 9.1.0.0.0 E15811-01 |
The following terms define the various statuses an activity can have in OIPA. They indicate at the activity level the status of that activity record. The activity status, with the date stamp in current and history records, identifies the significant point of processing and provides internal control for activities.
|
Activity Status |
Status Code (AsCodeStatus Table) |
Processing Detail |
|
01 |
Current data that has completed activity processing and math calculation. This includes the following XML activities:
| |
|
02 |
Information entered but not processed. Pending data requires action before it can be applied or calculated. All required data must be entered and the lightning bolt selected to change the status from pending to active. | |
|
12 |
An activity that has been reversed. In OIPA, the term reverse refers to an activity that has been changed to shadowed by a reversal activity. All updated data is set back to the original state before the shadowed activity was run. A reversal activity could be performed either by recycling or deleting an activity record. | |
|
Pending Shadowed |
34 |
An activity with data that was entered but never processed and then deleted. |
|
Pending NUV |
13 |
No Unit Value for the system date but there is a Unit Value for the effective date of a transaction. Processes all activity values except for the gain amount. Active - NUVs needed to calculate units and gain/loss. |
|
Pending Gain/Loss |
14 |
Active - NUVs needed to calculate gain/loss. |
An activity is in active status when the math calculations process successfully. Any resulting data is stored in the database. The activity also displays an active status on the Activity Screen in OIPA. Activities can be manually processed when a user selects the lightning bolt icon next to the activity. They can also be put in an active status by using the process button or by checking Auto Process. The system will automatically process any pending activity by date through cycle or batch processing.
Example:
The lightning bolt was selected for the CoverageCalculation activity. The activity processed and the values were displayed for the activity on the Activity Details screen. The activity is in active status because the lightning bolt was selected. The activity record has TypeCode 01 because it was manually entered. The StatusCode has changed from 02 (pending status) to 01(active status).

An activity is in pending status when information for an activity is entered but not processed. No calculations or math were run for this activity yet. An activity will be in a pending status because it was manually added or spawned but not processed. Verifying the TypeCode indicates how the activity was processed. Either way the activity record will remain in pending status until it is processed. Once processed, the StatusCode will be updated in the database and the status listed in OIPA will reflect the new status.
Example:
The CoverageCalculation activity was entered manually by selecting it from the activity drop-down box and then selecting the OK button. The activity displays on the Activity screen in a pending status. The activity record in AsActivity table stored the TypeCode 01 because it was manually entered and the StatusCode 02 because it is pending. Remember if the activity was spawned it will have type code 01 as well.

An activity is in shadowed status when it has been recycled or deleted.
Selecting the Recycle button associated with an activity creates two additional activities to be processed. The first is a reversal activity that has green reversal arrows for its Activity Detail icon. The second activity replaces the original activity. The reversal activity must be processed prior to the new activity that will replace the original.
Step 1: Select the recycle button for an activity.
Two pending activities are generated in OIPA for the reversal and new activity.

Two additional records are written to the database to track the reversal and new activity.

Step 2: Select the Process button for the reversal activity.
The status of the original activity is updated to shadow and the reversal activity status is updated to active.

The status of the original activity’s record changes from 01(active) to 12(shadowed). The reversal activity changes from 02(pending) to 01(active).

Step 3: Select the pending activity that has the correct information.
The activity’s status changes from pending to active. The new activity’s status changed from 02(pending) to 01(active).

Selecting the delete button associated with an activity generates a reversal activity. The reversal activity is in pending status and must be processed in order to delete the activity and place it in a shadowed status.
Step 1: Select the delete button associated with an activity.
A reversal activity is generated with a pending status.

There are now two records, one for the original activity and one for the reversal activity.

Step 2: Select the Process button associated with the reversal activity.
The original activity is then updated to shadowed status and the reversal activity is updated to active status. The database record for the original activity is updated to 12(shadowed) and the reversal activity is updated to 01(active)status.
Note: The delete display filter does not control the viewing of deleted activities. An activity that is deleted will have a shadowed status. You will need to filter for shadowed activities to see those activities that were deleted. This filter displays the ability to delete activities via the trash can icon. The delete option should not be available in a production environment.