Sunday, May 26, 2019

WS > Retrieve related transactions (Sales Order, Estimates) from an given opportunity

Please refer to the SOAP request below which searches for Sales Order and Estimate related to an Opportunity :

soapenv:Body
      platformMsgs:search
         platformMsgs:searchRecord xsi:type="s0:TransactionSearchAdvanced"
            s0:criteria
               s0:basic
                  platformCommon:opportunity operator="anyOf"
                     platformCore:searchValue internalId="455"/  // Internal id of the opportunity record
                  platformCommon:opportunity
                  platformCommon:type operator="anyOf"
                     platformCore:searchValue _estimate /platformCore:searchValue
                     platformCore:searchValue _salesOrder /platformCore:searchValue
                  platformCommon:type
               /s0:basic
            /s0:criteria
         /platformMsgs:searchRecord
      /platformMsgs:search>
   /soapenv:Body

 

No comments:

Post a Comment