You are here: Configuration > Transactions > Activity Processing > Activity Statuses

Oracle® Insurance Rules Palette 9.4.0.0 E18894_01

# Activity Statuses

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
--- | --- | ---
Active | 01 | Current data that has completed activity processing and math calculation. This includes the following XML activities: Develops XML process Changes to XML and table changes Inserts XML and writes to table
Pending | 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.
Shadowed | 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.
NUV Pending | 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.
Gain/Loss Pending | 14 | Active - NUVs needed to calculate gain/loss.
Queued | 58 | Activity waits to process until all prior activities that share allocation funds with the activity move out of NUV Pending status.

## Active Status

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).

Activity in Database in Active Status

##

## Pending 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.

Activity in Database in Pending Status

## Shadowed Status

An activity is in shadowed status when it has been recycled or deleted.

Recycle Example

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 Pending Activities Generated For Recycle

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

Reversal Records Written to Database

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.

Active Reversal Activity

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).

Reversal Activity in the Database

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).

Explanation of Reversal Records in Database

Delete Example

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.

Reversal Activity in Pending Status

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

Two Reversal Activities in Database

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. Select the 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.

## Queued Status

If an activity is in Queued status and the NUV Pending activity before it is deleted (shadowed) then the activity will still process with the current system date as its effective date. When ADVANCETOSYSTEMDATE is set to “Yes”, the activity cannot process with an effective date prior to the current system date.

If an activity in Queued status is deleted, it will behave as any pending activity and move to status “34” (Pending Shadow).

If an activity is deleted/inserted with a prior effective date, then the activity in Queued status is not incidentally deleted and remains in a Queued status until it is processed again.

When a Queued activity moves out of Queued status it will cause undo/redo on all activities after it with a newer effective date (considering Processing Order for same date activities).

Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices

Open table of contents