CompanyCosmetics
The business rule identifies the background to display on all screens except the login screen. It also indicates a role code designated as the owner role. The rule may be overridden by primary companies. This rule also lists the status codes that can be used to shadow (delete) a policy. This rule also enables/disables the Role Shading and Activity Shading features. This rule will help configurors define whether the duplicate plan name validation messages can be ignored in case a duplicate plan is created. Please refer to the Rules Palette guide for details on Role and Activity Shading features.
A configuration option has been provided under the Company Cosmetics Business Rule at primary company level to be able to “Justify” (align) the money fields to either “Left” or “Right”
Element/Tag | Attribute | Definition |
---|---|---|
<CompanyCosmetics> |
| The opening and closing tag of the CompanyCosmetics Business Rule. |
<CompanyCosmetics> | Optional: The opening and closing tags for the section. | |
<Tile> | Optional: The element identifies the background file that will display on all system screens except the login screen. | |
<RoundCurrencyEntry> | Optional: Indicates whether the value of a Money datatype field will be rounded automatically.
Yes or No Yes - Automatic rounding will be applied. No - Automatic rounding will not be applied. The default value is No. | |
<ActivityShading>
|
| Optional: Controls activity shading. |
ENABLE | Required: Specifies whether or not activity shading is applied to the transaction to show the activity status with preset colors.
Yes or No Yes - Activity shading will be applied. No - Activity shading will not be applied. The default value is No. | |
<RoleShading>
|
| Optional: Controls role shading. |
ENABLE | Required: Specifies whether or not role shading is applied to the this plan and basis this, the role screen will display roles in appropriate color codes.
Yes or No Yes - Role shading will be applied. No - Role shading will not be applied. The default value is No. | |
<PolicyRequirementShading> | Optional: Controls whether requirement shading is applied, based on requirement status. | |
<Shading> | Required, repeatable: Identifies the color in which the requirement will be shaded. Note: The same color value may be repeated across multiple instances of the <Shading> element.
Any color name defined in the HTML and CSS color specification. Note: Pick a color that contrasts properly against the OIPA background colors. The OIPA background colors will not be changed to meet color contrasting requirements. | |
STATUS | Required: Identifies the requirement status from AsCodeRequirementStatus to which the color shading will be applied. If an invalid status code is provided, the <Shading> element is ignored. Note: Only one code value can be entered. If multiple Statuses use the same color they must be listed in individual <Shading> elements.
A single status code value from AsCodeRequirementStatus. | |
<Substitutions> | Optional: The opening and closing tags for the section. | |
<Owner> | Optional: The element identifies the owner role code. Screens containing policy data will display the owner’s name in the fixed portion of the screen. | |
ROLECODE | Required: Identifies the role code associated to the owner role.
A valid code value for AsCodeRole in the AsCode table. | |
<PrimaryMember > | Optional: The element identifies the primary member role code for a group policy. | |
ROLECODE | Required: Identifies the role code associated with the primary member role.
A valid code value for AsCodeRole in the AsCode table. | |
<ShadowPolicyStatus> |
| Optional: Opening tag for status codes that can be shadowed. |
<ShadowStatusCode> |
| Required, Repeatable: Identifies the status code that will be used for shadowing a policy.
Text – AsCodeStatus code values. |
<RoundCurrencyEntry> |
| Optional: Indicates if automatic rounding of the entered Money data type field value will occur.
Literal Yesor No The default value is No. |
<MoneyFieldAlignment> | Optional: Indicates if money field values will be left or right justified.
Left or Right Default Value : Right | |
<RetainActivityErrorOverride> | Optional: Controls activity validations override retention.
Yes or No Yes - Activity validations override retention is enabled. No - Activity validations override retention is disabled. The default value is No. | |
<AllowDuplicatePlanName> | Optional: Indicates if the validation of duplicate plans under a group customer should be performed.
Literal Yes or No The default value is No. |
XML Schema
<CompanyCosmetics>
<CompanyCosmetics>
<Tile>[filename.gif]</Tile>
</CompanyCosmetics>
<ActivityShading ENABLE="[Yes|No]"></ActivityShading>
<RoleShading ENABLE="[Yes|No]"></RoleShading>
<PolicyRequirementShading>
<Shading ROLECODE=""></Shading>
</PolicyRequirementShading>
<Substitutions>
<Owner ROLECODE="[role code]"></Owner>
<PrimaryMember ROLECODE="[role code]"></PrimaryMember>
</Substitutions>
<ShadowPolicyStatus>
<ShadowStatusCode>[StatusCode]</ShadowStatusCode>
</ShadowPolicyStatus>
<MoneyfieldAlignment>[Left|Right]</MoneyfieldAlignment>
<AllowDuplicatePlanName></AllowDuplicatePlanName>
<RetainActivityErrorOverride>Yes</RetainActivityErrorOverride>
</CompanyCosmetics>
XML Example
<CompanyCosmetics>
<CompanyCosmetics>
<Tile>background7.gif</Tile>
</CompanyCosmetics>
<ActivityShading ENABLE="Yes"></ActivityShading>
<RoleShading ENABLE="Yes"></RoleShading>
<PolicyRequirementShading>
<Shading ROLECODE="01">Red</Shading>
</PolicyRequirementShading>
<Substitutions>
<Owner ROLECODE="01"></Owner>
<PrimaryMember ROLECODE="01"></PrimaryMember>
</Substitutions>
<ShadowPolicyStatus>
<ShadowStatusCode>04</ShadowStatusCode>
<ShadowStatusCode>12</ShadowStatusCode>
<ShadowStatusCode>44</ShadowStatusCode>
</ShadowPolicyStatus>
</CompanyCosmetics>