CompanyCosmetics Business Rule

Oracle Insurance Rules Palette

 

CompanyCosmetics Business Rule

The CompanyCosmetics business rule:

  • Identifies the background to display on all screens except the login screen.
  • Specifies statuses that can be assigned to a policy when it is deleted in OIPA.
  • Identifies the role code that should get displayed in the policy header section for a individual policy record and group policy record.
  • Enables or disables the ActivityShading feature.
  • Enables or disables the Role Shading feature.
  • Enables or disables the Requirement Shading feature.

 

Steps to Configure the CompanyCosmetics Rule

  1. In the Global Rules Explorer, browse to Business RulesSystem and right-click on CompanyCosmetics.

  2. Select NewCompanyCosmeticsOverride.

  3. In the Configuration area, click on the XML Source tab. The XML source is displayed, with only the start and end tags for the CompanyCosmetics rule.

  4. If a background is defined in this rule, add a sub-element <CompanyCosmetics>.

  5. Under the sub-element <CompanyCosmetics> add another sub-element: <Tile>. The name of the file that contains the background for all screens except the login screen should appear between the opening and closing tags of this element.
  6. If shadowing is allowed on the policy, then <ShadowPolicyStatus> should be added as a sub-element to the parent tag, at the same level as the <CompanyCosmetics> sub-heading.
  7. The <ShadowStatusCode> element should appear as a sub-heading to <ShadowPolicyStatus> and should contain all valid status codes that can be assigned to a policy once it is deleted. Status codes are defined in the AsCodeStatus table. These defined statuses will populate the Shadow Status Code drop down box on the Policy Screen Shadow Policy visual editing pane.
  8. If any additional <ShadowStatusCode> elements are needed, then add one for each code.

  9. Use the <Substitutions> element along with thwe <Owner> and/or <PrimaryMember> element to define the role code that should get displayed in the policy header section.
  10. If Activity Shading is required, add the <ActivityShading ENABLE="Yes"> element after the </CompanyCosmetics> sub-element, the </ShadowPolicyStatus> element or the </RoleShading> element. The <ActivityShading> element must not be a sub-element of the <CompanyCosmetics> sub-element.

  11. If Role Shading is required, add the <RoleShading ENABLE="Yes"> element after the </CompanyCosmetics> sub-element, the </ShadowPolicyStatus> element or the </ActivityShading> element. The <RoleShading> element must not be a sub-element of the <CompanyCosmetics> sub-element.
  12. If Requirement Shading is required, add the <PolicyRequirementShading> element. Also add the <Shading> sub-element with a value specifying the color to shade the requirement, as well as a STATUS attribute of the <Shading> element specifying the status to which the shading should be applied.
  13. Save and check in the rule.

 

 

Role Shading

The Role Shading feature enables the display of role status in the Role screen in color. If the company is configured with the Role Shading feature enabled (in a company override of the CompanyCosmetics rule), then the role view will display each role in appropriate color and shading. The color of the text in the role listing matches the role status.

  • Black— Active (01)

  • Gray — Inactive (98)

  • Gray — Deleted (99)

 

 

Changing OIPA's Background Image

The CompanyCosmetics business rule allows a configuror to change the background image that displays in OIPA. To do so:

  1. Unzip the OIPA .war file.
  2. Within the .war file, navigate to Themes | Oracle | images.
  3. Copy the desired image into the folder.
  4. Close the program used to unzip the .war file and save the changes if prompted.
  5. Open the Rules Palette and check out the Company Cosmetics business rule.
  6. Change the value of the <Tile> element to the new image's filename.
  7. Deploy the OIPA .war file.

 

 

Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices