Open APIs

 View Only
  • 1.  What is a draft ProductOrder mentioned in TMF663 Shopping Cart

    TM Forum Member
    Posted Jan 12, 2024 10:39

    Below is a picture from TMF663 Shopping Cart. We can see that after checkout product order in draft status should be generated, but placing order (acknowledge status) takes place later. How to understand this ? What is product order in draft state (TMF622 doesn't define draft state). When user should call TMF622 create product order (point 4 or 7) ?



    ------------------------------
    Radosław Twardy
    Comarch S.A.
    ------------------------------


  • 2.  RE: What is a draft ProductOrder mentioned in TMF663 Shopping Cart

    TM Forum Member
    Posted Jan 15, 2024 03:39

    Hi Radoslaw

    now TMF 622 has "draft" state in v5.0. draft means "the product order requester is not yet ready to submit it and draft order could be freely updated". This state can be set by the 622 API client using "requestedInitialState" attribute.

    You can have a look at document TMFS003 Order Capture – Fiber Contract v7.0.0 – TM Forum; in this proposal, call to Product Order is done by the Product Order Capture and validation component itself. You'll see the different states of Product Order during the call flow. Note that this document is in evolution.



    ------------------------------
    Olivier Arnaud
    Orange
    ------------------------------



  • 3.  RE: What is a draft ProductOrder mentioned in TMF663 Shopping Cart

    TM Forum Member
    Posted Jan 15, 2024 04:37

    So after draft Product Order are created we should update this order and shouldn't update shopping cart ? (at capture address and payment phase from picture) 



    ------------------------------
    Radosław Twardy
    Comarch S.A.
    ------------------------------



  • 4.  RE: What is a draft ProductOrder mentioned in TMF663 Shopping Cart

    TM Forum Member
    Posted Jan 15, 2024 13:02

    Hi Olivier,

    I find the "draft" state very useful, thank you for adding it. I have 2 questions:

    1. I do not find it in the TMF622 v5 that is published in the Production API Table. Is a new release of v5 is planned soon?
    2. Is it planned to also add the "draft" state to TMF652 "Resource Order Management". It will be as useful there.

    Best regards,



    ------------------------------
    Opher Yaron
    Proximus SA
    ------------------------------



  • 5.  RE: What is a draft ProductOrder mentioned in TMF663 Shopping Cart

    TM Forum Member
    Posted Jan 16, 2024 09:14

    Hi Opher

    this is strange, I can see it in the OAS published in the table :



    ------------------------------
    Olivier Arnaud
    Orange
    ------------------------------



  • 6.  RE: What is a draft ProductOrder mentioned in TMF663 Shopping Cart

    TM Forum Member
    Posted Jan 16, 2024 09:46

    Hi Olivier,

    Thank you. I was looking in the user guide...

    Indeed, I missed the "draft" state in the ProductOrderStateType table (because I expected it to appear towards the top of the table...):

     

    But from the state lifecycle diagram it is missing:

    Best regards,



    ------------------------------
    Opher Yaron
    Proximus SA
    ------------------------------



  • 7.  RE: What is a draft ProductOrder mentioned in TMF663 Shopping Cart

    TM Forum Member
    Posted 7 days ago

    Hi Opher

    I created a JIRA for this. Same comment as this one : https://engage.tmforum.org/discussion/state-for-productorder-in-tmf-622



    ------------------------------
    Olivier Arnaud
    Orange
    ------------------------------



  • 8.  RE: What is a draft ProductOrder mentioned in TMF663 Shopping Cart

    TM Forum Member
    Posted Jan 16, 2024 03:23
    Edited by Matthieu Hattab Jan 16, 2024 03:26

    Hello,

    you are free to use the status value that you need. The SID only offer suggestions:

    QBE:CustomerProductOrder
    Attribute: status
    description: Tracks the lifecycle status of the product order, such as Acknowledged, Rejected, InProgress, Pending and so on.


    Use/create any status value you need to match your sales and delivery processes and core commerce applications.

    as for when to create the order, the diagram you posted looks correct. After the customer/user finishes the quote or shopping cart they typically press a checkout button that will create the cart into a customerproductorder and the quote/cart should be closed.

    My 2 cents



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

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



  • 9.  RE: What is a draft ProductOrder mentioned in TMF663 Shopping Cart

    TM Forum Member
    Posted Jan 16, 2024 04:06

    So online payment or delivery (f. ex. courier) configuration should take place during product order (draft state) or in shopping card in yours opinion ?



    ------------------------------
    Radosław Twardy
    Comarch S.A.
    ------------------------------