Open APIs

 View Only
Expand all | Collapse all

TMF 671 Promotion and product inventory

  • 1.  TMF 671 Promotion and product inventory

    Posted Dec 18, 2023 04:44

    Hi Team,

    Need your suggestion on below use-case,

    There is bundle product offering (id b1) contains two product offering

    1. Postpaid mobily
    2. Broadband
    If the customer opts for this bundled package, they will receive a monthly discount of 100 Rs as long as both products remain part of the bundle. However, if the customer switches from the bundle to individual product offerings, the discount will no longer apply.
    If I apply a promotion in this scenario:

    There is Promotion P1 with the following criteria:

    productOffering.id eq 'b1'
    The associated action is:
    A recurring discount of 100 Rs on the bill.
    How can we ensure that the benefits provided by the promotion are also revoked when a customer transitions from a bundled product to individual products?

    If we take the following as the structure of the product inventory, should I include promotion ID (P1) as part of the product characteristics in B1 and reevaluate promotion P1 criteria during a change order, or is there another solution to address this issue?

     



    ------------------------------
    subhanshu shukla
    Lead Digital Architect
    Bharti Airtel Ltd
    ------------------------------


  • 2.  RE: TMF 671 Promotion and product inventory

    Posted Dec 18, 2023 08:58

    Bear in mind that the promotion API describes rules for applying promotions. The API does not manage the runtime instantiation of the benefits that accrue from application of the promotion rules. Those benefits will be instantiated products or product prices.

    It's the responsibility of your implementation of (say) the Order API (TMF622) to run the promotion rules when anything significant "happens", and to apply or revoke the promotion benefit accordingly.



    ------------------------------
    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.
    ------------------------------



  • 3.  RE: TMF 671 Promotion and product inventory

    Posted Dec 19, 2023 00:57
    Edited by subhanshu shukla Dec 19, 2023 01:00

    Thanks Jonathan,

    Certainly, I acknowledge that promotions establish both the action and criteria, and the order will execute the specified promotion.

    To initiate the revocation of applied promotion through the Order API (TMF 622), it requires references to the promotions that need to be revoked. The question arises: should it retrieve these references from the Product Inventory, or is it currently treated as a black box?
     
    In this scenario, what is considered best practice?



    ------------------------------
    subhanshu shukla
    Bharti Airtel Ltd
    ------------------------------



  • 4.  RE: TMF 671 Promotion and product inventory

    Posted Dec 19, 2023 06:34

    There are many ways to model this. For instance:

    Let's assume these 2 product offerings already exist:

    1. mobile postpaid, Id=PO1
    2.  broadband, Id=PO2

    Then you just have to setup your bundle:

    1. create your bundle, Id=PO1
    2. add components to the bundle:
      1.  mobile postpaid, Id=PO1
      2.  broadband, Id=PO2
    3. add the discount POP to bundle PO1
    4. optional: add a product term to the bundle (PO1) to charge a penalty when customer terminate the bundle before the end of commitment period.

    so if customer terminates the bundle the associated discount will be terminated automatically.

    My 2 cents



    ------------------------------
    Kind regards,

    Matthieu Hattab
    Lyse Platform
    ------------------------------



  • 5.  RE: TMF 671 Promotion and product inventory

    Posted Dec 19, 2023 06:43

    Thanks Matthieu,

    This is addressed through the product catalogue for resolution. In instances of dynamic deals, we aim to address them using TMF 671 Promotion.
     
    Applying a promotion is a simple process – we just need to assess the criteria and implement the action through the action entity reference. However, when it comes to revoking a promotion, the question arises: what is the correct procedure where we should keep applied promotion reference, or can applied promotions be revoked?



    ------------------------------
    subhanshu shukla
    Bharti Airtel Ltd
    ------------------------------



  • 6.  RE: TMF 671 Promotion and product inventory

    Posted Dec 19, 2023 07:14

    The Open API initiative deals with APIs, i.e. exposed models and behaviors, not with internal implementation. It's entirely up to you (or your vendor) how to manage instantiated promotions.

    As a representative from a vendor, I am not at liberty to explain exactly what we do in our software. But I don't think I'm giving away any trade secrets by saying that the product inventory is the most likely place to keep track of the granted benefits.

    Having said that, the ODA spec for Product Inventory doesn't make a direct reference to promotion instances, so maybe they have a different view.

    https://www.tmforum.org/resources/technical-specification/tmfc005-product-inventory-v1-0-1/



    ------------------------------
    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.
    ------------------------------



  • 7.  RE: TMF 671 Promotion and product inventory

    Posted Dec 19, 2023 09:17

    This deals with Product bundling (Bundle based discounts) and the way it is instantiated in the PI. There are choices of modelling this as a promo (as a separate object?) or modelling this as a Product bundle with bundling rules to provide the discount. 

    However, this will depend on the Solution Architecture being adopted and the Open APIs or SID model for the relevant entities are not impacted. 



    ------------------------------
    Sri-Jagadish (Jag) Baddukonda
    Bell Canada
    ------------------------------



  • 8.  RE: TMF 671 Promotion and product inventory

    Posted Dec 20, 2023 04:36

    My general opinion is that this Promotion API is a bit isolated. All we have is an API, no ODA component, no SID, ETOM etc.
    the API doc says "Normally, Promotion is not regarded as one type of product or product offering...

    This is in contradiction with what the SID has written (from the SID entity catalogue):

    "The Product Promotion ABE describes the publication of a ProductOffering to encourage Parties to buy, rent, or in some other way procure the offering."
    ... 
    It is often applied when the customer buys the product offerings with the price or amount surpassing the certain limit."
    => that definition and the examples provided in the API guide describe more a loyalty scheme than a promotion. 
    There is also example of promotions in the SID (GB922 Product) that explain how it works with product.

    I've used promotion as defined in the Product domain. (This also depends largely on your BSS/CRM.)

    In your scenario, I'd say you need the product inventory to have a relationship between the product offers, the promotion and the product terms.
    Our process (simplifed in a nushelf):

    1. customer terminates a product and provide a termination date
    2. system checks if product is (or is connected to) a promotion
      1. YES: system checks product terms, let's make it simple: 12-month commitment, first 3 months for free. Pay prorated fee.
    3. system check if customer is still in a binding period
      1. YES: system calculates the termination fee (based on terms, termination date etc)
    4. customer is presented the fee amount and can accept (continue with check out) or abandon.
      1. YES: the termination fee (one-time charge) is added to the order and will be added on the customer's next invoice. (or pay everything online at checkout)

    in essence, your product inventory is where you need to create that connection with the promotion and its terms



    ------------------------------
    Kind regards,

    Matthieu Hattab
    Lyse Platform
    ------------------------------



  • 9.  RE: TMF 671 Promotion and product inventory

    Posted Dec 20, 2023 04:53
    In such a scenario, the productInventory should have direct reference to the promotion entity, which is currently not the case. Should we extend the linkage, or is there an alternative solution?

    Any modification expected in Gen5 version of productInventory?



    ------------------------------
    subhanshu shukla
    Bharti Airtel Ltd
    ------------------------------



  • 10.  RE: TMF 671 Promotion and product inventory

    Posted Dec 20, 2023 10:27

    in the TMF information model a promotion is a type of product, so you already have a reference to the product Offering ABE in the product inventory.
    if you choose to model the promotion as a contract (which we did in the past), then the product inventory already has a reference to the agreement/contract ABE.

    if you really need a separate entity, extend the API to your wishes.
    modification of APIs are logged in JIRA and Confluence. you can join the API project to access these spaces and see what changes are discussed for each API.
    CSP also suggest enhancements. If you have a good case, they will probably do it.



    ------------------------------
    Kind regards,

    Matthieu Hattab
    Lyse Platform
    ------------------------------