you wrote:
- "the solution would be to have a PartyRoleSpecificationRef attached to the ProductOffering (or ProductSpecification)."
- "we do not need a Party/PartyRole on the ProductOffering"
I read these as contradictory statements. a Partyrole or a PartyrolespecRef attached to the PO/PS are pretty much the same thing.
I think your other message [we need]
"The statement that the Products of this Offering need a Party in a specific role"
make much more sense.The solution I immediately think of are using the
PolicyRule ABE to express your business rule statement.
Such Policy would then be consumed, at
runtime, by a BRMS to validate the Product Order during the Sales process and just before order is submitted.
Within the strict realms of TMF620, you could also create a productSpec with required characteristics and/or use a PS relationship with the appropriate "relationshipType".
I would prefer
PolicyRule though.It's a more relevant and elegant solution.
Policy will be added in the next version of the API.
but I don't know if policy is only for POP (as I suspect) or also for PO/PS
As for the question about the address:
They are several approached but I'll just recommend TM Forum approved recommendation. I don't remember where it is (you could search TMF wiki page) but the solution is simple and valid for a variety of address needs (shipping, delivery/service/termination point).
the recommendation is to create a dedicated PS and use the various adress fields as characteristics.
One such example is provided in GB922 product (SID) for shipping address.
This seems to me the better approach as it is zero development, 100% reusable, and you can bundle the AddressSPEC PS with any other PS and associate it with the PO that has such need.
------------------------------
Kind regards,
Matthieu Hattab
Lyse Platform
------------------------------
Original Message:
Sent: Jul 12, 2022 06:57
From: Lutz Bettge
Subject: TMF620 Products that need a party(role) and/or address
This is a misunderstanding,
we do not need a Party/PartyRole on the ProductOffering, but only the statement that the Products of this Offering need a Party in a specific role;
e.g. so that a sales portal knows that for the given Product (instance of the ProductOffering or ProductSpecification) it needs to ask the business customer (Organization) for the name of e.g. his technical expert.
Similarly, we need to express in the catalog that for specific Products the portal needs to ask for an address, whereas for other products this is not needed.
Is there any means to express such things in the catalog?
Thank you,
Lutz
------------------------------
Lutz Bettge
Deutsche Telekom AG
Original Message:
Sent: Jul 12, 2022 06:27
From: Matthieu Hattab
Subject: TMF620 Products that need a party(role) and/or address
Hi,
Do you an example of Party role that is relevant for the Product ABE that should be defined in the Product Offering ABE?
Party roles for the Product ABE should not be defined in the Product Offering ABE.
We should use party roles associated with a product specification.
=> TMF620 already supports that.
Some Party roles (like customer-related roles, payer, user, legal owner etc) should only be set by TMF637, not by TMF620.
However if you still need partyrole at Product Offering or at Place level, then you can extend the API. Your best guide would be to follow the SID or follow how party roles have been modelled for PS in TMF620.
------------------------------
Kind regards,
Matthieu Hattab
Lyse Platform
Original Message:
Sent: Jul 11, 2022 06:44
From: Lutz Bettge
Subject: TMF620 Products that need a party(role) and/or address
Some products need a Party (or PartyRole) attached to is (as RelatedParty), and /or a Place.
The fact that the Products derived from a ProductOffering or ProductSpecification need a RelatedParty or a Place should be defined in the Product Catalog.
Can you describe how this could be modelled in TMF620?
------------------------------
Lutz Bettge
Deutsche Telekom AG
------------------------------