Netsuite-通过将销售订单与商品

时间:2018-11-22 11:05:52

标签: netsuite suitetalk

因为,我的目的是提取销售订单详细信息以及自定义项目列表字段。因此,我使用了“交易高级搜索”,以便将销售订单与自定义列表项目结合起来。

我只能获取id值,我们如何获取此自定义字段的值。

  • custitem_item_pricing_type

       <soapenv:Envelope 
       xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
       xmlns:urn="urn:messages_2018_1.platform.webservices.netsuite.com" 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:urn1="urn:core_2018_1.platform.webservices.netsuite.com"   
      xmlns:platformCommon="urn:common_2018_1.platform.webservices.netsuite.com" 
            >
    
          <soapenv:Header>
    
           </soapenv:Header>
    
            <soapenv:Body>
          <search xmlns="urn:messages_2018_1.platform.webservices.netsuite.com">
         <searchRecord xsi:type="ns6:TransactionSearchAdvanced" 
          xmlns:ns6="urn:sales_2018_1.transactions.webservices.netsuite.com">
         <ns6:criteria xsi:type="ns6:TransactionSearch">
          <ns6:basic xsi:type="ns7:TransactionSearchBasic" 
          xmlns:ns7="urn:common_2018_1.platform.webservices.netsuite.com">
          <ns7:internalId operator="anyOf" xsi:type="ns8:SearchMultiSelectField" 
          xmlns:ns8="urn:core_2018_1.platform.webservices.netsuite.com">
          <ns8:searchValue internalId="2755012" xsi:type="ns8:RecordRef"/>
          </ns7:internalId>
           <ns7:type operator="anyOf" xsi:type="ns9:SearchEnumMultiSelectField" 
           xmlns:ns9=" urn:core_2018_1.platform.webservices.netsuite.com">
        <ns9:searchValue xsi:type="xsd:string">_salesOrder</ns9:searchValue>
         </ns7:type>
         </ns6:basic>
         </ns6:criteria>
    
         <ns6:columns xsi:type="ns6:TransactionSearchRow"> 
    
         <ns6:itemJoin xsi:type="ns10:ItemSearchRowBasic" 
          xmlns:ns10="urn:common_2018_1.platform.webservices.netsuite.com">
         <ns10:customFieldList xsi:type="ns11:SearchColumnCustomFieldList" 
              xmlns:ns11="urn:core_2018_1.platform.webservices.netsuite.com">
           <ns11:customField scriptId="custitem_item_pricing_type" 
            xsi:type="ns11:SearchColumnSelectCustomField"/>
            </ns10:customFieldList>
           </ns6:itemJoin>
         </ns6:columns>
       </searchRecord>
       </search>
    


                                                               _销售订单                              

    ` <ns6:columns xsi:type="ns6:TransactionSearchRow"> 
    

                                        

0 个答案:

没有答案