Updates in Affinity
Affinity between the product catalogs can be added at design time in the TIBCO® Product and Service Catalog.
At runtime, when generating the plan for a given order and the affinity is detected in multiple products, plan items related to those products (where affinity is detected) are merged into a single plan item. The User Defined Field (UDF) in both the plan items are merged.
Before this change, value for the GLOBAL_PRODUCT_NAME
UDF name is chosen randomly between the plan items that are merged. Note that the value of the GLOBAL_PRODUCT_NAME
UDF name is always the product Id that belongs to the plan item for which UDF GLOBAL_PRODUCT_NAME
is being defined.
After this change, value of the GLOBAL_PRODUCT_NAME
UDF name is not assigned randomly. The plan items in the affinity are sorted based on the plan item id. The product id of the first plan item is assigned to the value of GLOBAL_PRODUCT_NAME
UDF.