CopyToCommissionDetailFields
This is a standard CopyTo business rule which can be used to update the Non-System fixed fields and the dynamic fields (with the exception of StatusCode). This rule support collections. A Commission record can be updated,
- by the exact client or policy that created the claim.
- by a transaction at Policy level to which the segment is linked.
- by a Plan level activity of the plan to which the Policy belongs or the Company level activity of the company to which the Plan belongs.
Element/Tag | Attribute | Definition | Element/Attribute Value and Description |
---|---|---|---|
<CopyToCommissionDetailFields > | Required element:The root element for CopyToCommissionField BR |
|
|
COMMISSIONDETAILGUID | A MathVariable containing a list of COMMISSIONDETAILGUID for the commission record that will be changed by this rule. | ||
<Tests> | Optional element: The opening and closing tags of the Test section. | ||
<Test> | Required and repeatable element: Defines conditions for the generating the Commission record. When the test expressions are true, the record will be created. Test expressions support all logical operators. Context variables and MathVariables are also available for reference When multiple <Test> elements are present, all of the expressions must be true for the record to be created. | A conditional expression | |
TYPE |
Required attribute: Specifies the method by which the test will execute. EXPRESSION is the only supported value for this attribute. Expression |
||
<Fields> | Required element | ||
<Field> | Required and repeatable element | ||
<FromCollection> | Required if From is not used. This is mutually exclusive with the usage of From .Defines a collection MathVariable that is the source of the data with which to update. |
Key is a CommissionDetailGUID that identifies the specific commission that is updated. Value is the value to which the field will be updated. |
|
<From> | Required: This is required only when FromCollection is not used. This is mutually exclusive with the From element, which specifies the MathVariable from which the data should be copied. | ||
<To> | Defines the target field for the update. | The name of the field on the CommissionDetail Screen (both fixed and dynamic fields) to which the value should be copied. |
XML Schema
<CopyToCommissionDetailFields>
<Tests>
<Test TYPE="EXPRESSION">CopyMV = TrueMV</Test>
<Tests>
<Fields>
<Field>
<FromCollection>AmountCollectionMV</FromCollection>
<To>Amount</To>
</Field>
</Fields>
</CopyToCommissionDetailFields>
<CopyToCommissionDetailFields COMMISSIONDETAILGUID="CommissionDetailGUIDMV" >
<Tests>
<Test TYPE="EXPRESSION">CopyMV = TrueMV</Test>
<Tests>
<Fields>
<Field>
<From>AmountMV</From>
<To>Amount</To>
</Field>
</Fields>
</CopyToCommissionDetailFields>