TransactionCosmetics
This rule can be used to display a value from the transaction's Math or field data on the Activity screen’s Detail column.
As with the TransactionBusinessRulePacket business rule, this rule should be attached (overridden) to all the transactions and not be included in the TransactionBusinessRulePacket.
| Element/Tag | Attributes | Parent Element | Description | Element/Attribute Values |
|---|---|---|---|---|
|
<TransactionCosmetics> |
|
Required: The rule’s opening element. |
||
|
<AmountField> |
|
<TransactionCosmetics> |
Optional: System will provide a numeric value from the Activity's Math, PostAssignmentValidateExpressions or fields to be displayed in the Details column on the Activity screen. Note: When both AmountField and DetailField elements exists, AmountField definition takes precedence |
A math variable or field Example: <AmountField>GrossAmount </AmountField> Note: If the activity is in NUV Pending or Gain/Loss Pending status and math variables from PostAssignmentValidateExpressions are used in this section, these values will be displayed as blank or zero. |
|
|
TOOLTIP |
Optional: Provides additional information as a tool tip on the activity's Detail column value. |
String | |
|
<DetailField> |
|
<TransactionCosmetics> |
Optional: System will provide non-numeric data from the Activity's Math, PostAssignmentValidateExpressions or fields to be displayed in the Details column on the Activity screen. Note: When both AmountField and DetailField elements exists, AmountField definition takes precedence. |
A math variable or field Example: <DetailField> PremiumType </DetailField> Note: If the activity is in NUV Pending or Gain/Loss Pending status and math variables from PostAssignmentValidateExpressions are used in this section, these values will be displayed as blank or zero. |
|
|
TOOLTIP |
Optional: Provides additional information as a tool tip on the activity's Detail column value.
|
String | |
|
<Tooltip> |
|
<TransactionCosmetics> |
Optional: The opening and closing element for the tooltip section. This section allows configuration to add data to the tooltip that appears when a user hovers over the activity on the Activity screen. |
|
|
<Fields> |
|
<Tooltip> |
Required |
The element for a Fields section. |
|
<Field> |
|
<Fields> |
Required, Repeatable: The element to identify the data to add to the activity's tool tip. |
|
|
<Name> |
|
<Field> |
Required: The math variable or activity field containing information to be displayed in an activity’s tooltip. |
String |
|
<Display> |
|
<Field> |
Required: The configurable label to associate to the displayed data when displaying the tooltip. |
String |
|
<Warnings> |
|
<TransactionCosmetics> |
Optional: This section defines warning messages to alert users about inadvertently deleting or recycling the activity. |
|
|
<Warning> |
|
<Warnings> |
Required: The element to define a set of warning definitions. |
|
|
<DeleteWarning> |
|
<Warning> |
Optional: The element is used to define the warning messages that are to be displayed, when the user clicks the Delete icon (trash can) of a Pending activity. This is to prevent the user from inadvertently deleting am Activity. |
Yes:
The default or specified warning message will display 'OK' and 'Cancel'
buttons. Clicking the ‘OK’ button the activity is deleted.
Clicking the ‘Cancel’ button the activity is not deleted. No: The warning message will not display. |
|
|
MESSAGE |
Optional: Specifies the warning message displayed when the user attempts to delete a Pending activity. When the attribute is not present or it contains an empty string, the default message is displayed as "Are you sure?". |
String | |
|
<ReverseWarning> |
|
<Warning> |
Optional: The element is used to define the warning messages that are to be displayed, when the user clicks the Delete icon (trash can) of an Active activity. This is to prevent the user from inadvertently deleting an Activity. |
Yes: The default or specified warning message will display 'OK' and 'Cancel' buttons. Clicking the ‘OK’ button the activity is deleted. Clicking the ‘Cancel’ button the activity is not deleted. No: The warning message will not display. |
|
|
MESSAGE |
Optional: Specifies the warning message displayed when the user attempts to reverse an Active activity. When the attribute is not present or it contains an empty string, the default message is displayed as "Are you sure?". |
String | |
|
<RecycleWarning> |
|
<Warning> |
Optional: The element is used to define the warning messages that are to be displayed, when the user clicks the Recycle icon of an Active activity. This is to prevent the user from inadvertently recycling an Activity. |
Yes: The default or specified warning message will display 'OK' and 'Cancel' buttons. Clicking the OK button the activity is recycled. Clicking the Cancel button the activity is not recycled. No: The warning message will not display. |
|
|
MESSAGE |
Optional: Specifies the warning message displayed when the user attempts to recycle an Active activity. When the attribute is not present or it contains an empty string, the default message is displayed as "Are you sure?". |
String |
XML Schema
<TransactionCosmetics>
<AmountField TOOLTIP="[string]">[math variable | field]</AmountField>
<DetailField TOOLTIP="[string]">{math variable | field]</DetailField>
<Tooltip>
<Fields>
<Field>
<Name>[math variable | field]</Name>
<Display>[string]</Display>
</Field>
</Fields>
</Tooltip>
<Warnings>
<Warning>
<DeleteWarning MESSAGE="[string]">[Yes | No]</DeleteWarning>
<ReverseWarning MESSAGE="[string]">[Yes | No]</ReverseWarning>
<RecycleWarning MESSAGE="[string]">[Yes | No]</RecycleWarning>
</Warning>
</Warnings>
</TransactionCosmetics>
XML Example
<TransactionCosmetics>
<AmountField>TotalBaseFace</AmountField>
<Tooltip>
<Fields>
<Field>
<Name>ConfirmationNumber</Name>
<Display>Confirmation Number</Display>
</Field>
</Fields>
</Tooltip>
</TransactionCosmetics>