Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Show Page Sections

Hotspot Inheritance Algorithm

As mentioned in the previous chapter, the Hotspot number inheritance at Runtime is performed under certain conditions only. This chapter presents different scenarios allowing to better understand how the inheritance algorithm works in Smart CPQ.

As a reminder, there is no Hotspot number inheritance done at Design.

Initial Product Structure

SPARE PARTS INITIAL STRUCTURE

In this chapter, we consider a Standard Item SI_A with the following Parts structure:



CONVENTIONS

In the following chapters:

  • If no Hotspot number (HS) is set on a given element, it means that none is affected.
  • Hotspots in red color are the ones manually changed, thus triggering the inheritance behavior for each use case.
  • Hotspots in green color are the one affected by the initial manual change.
  • Hotspots in black color are not affected by the manual change

The blue arrows represent ‘sparePart’ links. The red arrows represent ‘replacement’ links

Use cases on the initial structure

SCENARIO 1: SIMPLE INHERITANCE OF UNIQUE HOTSPOT

Description

In that use case, we affect the Hotspot 10 to the SI_A1 on the first level at Design.

Result

In that scenario, we observe that SI_A1 on the second level and SI_A1 on the third level automatically inherit from the Hotspot 10 at Runtime:



SCENARIO 2: OVERRIDE INHERITED HOTSPOT

Description

In that use case, we consider having run the Scenario 1. SI_A1 is associated with Hotspot 10 on all 3

levels.

From there, we manually assign at Design the Hotspot 20 to SI_A1 on the third level.

Result

The assignation has no impact on the Hotspot associated to SI_A1 on level 1 and 2 (Hotspot 10)



SCENARIO 3: OVERRIDE UNIQUE HOTSPOT

Description

In that use case, we consider having run the Scenario 1. SI_A1 is associated with Hotspot 10 on all 3 levels.

From there, we manually assign at Design the Hotspot 20 to SI_A1 on the first level.

Result

The Hotspot 20, manually changed for SI_A1 at the first level, is inherited at Runtime at the second and third levels for SI_A1, thus replacing the previous inherited value.



SCENARIO 4: DELETE UNIQUE HOTSPOT

Description

In that use case, we consider having run the Scenario 1. SI_A1 is associated with Hotspot 10 on all 3 levels.

From there, we manually delete at Design the Hotspot 10 associated with SI_A1 on the first level.

Result

The deletion of the Hotspot previously assigned on the first level for SI_A1 is inherited at Runtime, in the sense that no Hotspot is associated anymore with SI_A1 on levels 2 and 3.



SCENARIO 5: DELETE ONE HOTSPOT AMONG MULTIPLE IN A SUB-LEVEL

Description

In that use case, we consider having run the Scenario 1 and 2:

  • SI_A1 is associated with Hotspot 10 on level 1.
  • SI_A1 is associated with Hotspot 10 on level 2 (inherited from level 1)
  • SI_A1 is associated with Hotspot 20 on level 3 (manually changed after the inheritance)

From there, we manually delete at Design the Hotspot 20 associated with SI_A1 on the third level.

Result

The deletion of the Hotspot associated with SI_A1 on the level 3 makes this SI eligible to inheritance. SI_A1 on level 3 thus inherits from Hotspot 10 manually associated with SI_A1 on the first level.



SCENARIO 6: DELETE ONE HOTSPOT AMONG MULTIPLE AT TOP LEVEL

Description

In that use case, we consider having run the Scenario 1 and 2:

  • SI_A1 is associated with Hotspot 10 on level 1.
  • SI_A1 is associated with Hotspot 10 on level 2 (inherited from level 1)
  • SI_A1 is associated with Hotspot 20 on level 3 (manually changed after the inheritance)

From there, we manually delete at Design the Hotspot 10 associated with SI_A1 on the first level.

Result

The deletion of the Hotspot associated with SI_A1 on the level 1 makes this SI eligible to inheritance. SI_A1 on level 1 thus inherits from Hotspot 20 manually associated with SI_A1 on the third level.

SI_A1 on level 2 does not inherit from the first level anymore and is thus eligible to inheritance. SI_A1 on level 2 thus inherits from Hotspot 20 manually associated with SI_A1 on the third level.



Multi directional Inheritance

In the following chapters, we enrich the structure of SI_A described in chapter 3.1 by adding sub-elements and by introducing a deeper level. The goal of this new structure is to describe the Hotspot number inheritance by highlighting the horizontal and vertical assignation of Hotspot numbers.



SCENARIO 7: SIMPLE INHERITANCE FROM A DEEPER LEVEL

Description

In that use case, we affect the Hotspot 10 to the SI_A1 on the second level at Design.

Result



In that scenario, we observe that SI_A1, at all horizontal and vertical levels, inherits from the Hotspot number 10.

SCENARIO 8: HORIZONTAL VS. VERTICAL INHERITANCE

Description

In that use case, we affect the Hotspot 10 to the SI_A1 on the fourth level at Design.

Result



In that scenario, we observe that SI_A1, at all horizontal and vertical levels, inherits from the Hotspot number 10.