4 Replies Latest reply: May 24, 2013 7:29 AM by Rakesh N RSS

    assigning different line items to different function(order component spec)

    579729
      Hi,
      I am facing a problem. Could you please help me out?

      Say order line is following

      <osm7dd:OrderLine>
      <osm7dd:line1>line1</osm7dd:line1>
      <osm7dd:line2>Motorola 200</osm7dd:line2>
      <osm7dd:line3>MOT200</osm7dd:line3>
      <osm7dd:line4>Mobile</osm7dd:line4>
      <osm7dd:line5>07760613421</osm7dd:line5>
      <osm7dd:line6>O3</osm7dd:line6>
      <osm7dd:line7>00</osm7dd:line7>
      </osm7dd:OrderLine>

      And say I have 2 functions(order component secifications)

      Is there any way so that
      only line1, line2 and line3 are assigned to function1
      and line3,line4, line5, line6 and line7 are assigned to function2?

      Regards,
        • 1. Re: assigning different line items to different function(order component spec)
          975124
          Hi
          Is in your sample xml OrderLine is a OrderItem , and osm7dd:line* are child nodes(Properties)?

          In OSM multiple OrderLine Items will come from Source system and with Child nodes.
          Ans OrderLines will be converted to OrderItems via Order Item Specification.


          You can assign OrderItems to Functions, based on certain properties of OrderItems, by help of Granularity(Component id of Order Component Specification).

          Here you sample OrderLine is single Line having multiple child nodes.

          If as per your sample, line* behave as OrderLine Items then, it should have at least three child elements, id,name and product class to find out the product specification.
          Hope this will help you.
          • 2. Re: assigning different line items to different function(order component spec)
            579729
            Hi Tarini,

            Thanks for reply.
            Could you please tell me what is the difference between OrderLine and OrderItem?

            However say the request is following:
            In this case say I have two functions: function1 and function2
            And I want 'MobileNum' to be assigned with function1 only; and not with function2.
            I have different roles for function1 and function2 users
            And I don't want to show the 'MobileNum' to function2 users.
            Could you please tell me how can I do that?


            <ord:CreateOrder xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement" >
            <osm7dd:ServicesOrder xmlns:osm7dd="http://www.example.org/osm7Order1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <osm7dd:orderId>orderId-1000</osm7dd:orderId>
            <osm7dd:OrderLine>
            <osm7dd:productName>MOTO-200</osm7dd:productName>
            <osm7dd:productDesc>Motorola 200</osm7dd:productDesc>
            <osm7dd:productCode>MOT200</osm7dd:productCode>
            <osm7dd:class>Mobile</osm7dd:class>
            <osm7dd:MobileNum>07760613421</osm7dd:MobileNum>
            <osm7dd:lineID>O3</osm7dd:lineID>
            <osm7dd:BundleID>00</osm7dd:BundleID>
            </osm7dd:OrderLine>
            <osm7dd:OrderLine>
            <osm7dd:productName>SAMS-TOCO</osm7dd:productName>
            <osm7dd:productDesc>Samsung Toco</osm7dd:productDesc>
            <osm7dd:productCode>SAMTOC</osm7dd:productCode>
            <osm7dd:class>Mobile</osm7dd:class>
            <osm7dd:MobileNum>07760613422</osm7dd:MobileNum>
            <osm7dd:lineID>O4</osm7dd:lineID>
            <osm7dd:BundleID>00</osm7dd:BundleID>
            </osm7dd:OrderLine>
            </osm7dd:ServicesOrder>
            </ord:CreateOrder>

            Regards,
            • 3. Re: assigning different line items to different function(order component spec)
              975124
              Hi,

              I thing you requirement is different.

              if you have manual tasks dedicated to your function, then you can do that by configuring behavior, to restrict to display specific elements of OrderItems.
              Please fallow the behavior rules for manual tasks, from OSM documentation.

              OrderLine or LineItem are coming from source system, are holding the information, about the service to be fulfilled.
              The Important information, which are required to fulfill the requirement, stored in bucket, called as OrderItem in OSM7.
              OrderItem has properties, which are holding required information, to be used for Service fulfillment.

              Thanks
              Tarini.
              • 4. Re: assigning different line items to different function(order component spec)
                Rakesh N
                Hi,

                One needs to use Product Specification -> Orchestration Plan -> Order Component -> Condition to allow/disallow a particular function for an Order Item