You are here: Business Rules > Attached Rules > RolesExist

RolesExist

Description

This business rule allows validations that specify which roles cannot be assigned to the same person. Age validations can also be added. 

RolesExist Element/Attribute Table

Element/Tag

Definition

Attribute

Element/Attribute Value and Description

<RolesExist>

The opening and closing tag for the business rule.

 

This rule is generally attached to the following transactions:
AdditionalPayment, AddPay, AddPayAAB, Annuitization, AnnuityPayment, AnnuityPaymentDueUnpaid, AutoPay, Commission, CoverageCalculation, Disbursement, DisbursementDueUnpaid, Issue, PolicyApproval, Withdrawal.

Processing these transactions performs the validations on this business rule.

<Role>

Required element; Opening tag of the role section.

 

 

<RoleCode>

Required element;
Defines the role codes to verify if these role codes exists on the policy.

 

Required Value;
Code:
RoleCode (As defined in AsCode table=>AsCodeRole).

<FieldsExist>

Optional element;
tag is used to ensure that certain required fields are filled in when the transaction is run.>FieldsExist<

 

 

<Field>

Required element;
Defines the field to verify if the field value exist on the client screen of the client which is assigned to the specified role code.

 

Required value;
String: Field name on the Client Screen.

   

GROUP

Required attribute;
String:
Client, Role. Indicates the table/screen that stores the field being referenced.

   

DISPLAY

Required attribute;
String:
Display name of the field.

XML Example

<RolesExist>
<Role>    
<RoleCode>01</RoleCode>        
<FieldsExist>        
<Field GROUP="Client" DISPLAY="SSN/TIN">TaxID</Field>            
<Field GROUP="Client" DISPLAY="DOB">DateOfBirth</Field>            
</FieldsExist>        
</Role>    
<Role>    
<RoleCode>23</RoleCode>        
</Role>    
<Role>    
<RoleCode>37</RoleCode>        
</Role>    
<Role>    
<RoleCode>82</RoleCode>        
</Role>    
</RolesExist

 Schema Example

<RolesExist>
<Role>    
<RoleCode/>        
<FieldsExist>        
<Field GROUP="" DISPLAY=""/>            
<Field GROUP="" DISPLAY=""/>            
</FieldsExist>        
</Role>    
<Role>    
<RoleCode/>        
</Role>    
<Role>    
<RoleCode/>        
</Role>    
<Role>    
<RoleCode/>        
</Role>    
</RolesExist>
 

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