Siebel Order Management Guide Addendum for Communications > Telco Subscription Management in Open UI > Workflow Reference for Telco Subscription Management in Open UI >

TOUI Generate Order Process Workflow


TOUI Generate Order Process Workflow, shown in Figure 10, is invoked when the user clicks the Submit button of the TOUI Change Sim Request View. It is the driver workflow that creates a new sales order, based on the users selection, with line items populated with information that the user provides. If the user is changing SIM Card, then it populates the order line items with the new Service Id and Due Date. If the user is adding a new SIM Card, then it disconnects the existing SIM card and adds the new SIM Card.

Figure 10. TOUI Generate Order Process Workflow

Workflow Description. This workflow performs the following actions:

  1. Get Account Details. This step queries the Account business component to get a list of fields from the parent Account.
  2. Reset PMT Cache. This step calls the method Reset of the SIS OM PMT Business Service, which resets the PMT Cache to prevent an incomplete workflow from polluting the PMT cache.
  3. Get Selected Service. This step invokes the TOUI Get Selected Service Sub Process workflow.
  4. Get Next Selected Service. This step calls the method GetNextChild of the TOUI Row Transform Business Service, which gets the next child property set of the current property set, if one exists.
  5. IsEmpty? This step checks whether there are any remaining selected service records.
  6. Increment Count. This step calls the method Echo of the Workflow Utilities Business Service, which calculates the value for some of the workflow process properties.
  7. Get Selected Service Values. This step calls the method GetPropValue of the TOUI Row Transform Business Service, which returns the property value of the current property set.
  8. Have SIM#. This decision step checks whether the SIM# is given or not.
  9. No SIM# Error. If the SIM# is not given, this step displays an error message.
  10. Check Due Date. If the SIM# is given, this step calls the method Echo of the Workflow Utilities Business Service, which calculates values for some of the workflow process properties.
  11. Check Open Order. This step calls the method ValidateFollowOnOrders of the CMU External Integration Business Service, which retrieves any future dated open orders for the current asset.
  12. Past Due Open Order? This step is a decision point to determine whether there is any future-dated order that is beyond the currently specified due date.
  13. Set Open Order Error. This step calls the method Echo of the Workflow Utilities Business Service, which calculates values for some of the workflow process properties.
  14. Pre-exist Error? This step is a decision point to determine whether the Error field of the selected service record is currently empty.
  15. Update Error Field. This step updates the selected service records with any applicable error message.
  16. Pre-exist Error2? This step is a decision point to determine whether the Error field of the selected service record is currently empty.
  17. Reset Error. This step removes any error message from the selected service records.
  18. Load Asset. This step calls the method Query of the EAI Siebel Adapter Business Service, which loads active assets from the database.
  19. Load Open Order Line Items. This step calls the method Find Orders of the SIS OM PMT Service Business Service, which retrieves Orders with a status of Open or Pending that are related to the selected asset.
  20. Orders Present? This step is a decision point to check whether there are any open orders.
  21. Set Product Instance. This step calls the method Set Product Instance of the SIS OM PMT Service Business Service, which sets the current asset into the PMT cache.
  22. Set Apply Output Header. This step calls the method Set Output Header of the SIS OM PMT Service Business Service, which applies the proper header type for the current asset.
  23. Apply Changes. This step calls the method Apply of the SIS OM PMT Service Business Service, which applies the changes that the open orders specify to re-create the state of the service product as the user requests it.
  24. Trim. This step calls the method Trim of the SIS OM PMT Service Business Service, which removes any components from the asset that do not have the Track As Asset flag set.
  25. Is Product Instance Empty. This step is a decision point to check whether the result from previous steps is empty. If the asset is empty, then it displays an error message. If an open or pending order disconnects the root component, or if no components have the Track As Asset flag set, then the result is an empty asset, and the workflow displays an error message.
  26. Error Out. This step displays the error message to indicate there is some abnormal behavior and aborts the workflow process.
  27. Get Delta. This step invokes TOUI Get Delta Sub Process workflow.
  28. Transfer IO to PS 2. This step calls the method IntObjHierToPSHier of the EAI Integration Object to XML Hierarchy Converter Business Service, which converts the Siebel Message type into a standard property set.
  29. Are Orders Present? This step is a decision point to check whether there's any open order.
  30. GetIdMap. This step calls the method GetIdMap of the TOUI Row Transform Service Business Service, which collects the IDs of the hierarchical property set and stores them in an internal map.
  31. Get RowSet. This step calls the method GetRowSetData of the Context Service Business Service, which get the row set indicated by the specified variable map.
  32. Get New Header. This step calls the method GetRowSetData of the Context Service Business Service, which get the row set with the specified variable map.
  33. Merge New Header. This step calls the method MergePropertySet of the TOUI Row Transform Service Business Service, which merges the header property set with the child property set by taking all the children from the row property set and keeping the header's properties.
  34. Set Value. This step invokes TOUI Set Value Sub Process workflow.
  35. Sync to PS. This step calls the method SyncRowSetData of the Context Service Business Service, which synchronizes the row set with the specified variable map.
  36. Collapse. This step calls the method Collapse of the TOUI Row Transform Service Business Service, which collapses the incoming flat property set into a hierarchical property set.
  37. Merge Header. This step calls the method MergePropertySet of the TOUI Row Transform Service Business Service, which merges the header property set with the child property set by taking all the children from the row property set and keeping the header's properties.
  38. Any Occurance. This step is a decision point to determine whether there is any selected service record.
  39. Any Open Order Past Due? This step is a decision point. If there is any future dated order that is beyond the currently specified due date, then the workflow stops.
  40. Stop 0. This step displays the default error message and aborts the workflow process.
  41. Get Next Order Number. This step calls the method GetNextNumber of the TOUI Row Transform Service Business Service, which generates a new Order Number.
  42. Set Order Type. This step calls the method SetPropValue of the TOUI Row Transform Service Business Service, which sets the input values for the current property set.
  43. Remove XA. This step calls the method RemoveType of the TOUI Row Transform Service Business Service, which removes one level of the property set with the provided type name.
  44. Transfer PS to Output IO. This step calls the method PSHierToIntObjHier of the EAI Integration Object to XML Hierarchy Converter Business Service, which converts the standard property set into a Siebel Message.
  45. Set Line Item Status to Pending. This step changes the status of all the line items from active to pending.
  46. Upsert Doc. This step calls the method Upsert of the EAI Siebel Adapter Business Service, which upserts the new order data into the database.
  47. Submit Order. This step invokes SISOMBillingSubmitOrderWebService workflow to submit the order and update the order status to Open.
  48. Get Order Detail. This step queries the newly created sales order and retrieves the order number, status and revision number.
  49. Remove Selected Services. This step deletes the existing selected service records, so the process always starts with a fresh one.
  50. Go to Document Details View. This step calls the method GotoView of the Shopping Service Business Service, which navigates to the specified view.
Siebel Order Management Guide Addendum for Communications Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.