Hi Rabinder
Not sure to understand and furthermore I cannot answer specific implem question.
Nevertheless... relationship are useful of course to define product inventory impact during order. Remember that productRelationship target product id (exisiting in your inventory).
Suppose you already own a bundle in you inventory (#564) and you want to add an additionnal product (TV Bundle) within this bundle...
If you using flat structure
Order Item #1: Add productOffering 'TV Bundle'
Relationship: 'child of' --> 664
Relationship is used to describe commercial hierarchy
If you using hierarchy structure
Order item #1: noChange Product 564
Order item #2: Add productOffering 'TV Bundle'
order item #2 is embedded in #1 reflecting commercial hierachy
API can accomodate both representation (and probably other).
Hope it helps
Ludovic
------------------------------
Ludovic Robert
Orange
------------------------------
Original Message:
Sent: Aug 26, 2019 04:32
From: Rabinder Devnani
Subject: Difference between orderItemRelationShip used in R17.5.1 & R19.0.0 TMF622 Product Ordering API
Hi @Ludovic Robert,
Any views on this ?
------------------------------
Rabinder Devnani
Sterlite Technologies Limited
------------------------------
Original Message:
Sent: Aug 23, 2019 03:37
From: Rabinder Devnani
Subject: Difference between orderItemRelationShip used in R17.5.1 & R19.0.0 TMF622 Product Ordering API
Thank you @Ludovic Robert for the clarity.
Moreover I also wanted to understand that can we also extend the relationship values to add some more, like in a case of upgrading bundles UC (change bundle/plan)? Or we have to use the "ProductRelationShip" for this purpose?
For e.g.
If I have an bundle as below:
Bundle A (Voice & Broadband Bundle)
- Base Fiber Access
(Characteristics - Dual Play)
- Voice Bundle (Bundle)
- Base VoIP Plan
- Broadband Bundle
- Base Broadband FTTH Plan
I am upgrading to something like below
Bundle B (Triple Play Bundle)
- Base Fiber Access
(Characteristics - Triple Play)
- Voice Bundle (Bundle)
- Base VoIP Plan
- Broadband Bundle
- Base Broadband FTTH Plan
+ TV Bundle
- Base IPTV Plan
Can I use "relationshipType" value such as "changes" or "reliesOn" from "Base Fiber Access (Triple Play) " orderItem of Bundle B to "Base Fiber Access (Dual Play) " orderItem of Bundle A as I am upgrading the access for the triple play plan? Or how are these relationships represented in the order structure ?
------------------------------
Rabinder Devnani
Sterlite Technologies Limited
Original Message:
Sent: Aug 23, 2019 03:18
From: Ludovic Robert
Subject: Difference between orderItemRelationShip used in R17.5.1 & R19.0.0 TMF622 Product Ordering API
Hi Rabinder
That just examples. Sorry if it triggers some misunderstood.
Both patterns are valid.
You can "bundle" order items within order item to reflect commercial catalog hierarchy into your order structure or you can have a flat order item structure and leverage relationship to describe the commercial hierachy. API supports both.
Thanks for your review of the spec.
Ludovic
------------------------------
Ludovic Robert
Orange