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
Original Message:
Sent: Aug 22, 2019 03:59
From: Rabinder Devnani
Subject: Difference between orderItemRelationShip used in R17.5.1 & R19.0.0 TMF622 Product Ordering API
Hi @Ludovic Robert,
I has just gone through the newly released TMF 622 Product Ordering API R19.0.0 and noticed a basic difference in the use of orderItemRelationShip (now productOrderItemRelationship - R19.0.0). Previously in R17.5.1 in example "create product order" the child products under the Bundled product were described to be as child orderItems (i.e. orderItems inside the orderItem of Bundles product) and now in R19.0.0 the approach has been changed with productOrderItemRelationship containing value "bundles" which describes what a productOrderItems a bundled inside this bundle with no sub-level hierarchy of productOrderItems, but still the product order resource in R19.0.0 mentions the same for which I failed to understand the use.
Moreover, I see that approach used in R17.5.1 seems more feasible as we can use the same for UCs where there is a bundle inside a bundle, it will be difficult to represent the same using the approach mentioned in R19.0.0 (though implementable :) )
Please provide your views on same.
R17.5.1 (Child Product of bundle are inside the bundle orderItem )
{
"id": "30001",
"@type": "ProductOrder",
"orderItem": [
{
"id": "100",
"orderItem": [
{
"id": "110"
},
{
"id": "120",
"productOrderItemRelationship": [
{
"id": "110",
"relationshipType": "reliesOn"
}
],
}
],
}
]
]
R19.0.0 (Child Product of bundle are at same level)
{
"id": "30001",
"@type": "ProductOrder",
"productOrderItem": [
{
"id": "100",
"productOrderItemRelationship": [
{
"id": "110",
"relationshipType": "bundles"
},
{
"id": "120",
"relationshipType": "bundles"
}
],
},
{
"id": "110"
},
{
"id": "120",
"productOrderItemRelationship": [
{
"id": "110",
"relationshipType": "reliesOn"
}
],
}
]
}
------------------------------
Rabinder Devnani
Sterlite Technologies Limited
------------------------------