CopyToImpairmentFields (For Requirements)

The CopyToImpairmentFields business rule is attached to Policy, Client or Policy-Client Requirements to update the data of a single Impairment.

The CopyToImpairmentFields business rule processes during execution of the <Rule> element configured under the Requirement's Definition rule.

CopyToImpairmentFields For Requirements: Elements and Attributes
Element Attribute Parent Element Description Element / Attribute Values
<CopyToImpairmentFields>     This is the root element for the rule.  
  IMPAIRMENTGUID <CopyToImpairmentFields>

Required:

This attribute identifies the Impairment to update.

  • math variable

  • requirement field

<Fields>   <CopyToImpairmentFields>

Required:

This element's structure defines  one or more fields or data columns to update and the data source of the updated values.

 
<Field>   <Fiields>

Required, Repeatable:

This element defines a single field or data column to update and the data source of its updated value.  This element is repeated to update multiple fields or data columns.

 
<From>   <Field>

Required:

This element provides a single updated value for the field or data column. 

  • math variable

  • requirement field

<To>   <Field>

Required:

This element provides the field name to update.

  • field name

<OptionText>   <Field>

Optional:

This element provides a single value for the field's option text.  This applies to combo and radio fields only. 

The value of a combo and radio field is not the same as its visible text.  Option text provides the visible text associated to this field's value

  • math variable

  • requirement field

XML Schema

<CopyToImpairmentFields IMPAIRMENTGUID="[variable | requirement field]">
    <Fields>
        <Field>
            <From>[variable | requirement field]</From>
            <To>[field name]</To>
            <OptionText>[variable | requirement field]</OptionText>
        </Field>
        <Field>...</Field>
    </Fields>
</CopyToImpairmentFields> 

XML Example

<CopyToImpairmentFields IMPAIRMENTGUID="ImpairmentGUIDMV">
    <Fields>
        <Field>
            <From>ExpiredMV</From>
            <To>ExpiredIndicator</To>
        </Field>
    </Fields>
</CopyToImpairmentFields>