You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

NetSuite SOAP API拉取交易无收入数据:求排查方向及文档指引

NetSuite SOAP API无法拉取收入类交易

我使用以下SOAP请求体从NetSuite拉取交易,传入日期范围后可返回该时间段内的部分交易,但无法获取收入类交易,已花费约一周时间排查仍未解决。请指出可能遗漏的配置,相关文档指引也十分感谢。

请求体代码

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

      <soap-env:Header>

          <tokenPassport >

              <account xmlns:ns1="urn:core_2020_2.platform.webservices.netsuite.com">{account_id}</account>

              <consumerKey xmlns:ns2="urn:core_2020_2.platform.webservices.netsuite.com">{consumer_key}</consumerKey>

              <token xmlns:ns3="urn:core_2020_2.platform.webservices.netsuite.com">{token_id}</token>

              <nonce xmlns:ns4="urn:core_2020_2.platform.webservices.netsuite.com">{nonce}</nonce>

              <timestamp xmlns:ns5="urn:core_2020_2.platform.webservices.netsuite.com">{timestamp}</timestamp>

              <signature xmlns:ns6="urn:core_2020_2.platform.webservices.netsuite.com" algorithm="HMAC-SHA256">{signature}</signature>

          </tokenPassport>

          <searchPreferences>
          <bodyFieldsOnly>false</bodyFieldsOnly>
          <pageSize>1000</pageSize>
         </searchPreferences>      

      </soap-env:Header>

        <soap-env:Body>

              <search>

                  <searchRecord xsi:type="ns8:TransactionSearch"
                      xmlns:ns8="urn:sales_2020_2.transactions.webservices.netsuite.com"
                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                      <ns8:basic xsi:type="ns2:TransactionSearchBasic"
                          xmlns:ns2="urn:common_2020_2.platform.webservices.netsuite.com">
                          <ns2:tranDate operator="within" xsi:type="ns3:SearchDateField"
                              xmlns:ns3="urn:core_2020_2.platform.webservices.netsuite.com">
                              <ns3:searchValue xsi:type="xsd:dateTime">{start_date}</ns3:searchValue>
                              <ns3:searchValue2 xsi:type="xsd:dateTime">{end_date}</ns3:searchValue2>
                          </ns2:tranDate>
                          <memorized>
                            <searchValue>false</searchValue>
                            </memorized>
                      </ns8:basic>
                  </searchRecord>
              </search>
          </soap-env:Body>

    </soap-env:Envelope>

当前角色权限

  • 角色权限截图:角色权限截图

内容的提问来源于stack exchange,提问作者Mayank

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.17 04:56:58