Generate Partial Plan

The SOAP web service only provides a preview for order decomposition. the valid plan generation phases are VALIDATION, DECOMPOSING, OPTIMIZING, and PUBLISHING. In all other cases this web service returns a preview of the complete generated plan.

Generate Partial Plan Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://www.tibco.com/aff/orderservice" xmlns:ord1="http://www.tibco.com/aff/order" xmlns:com="http://www.tibco.com/aff/commontypes">
   <soapenv:Header/>
   <soapenv:Body>
      <ord:PartialPlanRequest ExternalBusinessTransactionID="1">
         <ord:orderRequest>
            <ord1:orderRef>GG_SU_Local7</ord1:orderRef>
            <ord1:header>
               <ord1:description>GG_JM</ord1:description>
               <ord1:customerID>JM</ord1:customerID>
               <ord1:subscriberID>TIBCO</ord1:subscriberID>
               <ord1:requiredByDate>2012-03-12T13:20:00-05:00</ord1:requiredByDate>
               <ord1:invoiceAddress>
                  <com:line1>test123</com:line1>
                  <com:locality>test123</com:locality>
                  <com:region>test123</com:region>
                  <com:country>IN</com:country>
                  <com:postCode>411057</com:postCode>
                  <com:supplementaryLocation>test123</com:supplementaryLocation>
               </ord1:invoiceAddress>
               <ord1:deliveryAddress>
                  <com:line1>test123</com:line1>
                  <com:locality>test123</com:locality>
                  <com:region>test123</com:region>
                  <com:country>IN</com:country>
                  <com:postCode>411057</com:postCode>
                  <com:supplementaryLocation>test123</com:supplementaryLocation>
               </ord1:deliveryAddress>
               <ord1:notes>TEST</ord1:notes>
            </ord1:header>
            <ord1:line>
               <ord1:lineNumber>1</ord1:lineNumber>
               <ord1:productID>B1</ord1:productID>
               <ord1:productVersion>1.0</ord1:productVersion>
               <ord1:quantity>1</ord1:quantity>
               <ord1:uom>UOM</ord1:uom>
               <ord1:action>PROVIDE</ord1:action>
               <ord1:actionMode>MOVE</ord1:actionMode>
               <ord1:inventoryID>1</ord1:inventoryID>
          </ord1:line>
         </ord:orderRequest>
         <ord:planGenerationPhase>DECOMPOSING</ord:planGenerationPhase>
      </ord:PartialPlanRequest>
   </soapenv:Body>
</soapenv:Envelope>

Generate Partial Plan Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns4:PartialPlanResponse xmlns:ns9="http://www.tibco.com/aff/orderservice/result" xmlns:ns8="http://www.tibco.com/aff/aopd/service/soap" xmlns:ns7="http://www.tibco.com/aff/aopdservice/result" xmlns:ns6="http://www.tibco.com/aff/planfragments" xmlns:ns5="http://www.tibco.com/aff/plan" xmlns:ns4="http://www.tibco.com/aff/orderservice" xmlns:ns3="http://www.tibco.com/aff/commontypes" xmlns:ns2="http://www.tibco.com/aff/order">
         <ns4:plan>
            <ns5:planID>5cbb306d-2806-4830-845e-46eaf72927fd</ns5:planID>
            <ns5:orderID>dc8dc9b8-87be-40fa-8600-b621a420ed65</ns5:orderID>
            <ns5:orderRef>GG_SU_Local7</ns5:orderRef>
            <ns5:originator>AOPD</ns5:originator>
            <ns5:planCreationDate>2013-09-17T11:47:22.456-07:00</ns5:planCreationDate>
            <ns5:status>START</ns5:status>
            <ns5:statusChanged>2013-09-17T11:47:22.456-07:00</ns5:statusChanged>
            <ns5:planItem>
               <ns5:planItemID>c705350b-5ae1-462c-989e-2a224d10a7c1</ns5:planItemID>
               <ns5:description>B1  PROVIDE</ns5:description>
               <ns5:planFragmentUniqueID>EP_TEST</ns5:planFragmentUniqueID>
               <ns5:orderLine>
                  <ns5:orderLineNumber>1</ns5:orderLineNumber>
                  <ns5:eol>true</ns5:eol>
               </ns5:orderLine>
               <ns5:action>PROVIDE</ns5:action>
               <ns5:status>START</ns5:status>
               <ns5:statusChanged>2013-09-17T11:47:22.456-07:00</ns5:statusChanged>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>RECORD_TYPE</ns5:name>
                  <ns5:value>PO</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>COMPENSATE_PROVIDE</ns5:name>
                  <ns5:value>DEFAULT</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>COMPENSATE_CEASE</ns5:name>
                  <ns5:value>DEFAULT</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>EOL</ns5:name>
                  <ns5:value>Y</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:evaluationPriority/>
                  <ns5:type>Shared</ns5:type>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>CONTRACTID-MV</ns5:name>
                  <ns5:value>CONTRACTID-MV value in B1 product model.</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>EPRM_ACTION_CEASE</ns5:name>
                  <ns5:value>COMPENSATE_RESTART</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>PRODUCTID</ns5:name>
                  <ns5:value>B1</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>EPMR_ACTION_WITHDRAW</ns5:name>
                  <ns5:value>COMPENSATE</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>Action</ns5:name>
                  <ns5:value>PROVIDE</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>M_EP_UDFS</ns5:name>
                  <ns5:value>c705350b-5ae1-462c-989e-2a224d10a7c1</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>TASKID</ns5:name>
                  <ns5:value>c705350b-5ae1-462c-989e-2a224d10a7c1</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>EPMR_ACTION_PROVIDE</ns5:name>
                  <ns5:value>COMPENSATE_RESTART</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>GLOBAL_PRODUCT_NAME</ns5:name>
                  <ns5:value>B1</ns5:value>
               </ns5:udf>
               <ns5:udf>
                  <ns5:flavor>config</ns5:flavor>
                  <ns5:name>ORDERLINE</ns5:name>
                  <ns5:value>1</ns5:value>
               </ns5:udf>
            </ns5:planItem>
         </ns4:plan>
      </ns4:PartialPlanResponse>
   </soap:Body>
</soap:Envelope>