【发布时间】:2021-12-20 19:50:24
【问题描述】:
我正在使用 NetSuite SOAP API 从另一个应用程序创建新部门。 请求被正确处理并创建部门。 我的问题是新的 internalid 增量跳转到 100(例如:最后创建的部门 internalid 是 657,如果我使用 SOAP API 新创建的部门得到 id 757 而不是 658)。
我是否错过了正确的 +1 增量?
这里是 SOAP 请求的代码示例:
<SOAP-ENV:Body>
<ns3:add>
<ns3:record xsi:type="ns1:Department" externalId="80004">
<ns1:name>80004 - my new Department</ns1:name>
<ns1:parent/>
<ns1:subsidiaryList>
<ns2:recordRef internalId="1"/>
</ns1:subsidiaryList>
<ns1:customFieldList>
<ns2:customField xsi:type="ns2:SelectCustomFieldRef" internalId="18">
<ns2:value typeId="4" internalId="7">
<ns2:name>Projet</ns2:name>
</ns2:value>
</ns2:customField>
</ns1:customFieldList>
</ns3:record>
</ns3:add>
</SOAP-ENV:Body>
【问题讨论】: