CopyToRequirementFields (For Transactions)
This business rule is attached to a transaction to copy activity field values to requirement fields. In addition to field values, CopyToRequirementFields will automatically update the OptionText of combo box and radio button fields.
Element | Definition | Attribute | Element/Attribute Value and Description |
---|---|---|---|
<CopyToRequirementFields> |
Opening and closing tags of the business rule.
|
||
REQUIREMENTGUIDS |
A MathVariable containing a list of RequirementGUIDs for the requirements that will be changed by this rule. |
||
<Fields> |
See Fields section for additional details. |
||
<Field> |
|||
<FromCollection> |
Defines a collection MathVariable that is the source of the data with which to update. |
Key is a RequirementGUID that identifies the specific requirement that is updated. Value is the value to which the field will be updated. |
|
<From> | Specifies the requirement MathVariable from which the data should be copied. | The name of the MathVariable from which the data should be copied. | |
<To> |
Defines the target field for the update. |
The name of the field on the Activity Requirement screen to which the value should be copied. |
XML Sample
<CopyToRequirementFields REQUIREMENTGUIDS="RequirementsArray">
<Fields>
<Field>
<FromCollection>CloseDateCollection</FromCollection>
<To>CloseDate</To>
</Field>
<Fields>
</CopyToRequirentFields>