CopyToAddressFields

Description

This business rule allows one or more MathVariables to be copied from an activity to one or more Address fields.

In addition to field values, CopyToAddressFields will automatically update the OptionText of combo box and radio button fields.

CopyToAddressFields Element/Attribute Table
Element/Tag Definition Attribute Element/Attribute Value and Description

<CopyToAddressFields>

The opening and closing tags of this rule.

ADDRESSGUID

String:

<Fields>

Allows configuration of dynamic fields.

   

<Field>

Repeatable element;
The opening and closing tag that encompasses <From> and <To>
   

<From>

Name of the Math Variable or activity field data is being copied from.

  Required element value;
MathVariable/ActivityField
Name of the MathVariable or field from the transaction. Not required if using FromCollection and no CLIENTGUID attribute is specified on the opening element.

<FromCollection>

Name the collection from which data is copied.

 

Required element value: MathVariable of variable type Collection.

<To>

Name of Address field data is being copied to.

  Required element value
Field;
Name of the field in Client screen .

XML Example

<CopyToAddressFields ADDRESSGUID="AddressGUID">
<Fields>
<Field>
<From>AddressLineOne</From>
<To>AddressLine1</To>
</Field>
<Field>
<From>AddressEffectiveDate</From>
<To>EffectiveDate</To>
</Field>
<Field>
<From>MVNationCode</From>
<To>NationCode</To>
</Field>
<Field>
<From>MVReturnMailIndicator</From>
<To>ReturnMailIndicator</To>
</Field>
</Fields>
</CopyToAddressFields>