CopyToScheduledValuationFields
This rule will create fields in the AsScheduledValuationField table. It allows a ScheduledValuation activity to store valuation data from various sources in one convenient location. This rule, though attached to a transaction, does not appear in the TransactionBusinessRulePacket business rule.
| Element/ Tag | Attributes | Parent Element | Description | Element/Attribute Values |
|---|---|---|---|---|
|
<CopyToScheduledValuationFields> |
The opening and closing tags of the business rule. |
|||
|
<Fields> |
<CopyToScheduledValuationFields> |
Required: Defines a section to contain the fields that will be created. |
||
|
<Field> |
<Field> |
Required, Repeatable: Identifies the field that is created and its value. |
||
|
<From> |
<Field> |
Required: Identifies the MathVariable, activity field, valuation variable or PolicyValues business rule variable as the source value. A MathVariable or activity field from the transaction to which the rule is attached. An activity field is not prefixed. Valuation data must be prefixed with Valuation: and any nodes from the Valuation Structure to traverse to the desired value. |
||
|
<To> |
<Field> |
Required: Identifies the field that is created. A literal name for a field. |
||
|
<DataType> |
<Field> |
Required: Identifies the field’s data type. Text TextArea Date Integer Decimal Money |
XML Schema
<CopyToScheduledValuationFields>
<Fields>
<Field>
<From>[activity field]|[math variable]|Valuation:[valuation variable]|Valuation:PolicyValues:[policy value variable]</From>
<To>[field name]</To>
<DataType>Text|Date|Integer|Decimal|Money</DataType>
</Field>
<Field>
. . .
</Field>
<Fields>
</CopyToScheduledValuationFields>
XML Example
<CopyToScheduledValuationFields>
<Fields>
<Field>
<From>ProcessingState</From>
<To>ActivityField</To>
<DataType>Text</DataType>
</Field>
<Field>
<From>SourceMV</From>
<To>MVField</To>
<DataType>Integer</DataType>
</Field>
<Field>
<From>Valuation:CashValue</From>
<To>CashValue</To>
<DataType>Money</DataType>
</Field>
<Field>
<From>Valuation:PolicyValues:CumulativePremiumAmount</From>
<To>CumulativePremium</To>
<DataType>Money</DataType>
</Field>
</Fields>
</CopyToScheduledValuationFields>