In the OrderItem schema, child (contained) order items are referenced directly by the array
orderItem attribute. The
orderItemRelationship between order items is intended to express other types of relationships, such as dependency, scheduling, and so forth.
Referring to
@Ludovic Robert for additional comments.
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: Oct 22, 2019 09:20
From: jyothish joy
Subject: TMF 622 : Finding Parent PO
In the sample json given as example for tmf 622 api , all productorderitems are present at the same level.
This model heavily uses productRelationship value "reliesOn" keyword to mark relationship between parent PO and child PO .Is there any other way to find the parent productorderitem and child productorderitem without iterating the entire productorderitem collection and applying custom logic over it based on the productRelationship
------------------------------
jyothish joy
------------------------------