Create Unique Indentifier Number

Oracle Insurance Rules Palette

You are here: Main Explorer > Prototypes > Prototype Samples for Previous Releases > Create Unique Indentifier Number

 

Create Unique Identifier Number

The Identifier field data type can be used when a company needs to generate an ID that is built from characters and/or numeric parts. The numeric parts may be incremented and therefore provide a unique characteristic to the IDs constructed with the same elements. An example would be the generation of a claim number for a death claim process that is unique among other claim numbers.  

 

Identifier fields can also be called in transaction configuration. A transaction can contain a math variable that is configured to pull a value from an Identifier field, then pass that number to a spawned transaction. The scenarios below provide examples of the various ways Identifier fields are used in OIPA.  

 

   The new Activity Confirmation Screen uses Identifier fields and Identifier math variables to meet specific requirements for unique confirmation numbers for activities and spawned activities. For more information, see Activity Confirmation Screen.

 

Scenario 1:

Use the Identifier field type to create a field on a screen where the Identifier number will be used. When a new policy is created and saved for the first time, this identifier number will populate the Identifier field on the screen. For example, the Policy screen may have an Identifier field to capture the unique number. When a new policy is saved, the field is automatically populated with the unique ID.   

 

Scenario 2:  

    • Create a parent transaction that uses a math variable to pull a value from an identifier field. When the transaction processes as an activity in OIPA, the Identifier fields configured in the transaction are populated and the value of the math variable is listed in the Math link of the Activity Detail window. 

    • Use the MultiFields business rule to set the number of identifier fields that should be populated when the activity processes.

    • Create a child transaction that is spawned from the first transaction and pulls a value from an identifier field of the original transaction. When the transaction processes as an activity in OIPA, the value of the math variable is listed in the Math link of the Activity Detail window.  

 

Scenario 1

A configuror creates a field on the Policy screen that will generate an ID. When the policy is created and saved for the first time, the identifier number will automatically populate the field on the Policy screen.  

 

 

Add an Identifier Field to the Policy Screen

  1. Open a Company | Plan in the Main Explorer. 

  2. Open the Plan Rules folder and check out the PolicyScreen business rule.

  3. Click the Fields pane and drag an Identifier field onto the Configuration area.

  4. Click the new field. This will open the Field Properties Window. 

  5. Enter a Field name and Display name.

  6. Scroll down to the Parts section and click the ellipsis ellipses button button next to Parts. This will open the Parts window. 

  7. Select a Part type from the Type drop down box.

  8. Enter the corresponding information for the type of Identifier chosen.

 To generate a unique Identifier number, the Identifier field must contain a SEQUENCE Part type.

  1. Click Add. The information will be listed in the Parts tree at the top of the window. 

  2. Click OK when all Identifier information has been listed.

  3. Save the changes by clicking the Save button on the menu bar.

 

 

Prototype Samples in Rules Palette

The PolicyScreen business rule was overriden and configured to demonstrate the identifier field. Navigate through the following folders in the Main Explorer to locate the configuration sample: Companies | Prototype Company | Subsidiary Companies | Prototype Child Company | Plans | Dynamic Prototype Plan | Plan Rules | PolicyScreen. Open the PolicyScreen and click the Fields pane. The identifier field is there and the properties can be viewed from the Field Properties Window.    

 

View New Feature in OIPA

View this configuration in OIPA by logging into the Company | Plan you identified in the steps above. Create a new policy. Add policy details and click the Save button. The identifier field should be disabled and should show the unique ID generated by the system.   

 

Identifier field on Policy screen

Identifier Field on Policy Screen

 

 

Scenario 2

A configuror creates a transaction that uses a math variable to pull a value from an Identifier field. This transaction also references the MultiField business rule and spawns a second Identifier transaction. Create the spawned transaction first so that it can be referenced in the main transaction.  

 

Create the Spawned Transaction

  1. Open the Company | Plan in the Main Explorer for the new transaction.

  2. Right-click on the Transaction node and select New Transaction.

  3. Select the Transaction Type from the drop down box.

  4. Enter a Processing Order. It should be after the processing order of the transaction that will spawn this one. 

  5. Click Finish. The new transaction will display in the Configuration area. 

  6. Add a text field to the Fields pane.

  7. Click the Math pane.

  8. Drag a Field math variable onto the screen.

  9. Enter a name for the math variable.

  10. Scroll down to the Prefixes field, click in the field then hold down CTRL and press the space bar. This will bring up a list of all available Prefixes. Select Activity.  

 If you cannot see the Prefix field, then grab the horizontal scroll bar at the bottom of the Math Pane section and drag it to the right. A vertical scroll bar will appear. Drag the vertical scroll bar down until the fields are visible.   

  1. Scroll down to the Value field, click in the field then hold down CTRL and press the space bar. This will bring up a list of available values. Select the value you want to use.  

  2. Check in the transaction to save the configuration.

  3. Add a translation value when the message window appears.

  4. Add security for the transaction.

  5. Add the transaction to the EligibleTransactionByPolicyStatus business rule.

 

Create the Parent Transaction

  1. Open the Company | Plan in the Main Explorer for the new transaction.

  2. Right-click on the Transaction node and select New Transaction.

  3. Select the Transaction Type from the drop down box.

  4. Enter a Processing Order. It should be before the processing order of the spawned transaction created above. 

  5. Click Finish. The new transaction will display in the Configuration area. 

  6. Click the Fields pane.

  1. Drag an Identifier field onto the screen.

  1. Click the new field. This will open the Field Properties Window. 

  2. Enter a Field name and Display name.

  3. Set the Clear on Recycle element according to the way the identifier number should be handled if the activity is recycled:

    • To keep the same confirmation number for the recycled activity, set it to No.

    • To generate a new confirmation number each time the activity is recycled, set it to Yes.

  4. Scroll down to the Parts section and click the ellipsis ellipses button button next to Parts. This will open the Parts window. 

  5. Select a Part type from the Type drop down box.

  6. Enter the corresponding information for the type of Identifier chosen.

 To generate a unique Identifier number, the Identifier field must contain a SEQUENCE Part type.

  1. Click Add. The information will be listed in the Parts tree at the top of the window. 

  2. Click OK when all Identifier information has been listed.

  3. Save the changes by clicking the Save button on the menu bar.

  4. Drag a Multifields element onto the screen and click on it.

  5. Click the ellipsis ellipses button button on the Multifield line in the Field Properties window. A Multifield window opens.

  6. Select the Multifield rule to associate with this Multifields element and click OK.

  1. Click on the Math pane.

  1. Drag an Identifier math variable onto the screen.

  2. Enter a name for the Identifier math variable.

  1. Scroll down to the Parts section and click the Parts node.

  2. Select a Part type from the Type drop down box.

  3. Enter the corresponding information for the type of Identifier chosen.

 To generate a unique Identifier number, the Identifier field must contain a SEQUENCE Part type.

  1. Click Add. The information will be listed in the Parts tree below the Parts node. 

  1. Click on the Spawn pane.

  2. Select the child transaction from the Transactions list and click Add.

  3. Configure the Spawn Fields to map the Identifier math variable in the parent to the text field in the child transaction.

  1. Check in the parent transaction.

  2. Add a translation value when the message window appears.

  3. Add security for the transaction.

  4. Add the transaction to the EligibleTransactionByPolicyStatus business rule.

Prototype Samples in Rules Palette

There are two transactions configured to demonstrate identifier field functionality. Navigate through the following folders in the Main Explorer to locate the configuration sample: Companies | Prototype Company | Subsidiary Companies | Prototype Child Company | Plans | Dynamic Prototype Plan | Transactions | Policy Transactions.    

  • IdentifierFields: uses a mathvariable to pull a value from an identifier field. When the transaction processes as an activity in OIPA, the Identifier fields configured in the transaction are populated and the value of the mathvariable is listed in the Math link of the Activity Detail window. This transaction also uses the MultiFields business rule to set the number of identifier fields that should be populated when the activity processes.  

  • IdentifierSpawn: spawned from the first transaction and pulls a value from an identifier field of the original transaction. When the transaction processes as an activity in OIPA, the value of the mathvariable is listed in the Math link of the Activity Detail window.   

  • The following sequences have been added to the AsSequence table for use in generating identifiers:

    • ClientID

    • EffectiveDateID

    • MultiFieldID

    • PolicyFieldID

 

View New Feature in OIPA

View the prototype example in OIPA by logging in and selecting the Company | Plan you used when creating the screen and transactions above. Create a new policy and click the Activities link. Select the Identifier Fields transaction first and click OK. Process it from the Activity screen. The Identifier Spawn activity will appear on the Activity screen. Process it. After it processes, click the Activity Detail icon to the left of the activity. Check the Entry Fields link and the Math link.        

 

 

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