本文介绍了Netsuite的用户配置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在为NetSuite进行用户配置.

I am currently working on user provisioning for NetSuite.

如何使用SuiteTalk(WebServices)获得帐户的所有角色,部门和子公司?

How to get all the roles, departments and subsidiaries of an account using SuiteTalk(WebServices)?

推荐答案

对于子公司:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xmlns:urn="urn:messages_2017_2.platform.webservices.netsuite.com"   xmlns:urn1="urn:core_2017_2.platform.webservices.netsuite.com"  xmlns:ns1="urn:accounting.lists.webservices.netsuite.com"   xmlns:ns2='urn:common_2017_2.platform.webservices.netsuite.com'>
    <soapenv:Header>
 <urn:applicationInfo>
         <!--Optional:-->
         <urn:applicationId></urn:applicationId>
      </urn:applicationInfo>
      <urn:passport>
         <urn1:email></urn1:email>
         <urn1:password></urn1:password>
         <urn1:account></urn1:account>
      </urn:passport>
    </soapenv:Header>
    <soapenv:Body>
     <platformMsgs:search
         xmlns:platformCore="urn:core_2017_2.platform.webservices.netsuite.com"
         xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:s0="urn:accounting_2017_2.lists.webservices.netsuite.com"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:platformCommon="urn:common_2017_2.platform.webservices.netsuite.com"
         xmlns:platformMsgs="urn:messages_2017_2.platform.webservices.netsuite.com">
        <platformMsgs:searchRecord xsi:type="s0:SubsidiarySearch">
           <s0:basic>

           </s0:basic>
        </platformMsgs:searchRecord>
     </platformMsgs:search>
  </soapenv:Body>
</soapenv:Envelope>

部门:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xmlns:urn="urn:messages_2017_2.platform.webservices.netsuite.com"   xmlns:urn1="urn:core_2017_2.platform.webservices.netsuite.com"  xmlns:ns1="urn:accounting.lists.webservices.netsuite.com"   xmlns:ns2='urn:common_2017_2.platform.webservices.netsuite.com'>
    <soapenv:Header>
 <urn:applicationInfo>
         <!--Optional:-->
         <urn:applicationId></urn:applicationId>
      </urn:applicationInfo>
      <urn:passport>
         <urn1:email></urn1:email>
         <urn1:password></urn1:password>
         <urn1:account></urn1:account>
      </urn:passport>
    </soapenv:Header>
    <soapenv:Body>
     <platformMsgs:search
         xmlns:platformCore="urn:core_2017_2.platform.webservices.netsuite.com"
         xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:s0="urn:accounting_2017_2.lists.webservices.netsuite.com"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:platformCommon="urn:common_2017_2.platform.webservices.netsuite.com"
         xmlns:platformMsgs="urn:messages_2017_2.platform.webservices.netsuite.com">
        <platformMsgs:searchRecord xsi:type="s0:DepartmentSearch">
           <s0:basic>

           </s0:basic>
        </platformMsgs:searchRecord>
     </platformMsgs:search>
  </soapenv:Body>
</soapenv:Envelope>

对于角色:无法使用SuiteTalk提取这些记录.

For Role: Not able Fetch those records using SuiteTalk.

这篇关于Netsuite的用户配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 14:41