Noninventory Resale Item

Important:

Most types of records are also supported in REST web services. For a list of all records supported in REST, see REST Web Services Supported Records.

Important:

For information about working with this record type in REST web services, see Non-Inventory Resale Item.

Noninventory resale item records are used to track something you buy and then sell for a profit, but do not stock.

For more information, see Non-Inventory Items.

Supported Operations

add | addList | delete | deleteList | get | getList | getSavedSearch | getSelectValue | search | update | updateList | upsert | upsertList

Note:

You can also use the asynchronous equivalents of SOAP web services list operations. For information about asynchronous operations, see SOAP Web Services Asynchronous Operations. For more information about request processing, see Synchronous Versus Asynchronous Request Processing.

Field Definitions

The SOAP Schema Browser includes definitions for all body fields, sublist fields, search filters, and search joins available to this record. For details, see the SOAP Schema Browser’ s noninventory resale item reference page.

Note:

For information on using the SOAP Schema Browser, see SOAP Schema Browser.

Code Sample

See the following code sample of the add operation:

            NonInventoryResaleItem nonInventoryResaleItem = new NonInventoryResaleItem();
        RecordRef taxSchedule = new RecordRef();
        taxSchedule.setInternalId("1");
        RecordRef department = new RecordRef();
        department.setInternalId("2");
        nonInventoryResaleItem.setItemId("New NonInventoryResaleItem");
        nonInventoryResaleItem.setDisplayName("Item Display Name");
        nonInventoryResaleItem.setTaxSchedule(taxSchedule);
        nonInventoryResaleItem.setDepartment(department);
        c.addRecord(nonInventoryResaleItem);
    
[SOAP request]
<soapenv:Body>
    <add xmlns="urn:messages_2019_1.platform.webservices.netsuite.com">
         <record xsi:type="ns7:NonInventoryResaleItem" xmlns:ns7="urn:accounting_2019_1.lists.webservices.netsuite.com">
            <ns7:taxSchedule internalId="1" xsi:type="ns8:RecordRef" xmlns:ns8="urn:core_2019_1.platform.webservices.netsuite.com"/>
            <ns7:itemId xsi:type="xsd:string">New NonInventoryResaleItem</ns7:itemID>
            <ns7:displayName xsi:type="xsd:string">Item Display Name</ns7:displayName>
            <ns7department internalId="1" xsi:type="ns9:RecordRef" xmlns:ns9="urn:core_2019_1.platform.webservices.netsuite.com"/>
         </record>
      </add>
</soapenv:Body>

[SOAP response]
<soapenv:Body>
      <addResponse xmlns="urn:messages_2019_1.platform.webservices.netsuite.com">
         <writeResponse>
            <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2019_1.platform.webservices.netsuite.com">
               <platformCore:statusDetail>
                  <platformCore:afterSubmitFailed>false</platformCore:afterSubmitFailed>
               </platformCore:statusDetail>
            </platformCore:status>
            <baseRef internalId="247" type="nonInventoryResaleItem" xsi:type="platformCore:RecordRef" xmlns:platformCore="urn:core_2019_1.platform.webservices.netsuite.com"/>
         </writeResponse>
      </addResponse>
</soapenv:Body> 

          

Related Topics

General Notices