Noninventory 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

Items
Usage Notes for Item Record Types
Working with Matrix Items in SOAP web services
Shared Field Definitions for Items
Item Search
How to Use the SOAP Web Services Records Help
SOAP Web Services Supported Records
SOAP Schema Browser
SuiteTalk SOAP Web Services Platform Overview

General Notices