ディスカッション
NetSuiteの保存検索やレポートをマスターするための究極のガイドである分析センターを使用して、データの力を最大限に活用しましょう。複雑さを単純化し、組織の真の可能性を解き放ちます。今すぐ分析センターに参加して、新たな高みを目指しましょう!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Webサービスを使用してアカウントがOneWorldかどうかを確認する
適用
製品: NetSuite 2022.1
シナリオ
NetSuite WebサービスAPIには、アカウントがNetSuite StandardとOneWorldのどちらであるかを判別するオペレーションはありません。
ただし、OneWorldでしか処理できない2種類のリクエストのいずれかを行うことで、確認することができます。両方のリクエストに対して異なるレスポンスとなることに注意してください。
解決策
getオペレーションを使用して、OneWorld以外のアカウントを使用して連結取得する。
SOAPリクエストの例:
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Header> <passport xmlns="urn:messages_2013_2.platform.webservices.netsuite.com"> <email xmlns="urn:core_2013_2.platform.webservices.netsuite.com">user@domain.comemail> <password xmlns="urn:core_2013_2.platform.webservices.netsuite.com">*********password> <account xmlns="urn:core_2013_2.platform.webservices.netsuite.com">ACCT1234account> passport> soap:Header> <soap:Body> <get xmlns="urn:messages_2013_2.platform.webservices.netsuite.com"> <baseRef type="subsidiary" internalId="1" xsi:type="q1:RecordRef" xmlns:q1="urn:core_2013_2.platform.webservices.netsuite.com"/>
0