PolicyAllocationScreen

Based on configuration, the Allocation screen is driven either by the PolicyAllocationScreen business rule or by the AllocationScreen business rule. The PolicyAllocationScreen business rule allows users to manage allocation models and funds on the Allocation screen.

PolicyAllocationScreen Elements/Attributes
Element/Tag Attribute Definition Element/Attribute Value and Description

<PolicyAllocationScreen>

Opening and Closing element for Policy allocation screen.

<AllocationDate>

Optional element:

Indicates that funds and models available for allocation should be based on the effective date specified in this element.

Default: AsPolicy:PlanDate

Policy:PolicyField.

Note: This field should be configured in the Policy Screen and then referenced in this element.

<Precision>

Optional element:

Specifies the number of digits allowed after the decimal point in an allocation.

<PercentPrecision>

Required element:   

Defines precision for percent allocations.

Integer Constant

<AllocationType>

Required element:   

Specifies the allocation type.

TYPECODE

Required attribute:  

Specifies the allocation type.

A value from AsCodeAllocationTypes.

  ID Optional attribute: Provides a name for the Allocation type section. The name may be used by an Action so that the Action affects only this Allocation Type section. Literal text value. This value must be unique relative to the values of all other ID attributes within the rule in which it is contained.

<Allocation>

Required, repeatable element:

SWITCH

Optional attribute:

The presence of this attribute indicates that an allocation is a transfer.

FROM: Indicates that the allocation section is for "From" allocations.

TO: Indicates that the allocation section is for "To" allocations. This is the default behavior.

If a "From" allocation section is configured, a "To" allocation section must also be configured. If a "From" allocation section is configured, but a "To" allocation section is not, an error message will be returned.

 

ALLOWMIXEDMETHODS Optional attribute:

Defines whether or not mixed allocation methods are allowed.

Yes | No

"No" is the default value. If set to "Yes," the methods composing the mix can be defined in the <AllocationMethod> elements.

If this attribute is present, but the <AllocationMethods> element is absent, the Allocation Method drop-down list for the fund will be empty.

  ID

Optional attribute:

Provides a name for the allocation section. The name may be used by an Action so that the Action affects only this Allocation section.

Literal text value. This value must be unique relative to the values of all other ID attributes within the rule in which it is contained.

< AllocationMethods>

Required element:

A container element for the individual <AllocationMethod> elements.

<AllocationMethod>

Required, repeatable element:   

Specifies the allocation method(s) being used.

AsCodeAllocationMethod code value. Supported allocation methods are Percent, Percent of Fund, Amount, Units and Mixed.

No comma-delimited lists may be used as a value for this attribute--if multiple allocation methods are needed, this element should be repeated with a different code value within each instance.

Allocation methods configured in this element will be available for selection in the Allocation Method drop-down list on the Transaction Allocation screen.

<Funds>

Optional element:

Used  to filter funds for allocation.

  ID Optional attribute: Provides a name for the Funds section. The name may be used by an Action so that the Action affects only this Funds section. Literal text value This value must be unique relative to the values of all other ID attributes within the rule in which it is contained.

< FundLimit>

Optional element:

Can be used to set a limit on the maximum number of funds that can be allocated.

Integer Constant

< ValueRanges>

Optional element:

Can be used to specify the minimum and maximum limits for allocation.

<Percent>

Required if ValueRanges is used. Either the MINIMUM or MAXIMUM attribute is required.

MINIMUM

Specifies the minimum percent allowed for allocation.

Integer Constant

1 to 100.

MAXIMUM

Specifies the maximum percent allowed for allocation.

Integer Constant

1 to 100.

<FundCriteria>

Optional element:

Enables filtering which funds are available for allocation.

<Query>

 

Optional element:

Contains a SQL query used to filter the initial list of funds.

 

<FundFields>

Optional element:

Provides the ability to filter funds based on fund fields.

<FundField>

Required, repeatable element:

Defines the fund field to be used for filtering.

Note: Singular or multiple <FundField> elements outside of <And> and <Or> elements are connected in a logical “and” relationship.

FIELDNAME

Required attribute

Fund field name. Fixed and dynamic fields are supported.   

FundName and TypeCode for fixed fields.

DATATYPE

Required attribute

Specifies the datatype of the Fund field.

Field data type like TEXT, INTEGER, etc.

OPERATOR

Required attribute

Specifies the comparison operator.

Equal | NotEqual | Like   

The code will wrap the value with % on both sides.

The Like option only applies to TEXT.

<Value>

Required, repeatable element:

Specifies a value to compare to the fund field.

Literalor Policy:PolicyField

<And>  

Optional element:

Provides a logical "and" relationship among the <FundField> elements contained within this element.

 
<FundField>  

Required, repeatable element:

Defines the fund field to be used for filtering. This element is configured in the same way as <FundField> elements not within the <And> element.

 
<Or>  

Optional element:

Provides a logical "or" relationship among the <FundField> elements contained within this element.

 
<FundField>   Required, repeatable element:

Defines the fund field to be used for filtering. This element is configured in the same way as <FundField> elements not within the <Or> element.

 

< FundStatuses>

Optional element:

Used to filter funds by status.

TYPE

Optional attribute:

Allows the filter to include or exclude funds that meet the filtering status criteria.

INCLUDE | EXCLUDE   

<FundStatus>

Required, repeatable element:

Specifies the status code for fund filtering.

Code Value as in AsCodeFundStatus

<Models>

Optional element:

Used to filter models for allocation. Models do not apply if Allocation SWITCH="FROM".

  ID Optional attribute: Provides a name for the Funds section. The name may be used by an Action so that the Action affects only this Funds section. Literal text value: This value must be unique relative to the values of all other ID attributes within the rule in which it is contained.

< ModelLimit>

Optional element:

Sets a limit on the maximum number of models that can be allocated.

Integer Constant

< ValueRanges>

Optional element:

Can be used to specify the minimum and maximum limits for allocation.

<Percent>

Required if ValueRanges is used. Either the MINIMUM or MAXIMUM attribute is required.

MINIMUM

Specifies the minimum percent allowed for allocation.

Integer Constant

1 to 100.

MAXIMUM

Specifies the maximum percent allowed for allocation.

Integer Constant

1 to 100.

<ModelCriteria>

Optional element:

Enables filtering which models are available for allocation.

<Query>   Optional element: Contains a SQL query used to filter the initial list of Models.  

<ModelFields>

Optional element:

Provides the ability to filter models based on model fields.

<ModelField>

Required, repeatable element:

Defines the model field to be used for filtering.

FIELDNAME

Required attribute

Model field name. Fixed and dynamic fields are supported.   

Fixed fields only for models:

ModelName

ModelCategory

ModelDescription

ModelType

DATATYPE

Required attribute

Specifies the datatype of the model field.

Field data type: TEXT, INTEGER, etc.

OPERATOR

Required attribute

Specifies the comparison operator.

Equal | NotEqual | Like   

The code will wrap the value with % on both sides. The Like option only applies to TEXT.

<Value>

Required, repeatable element:

Specifies a value to compare to the model field.

Literal or Policy:PolicyField

<And>   Optional element: Provides a logical "and" relationship among the <ModelField> elements contained within this element.  
<ModelField>   Required, repeatable element: Defines the Model field to be used for filtering. This element is configured in the same way as <ModelField> elements not within the <And> element.  
<Or>   Optional element: Provides a logical "or" relationship among the <ModelField> elements contained within this element.  
<ModelField>   Defines the Model field to be used for filtering. This element is configured in the same way as <ModelField> elements not within the <Or> element.  

<ModelStatuses>

Optional element:

Used to filter models by status.

TYPE

Optional attribute:

Allows the filter to include or exclude models that meet the filtering status criteria.

INCLUDE | EXCLUDE

<ModelStatus>

Required, repeatable element:

Specifies the status code for model filtering.

Code Value as in AsCodeModelStatus

<Events>  

Optional element:

Provides the ability to react to an ONLOAD event of the screen.

See the ActionEvents page for information on the configuration of this element, its attributes and sub-elements.

The configuration described on this page is only that that differs from Action/Event configuration used elsewhere.

 
<Actions>   Optional, repeatable element:

Defines the type of action that is to occur.

 
  ACTIONTYPE Required attribute:

Indicates which action to perform.

Hide – The action to hide the named allocation section.

Show – The action to show the named allocation section. This is the default behavior when the optional elements are not configured.

  SECTIONNAME Required attribute:

Provides the name of the section to show or hide. This attribute is unique to this screen.

Literal text value mapped directly to the ID attribute of an <Allocation> element.
<ActionSet>   Optional element:

Defines the ActionSet.

 

<DisableAllocations>

Optional element:

Specifies whether to disable the allocation screen.

<PolicyStatus>

Required, repeatable element:

Specifies policy status codes.

Code Value as in AsCodePolicyStatus

XML Example

<PolicyAllocationScreen>
<AllocationDate>Policy:PlanDate</AllocationDate>
<Precision>
<PercentPrecision>2</PercentPrecision>
</Precision>
<AllocationType TYPECODE="02">
<Allocation>
<AllocationMethods>
<AllocationMethod>01</AllocationMethod>
</AllocationMethods>
<Funds>
<FundLimit>2</FundLimit>
<FundCriteria>
<FundFields>
<FundField FIELDNAME="FundName" DATATYPE="TEXT" OPERATOR="Equal">
<Value>GS MidCap Value</Value>
<Value>Finlux International Opp</Value>
</FundField>
</FundFields>
<FundStatuses TYPE="EXCLUDE">
<FundStatus>02</FundStatus>
<FundStatus>03</FundStatus>
<FundStatus>04</FundStatus>
<FundStatus>05</FundStatus>
</FundStatuses>
</FundCriteria>
</Funds>
<Models>
<ModelLimit>2</ModelLimit>
<ValueRanges>
<Percent MINIMUM="10" MAXIMUM="100"></Percent>
</ValueRanges>
<ModelCriteria>
<ModelFields>
<ModelField FIELDNAME="ModelName" DATATYPE="TEXT" OPERATOR="Equal">
<Value>LifeStyle Custom Portfolio</Value>
<Value>LifeStyle Moderate Portfolio</Value>
<Value>LifeStyle Conservative Portfolio</Value>
<!--	<Value>LifeStyle Aggressive Portfolio</Value>-->
</ModelField>
</ModelFields>
<ModelStatuses TYPE="INCLUDE">
<ModelStatus>01</ModelStatus>
</ModelStatuses>
</ModelCriteria>
</Models>
</Allocation>
</AllocationType>
<AllocationType TYPECODE="09">
<Allocation SWITCH="From">
<AllocationMethods>
<AllocationMethod>01</AllocationMethod>
</AllocationMethods>
<Funds>
<FundLimit>3</FundLimit>
<FundCriteria>
<FundFields>
<FundField FIELDNAME="FundName" DATATYPE="TEXT" OPERATOR="Equal">
<Value>GS MidCap Value</Value>
<Value>Finlux International Opp</Value>
</FundField>
</FundFields>
<FundStatuses TYPE="EXCLUDE">
<FundStatus>02</FundStatus>
<FundStatus>03</FundStatus>
<FundStatus>04</FundStatus>
<FundStatus>05</FundStatus>
</FundStatuses>
</FundCriteria>
</Funds>
</Allocation>
<Allocation SWITCH="To">
<AllocationMethods>
<AllocationMethod>01</AllocationMethod>
</AllocationMethods>
<Funds>
<FundLimit>3</FundLimit>
<FundCriteria>
<FundFields>
<FundField FIELDNAME="FundName" DATATYPE="TEXT" OPERATOR="Equal">
<Value>GS MidCap Value</Value>
<Value>Finlux International Opp</Value>
</FundField>
</FundFields>
<FundStatuses TYPE="EXCLUDE">
<FundStatus>02</FundStatus>
<FundStatus>03</FundStatus>
<FundStatus>04</FundStatus>
<FundStatus>05</FundStatus>
</FundStatuses>
</FundCriteria>
</Funds>
<Models>
<ModelLimit>2</ModelLimit>
<ValueRanges>
<Percent MINIMUM="10" MAXIMUM="100"></Percent>
</ValueRanges>
<ModelCriteria>
<ModelFields>
<ModelField FIELDNAME="ModelName" DATATYPE="TEXT" OPERATOR="Equal">
<Value>LifeStyle Custom Portfolio</Value>
<Value>LifeStyle Aggressive Portfolio</Value>
</ModelField>
</ModelFields>
<ModelStatuses TYPE="INCLUDE">
<ModelStatus>01</ModelStatus>
</ModelStatuses>
</ModelCriteria>
</Models>
</Allocation>
</AllocationType>
<AllocationType TYPECODE="13">
<Allocation ID="SourceAllocation1" SWITCH="From">
<AllocationMethods>
<AllocationMethod>01</AllocationMethod>
</AllocationMethods>
<Funds>
<FundCriteria>
<FundFields>
<And>
<FundField FIELDNAME="FundName" DATATYPE="TEXT" OPERATOR="Equal">
<Value>Money Market Fund</Value>
<Value>GS SmallCap Value</Value>
<Value>Finlux Short Treasury Bond Fund</Value>
<Value>BigPlus Large Cap Growth</Value>
</FundField>
</And>
</FundFields>
<FundStatuses TYPE="INCLUDE">
<FundStatus>01</FundStatus>
</FundStatuses>
</FundCriteria>
</Funds>
</Allocation>
<Allocation SWITCH="To">
<AllocationMethods>
<AllocationMethod>01</AllocationMethod>
</AllocationMethods>
<Funds>
<FundCriteria>
<FundFields>
<And>
<FundField FIELDNAME="FundName" DATATYPE="TEXT" OPERATOR="Equal">
<Value>Finlux Diversified Bond</Value>
<Value>GS SmallCap Value</Value>
<Value>BigPlus Global Bond</Value>
<Value>BigPlus Large Cap Growth</Value>
</FundField>
</And>
</FundFields>
<FundStatuses TYPE="INCLUDE">
<FundStatus>01</FundStatus>
</FundStatuses>
</FundCriteria>
</Funds>
</Allocation>
<Events>
<Event TYPE="ONLOAD">
<ActionSet ID="OnLoadActionSet1"></ActionSet>
</Event>
</Events>
<Actions>
<ActionSet ID="OnLoadActionSet1">
<Condition IF="Policy:PlanDate &lt; SystemDate">
<Action ACTIONTYPE="SHOW" SECTIONNAME="SourceAllocation1"></Action>
<Else>
<Action ACTIONTYPE="HIDE" SECTIONNAME="SourceAllocation1"></Action>
</Else>
</Condition>
</ActionSet>
</Actions>
</AllocationType>
<AllocationType TYPECODE="11">
<Allocation SWITCH="From">
<AllocationMethods>
<AllocationMethod>01</AllocationMethod>
</AllocationMethods>
<Funds>
<FundCriteria>
<Query>SELECT AsFund.FundGUID FROM AsFund JOIN AsFundField RedemptionFee ON AsFund.FundGUID=RedemptionFee.FundGUID AND RedemptionFee.FieldName='RedemptionFee' AND RedemptionFee.TextValue='Yes' JOIN AsFundField FundCode ON AsFund.FundGUID=FundCode.FundGUID AND FundCode.FieldName='FundCode' AND FundCode.TextValue='100' JOIN AsFundField RedemptionFactor ON AsFund.FundGUID=RedemptionFactor.FundGUID AND RedemptionFactor.FieldName='RedemptionFactor' AND RedemptionFactor.FloatValue='1'</Query>
</FundCriteria>
</Funds>
</Allocation>
<Allocation SWITCH="To">
<AllocationMethods>
<AllocationMethod>01</AllocationMethod>
</AllocationMethods>
<Funds>
<FundCriteria>
<Query>SELECT AsFund.FundGUID FROM AsFund JOIN AsFundField RedemptionFee ON AsFund.FundGUID=RedemptionFee.FundGUID AND RedemptionFee.FieldName='RedemptionFee' AND RedemptionFee.TextValue='Yes' JOIN AsFundField FundCode ON AsFund.FundGUID=FundCode.FundGUID AND FundCode.FieldName='FundCode' AND FundCode.TextValue='100' JOIN AsFundField RedemptionFactor ON AsFund.FundGUID=RedemptionFactor.FundGUID AND RedemptionFactor.FieldName='RedemptionFactor' AND RedemptionFactor.FloatValue='1'</Query>
</FundCriteria>
</Funds>
</Allocation>
</AllocationType>
<AllocationType TYPECODE="14">
<Allocation SWITCH="From">
<AllocationMethods>
<AllocationMethod>01</AllocationMethod>
</AllocationMethods>
<Funds>
<FundCriteria>
<FundFields>
<And>
<FundField FIELDNAME="FundName" DATATYPE="TEXT" OPERATOR="Equal">
<Value>BigPlus China Fund</Value>
<Value>Finlux Diversified Bond</Value>
<Value>GS Dynamic Equity</Value>
<Value>Money Market Fund</Value>
</FundField>
<FundField FIELDNAME="FundCode" DATATYPE="TEXT" OPERATOR="NotEqual">
<Value>100</Value>
</FundField>
<FundField FIELDNAME="RedemptionFee" DATATYPE="TEXT" OPERATOR="NotEqual">
<Value>No</Value>
</FundField>
<FundField FIELDNAME="RedemptionDuration" DATATYPE="INTEGER" OPERATOR="Equal">
<Value>4</Value>
</FundField>
</And>
</FundFields>
</FundCriteria>
</Funds>
</Allocation>
<Allocation SWITCH="To">
<AllocationMethods>
<AllocationMethod>01</AllocationMethod>
</AllocationMethods>
<Funds>
<FundCriteria>
<FundFields>
<And>
<FundField FIELDNAME="FundName" DATATYPE="TEXT" OPERATOR="Equal">
<Value>BigPlus China Fund</Value>
<Value>Finlux Diversified Bond</Value>
<Value>GS Dynamic Equity</Value>
<Value>Money Market Fund</Value>
</FundField>
</And>
</FundFields>
<FundStatuses TYPE="INCLUDE">
<FundStatus>01</FundStatus>
</FundStatuses>
</FundCriteria>
</Funds>
</Allocation>
</AllocationType>
<DisableAllocations>
<PolicyStatus>01</PolicyStatus>
<PolicyStatus>04</PolicyStatus>
<PolicyStatus>07</PolicyStatus>
</DisableAllocations>
</PolicyAllocationScreen>

XML Schema

<PolicyAllocationScreen>
<!--This is the main element. Default for Allocation Date  is AsPolicy:PlanDate-->
<AllocationDate>[Policy:PolicyField]</AllocationDate>
<!--Precision at this level defines precision for all allocation types 
if not defined at individual allocation type level-->
<Precision>
<PercentPrecision>[Constant]</PercentPrecision>
</Precision>
<AllocationType TYPECODE="[AllocationTypeCode]"ID="[AllocationID]">
<!--AllocationType specifies the type code of individual allocations-->
<Allocation ID="[AllocationID]" SWITCH="[To|From]" ALLOWMIXEDMETHODS="[Yes|No]">
<AllocationMethods>
<AllocationMethod>[AsCodeAllocationMethod code value]</AllocationMethod>
. . .
</AllocationMethods>
<Funds   ID="[FundsID]"> </Funds> 
<!-- Fund Filter-->
<FundLimit>[Integer]</FundLimit>
<ValueRanges>
<!--Can be used to set Min/Max limits on allocation.Code Validations
based on these limits-->
<Percent MINIMUM="[Constant ]" MAXIMUM="[Constant]"/>
</ValueRanges>
<FundCriteria>
<Query>[SQL Query]</Query>
<FundFields>
<FundField FieldName="[Fund Field Name]" 
DATATYPE="[TEXT (DEFAULT)|INTEGER..]" OPERATOR="[Equal|NotEqual|Like]">
<Value>[Literal or Policy:PolicyField]</Value>
<Value>[Literal or Policy:PolicyField]</Value>
</FundField>
<FundField FieldName="[Fund Field Name]" DATATYPE="[TEXT|INTEGER|..]"
OPERATOR="[Equal|NotEqual|Like]">
<!--Repeatable Element. Can be used to filter funds based on a specific 
fund field value or compare to a Policy Field Value. Comparison type is 
defined by the OPERATOR. 'Like' is only for text fields-->
<Value>[Literal or Policy:PolicyField]</Value>
</FundField>
</FundFields>
<FundStatuses TYPE="[INCLUDE|EXCLUDE]">
<FundStatus>[Model status as in AsCodeFundStatus]</FundStatus>
<FundStatus>[Model status as in AsCodeFundStatus]</FundStatus>
</FundStatuses>
<!--Repeatable Tag-->
</FundCriteria>
</Funds>
<Models>
<!--This section is to Filter Models for Allocation-->
<ModelLimit>[Integer]</ModelLimit>
<ValueRanges>
<Percent MINIMUM="[Constant ]" MAXIMUM="[Constant]"/>
</ValueRanges>
<ModelCriteria>
<ModelFields>
<ModelField FieldName="[Model Name]" DATATYPE="[TEXT(DEFAULT)|..]"
OPERATOR="[Equal|NotEqual|Like]">
<Value>[Literal or Policy:PolicyField]</Value>
<Value>[Literal or Policy:PolicyField]</Value>
</ModelField>
<ModelField FieldName="[Model Category ]" DATATYPE="[TEXT|INTEGER|..]"
OPERATOR="[Equal|NotEqual|Like]">
<Value>[Literal or Policy:PolicyField]</Value>
</ModelField>
<!--Repeatable Element. Can be used to filter funds based on a specific fund field 
value or compare to a Policy Field Value. Comparison type is defined by the OPERATOR-->
</ModelFields>
<ModelStatuses TYPE="[INCLUDE|EXCLUDE]">
<ModelStatus>[Model status as in AsCodeModelStatus]</ModelStatus>
<ModelStatus>[Model status as in AsCodeModelStatus]</ModelStatus>
<!--Repeatable Tag-->
</ModelStatuses>
</ModelCriteria>
</Models>
</Allocation>
</AllocationType>
<DisableAllocations>
<PolicyStatus>[PolicyStatusCode]</PolicyStatus>
<PolicyStatus>[PolicyStatusCode]</PolicyStatus>
….
</DisableAllocations>
</PolicyAllocationScreen>

 

 

 

 

Oracle Insurance Logo Copyright © 2017, Oracle and/or its affiliates. All rights reserved. About Oracle Insurance | Contact Us