You are here: Business Rules > Attached Rules > CopyToClientFields

Oracle® Insurance Rules Palette Release 9.3.1.0 E21044_01

# CopyToClientFields

## Description

This business rule allows one or more math variables to be copied from an activity to one or more client fields when the activity that this rule is attached to is processed.

CopyToClientFields Element/Attribute Table
Element/Tag | Definition | Attribute | Element/Attribute Value and Description
--- | --- | --- | ---
<CopyToClientFields> | Required opening and closing tag of the CopyToClientFields rule. Note: CLIENTGUID attribute is optional. | CLIENTGUID | Optional attribute; MathVariable This attribute is used to specify the ClientGUID of the client whose records are to be updated. Note: Transaction to which this business rule is attached should contain the MathVariables that capture the ClientGUIDs.
<Fields> | Required element; Used to specify the client fields that will be updated by values from math variables. |  |
<Field> | Repeatable element; The opening and closing tag that encompasses <From> and <To>. |  |
<From> | This element is used to specify the math variable or activity field where the data should be copied from. |  | Required element value; MathVariable/ActivityField Name of MathVariable or field from the transaction. Not required if using FromCollection and no CLIENTGUID attribute specified on opening element.
<To> | Required element; This element is used to specify the fields in the Client screen where the data will be copied to. |  | Required element value; Field Name of the field in Client screen .
<FromCollection> | Require element; This element is required when no CLIENTGUID attribute has been specified on the opening element. The collection consists of Client GUIDs as the key and data value for the indicated <To> field. |  | Required element value:Math variable of variable type Collection.

## XML Example

    <CopyToClientFields CLIENTGUID="ClientGUIDMV">

    <Fields>

    <Field>

    <From>NewFirstNameMV</From>

    <To>NewFirstNameField</To>

    </Field>

    <Field>

    <From>NewLastNameMV</FromCollection>

    <To>NewLastNameField</To>

    </Field>

    </Fields>

    </CopyToClientFields>

## Schema Example

    <CopyToClientFields CLIENTGUID="[String]">

    <Fields>

    <Field>

    <From\>

    <To\>

    </Field>

    <Field>

    <FromCollection\>

    <To\>

    </Field>

    </Fields>

    </CopyToClientFields>

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

Open table of contents