I'm using NetSuite SOAP API to create new departments from another application. The request is treated without errors and the department is created. My problem is the new internalid incrementation jump to 100 (ex: last created department internalid is 657, if i use SOAP API new created department got id 757 instead of 658).
Did i miss something to get a correct +1 incrementation ?
Here an code exemple of the SOAP request:
<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>