Discussions
Error creating custom record with SOAP Request
I'm having trouble creating a custom record with a SOAP Request. I tried creating an invoice with the same credentials and it worked.
I have been reading all the documentation and schema browsers (https://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2016_2/schema/record/customrecord.html?mode=package) and can't figure why it doesn't work.
This is an example of my request:
<add xsi:type='platformMsgs:AddRequest'>
<record xsi:type='setupCustom:CustomRecord'>
<isInactive xsi:type='xsd:boolean'>false</isInactive>
<recType xsi:type='platformCore:RecordRef' internalId='customrecord_test_create' type='customRecord'/>
<recordName xsi:type='xsd:string'>TEST SOAP</recordName>
</record>