Hi Ohala
Please note that you don't need to use product relationship for a hierarchical tree of product.
Product has a sub-entity, array of
product. You would use relationship to represent an association between independent products that might be ordered separately, e.g. a dependency relationship between Broadband and TV. And, as
@Abel Ruiz Huerta points out, if the products are being ordered at the same time, inter-order relationships could help as well.
Hope it helps
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Jan 26, 2023 04:07
From: Abel Ruiz Huerta
Subject: Bundle - Order Provisioning
Hi Ohala,
I think it does. You are representing the dependencies in the offering hierarchy at product level, which is right in my point of view.
I doubt regarding the @type filed of the productRelationship object. I think that this field is used to represent the type (the class if you want) of the JSON object. In this case should be the class you use for productRelationship objects, not for products.
Additionally, you have also the option to use relationships at product order item level, specially if you need the product order management to do some kind of orchestration.
Hope it helps.
Best regards,
------------------------------
Abel Ruiz Huerta
alvatross by SATEC
Original Message:
Sent: Jan 24, 2023 08:20
From: Ohala Jayampu
Subject: Bundle - Order Provisioning
Hi Team,
As part of a requirement, an order is captured in below structure and I'd like to evaluate TMF 622 for the same.
I would like to get your advice if below TMF structure fit the standards. Please advice.
{
"productOrderItem": [{
"id": 1,
"product": {
"id": "Bundle ID 1",
"description": "Bundle Order",
"isBundle": true,
"productRelationship": [
{
"relationshipType": "Bundled",
"product": "M-OfferId",
"@type": "Product"
},
{
"relationshipType": "Bundled",
"product": "S-OfferId",
"@type": "Product"
},
{
"relationshipType": "Bundled",
"product": "O-OfferId",
"@type": "Product"
}
]
}
},
{
"id": 2,
"product": {
"id": "Offer ID",
"href": "string",
"description": "Single Product Order",
"isBundle": false,
}
}
]
}
Thanks,
Ohala J
------------------------------
Ohala Jayampu
Capgemini
------------------------------