Bill of Materials (BOM)

A Bill of Materials, or BOM, lists the quantities of raw materials, assemblies, sub-components, and parts needed to manufacture a product. A BOM can be used to communicate between manufacturing partners, multiple facilities within the organization, or with a single manufacturing plant.

The BOM record is available when the Advanced Bill of Materials feature is enabled on the Items & Inventory subtab at Setup > Company > Setup Tasks > Enable Features.

In the user interface, you can access the BOM record at Lists > Supply Chain > Bills of Materials.

For information about working with this record in the user interface, see Advanced Bill of Materials.

The BOM record is defined in the listAcct (accounting) XSD.

Supported Operations

The following operations can be used with the BOM record.

add | addList | delete | deleteList | get | getDeleted | 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 BOM reference page.

Note:

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

Usage Notes

Consider the following information when you work with BOM and BOM revision records.

Sample Code

In the following example, a new BOM record is created.

Java

              public void bomRecord() throws Exception {
        Bom bomRec = new Bom();
        bomRec.setName("List of Ingredients");
        bomRec.setIsInactive(true);
        bomRec.setAvailableForAllAssemblies(true);
        bomRec.setAvailableForAllLocations(true);
        bomRec.setMemo("list of ingredients");

        c.addRecord(bomRec);
    } 

        

SOAP Request

                <soapenv:Body>  
         <add xmlns="urn:messages_2018_1.platform.webservices.netsuite.com">   
            <record xsi:type="ns7:Bom" xmlns:ns7="urn:accounting_2018_1.lists.webservices.netsuite.com">    
               <ns7:name xsi:type="xsd:string">List of Ingredients</ns7:name>    
               <ns7:isInactive xsi:type="xsd:boolean">true</ns7:isInactive>    
               <ns7:memo xsi:type="xsd:string">list of ingredients</ns7:memo>    
               <ns7:availableForAllAssemblies xsi:type="xsd:boolean">true</ns7:availableForAllAssemblies>    
               <ns7:availableForAllLocations xsi:type="xsd:boolean">true</ns7:availableForAllLocations>   
            </record>  
         </add> 
      </soapenv:Body> 

        

SOAP Response

                <soapenv:Body>
         <addResponse xmlns="urn:messages_2018_1.platform.webservices.netsuite.com">
            <writeResponse>
               <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2018_1.platform.webservices.netsuite.com"/>
               <baseRef internalId="10" type="bom" xsi:type="platformCore:RecordRef" xmlns:platformCore="urn:core_2018_1.platform.webservices.netsuite.com"/>
            </writeResponse>
         </addResponse>
      </soapenv:Body> 

        

Related Topics

Lists
Other Lists
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