public class

WorkOrderItem

extends Object
java.lang.Object
   ↳ com.netsuite.webservices.transactions.inventory_2012_1.WorkOrderItem

Class Overview

Java class for WorkOrderItem complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="WorkOrderItem">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="line" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="item" type="{urn:core_2012_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="quantityCommitted" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="quantityBackOrdered" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="quantityAvailable" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="averageCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="lastPurchasePrice" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="quantityOnHand" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="units" type="{urn:core_2012_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="inventoryDetail" type="{urn:common_2012_1.platform.webservices.netsuite.com}InventoryDetail" minOccurs="0"/>
         <element name="serialNumbers" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="options" type="{urn:core_2012_1.platform.webservices.netsuite.com}CustomFieldList" minOccurs="0"/>
         <element name="department" type="{urn:core_2012_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="class" type="{urn:core_2012_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="location" type="{urn:core_2012_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="poVendor" type="{urn:core_2012_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="poRate" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="percentComplete" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="contribution" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="commit" type="{urn:types.inventory_2012_1.transactions.webservices.netsuite.com}WorkOrderItemItemCommitInventory" minOccurs="0"/>
         <element name="createPo" type="{urn:types.inventory_2012_1.transactions.webservices.netsuite.com}WorkOrderItemItemCreatePo" minOccurs="0"/>
         <element name="createWo" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="customFieldList" type="{urn:core_2012_1.platform.webservices.netsuite.com}CustomFieldList" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected Double averageCost
protected RecordRef clazz
protected WorkOrderItemItemCommitInventory commit
protected Double contribution
protected WorkOrderItemItemCreatePo createPo
protected Boolean createWo
protected CustomFieldList customFieldList
protected RecordRef department
protected String description
protected InventoryDetail inventoryDetail
protected RecordRef item
protected Double lastPurchasePrice
protected Long line
protected RecordRef location
protected CustomFieldList options
protected Double percentComplete
protected Double poRate
protected RecordRef poVendor
protected Double quantity
protected Double quantityAvailable
protected Double quantityBackOrdered
protected Double quantityCommitted
protected Double quantityOnHand
protected String serialNumbers
protected RecordRef units
Public Constructors
WorkOrderItem()
Public Methods
Double getAverageCost()
Gets the value of the averageCost property.
RecordRef getClazz()
Gets the value of the clazz property.
WorkOrderItemItemCommitInventory getCommit()
Gets the value of the commit property.
Double getContribution()
Gets the value of the contribution property.
WorkOrderItemItemCreatePo getCreatePo()
Gets the value of the createPo property.
CustomFieldList getCustomFieldList()
Gets the value of the customFieldList property.
RecordRef getDepartment()
Gets the value of the department property.
String getDescription()
Gets the value of the description property.
InventoryDetail getInventoryDetail()
Gets the value of the inventoryDetail property.
RecordRef getItem()
Gets the value of the item property.
Double getLastPurchasePrice()
Gets the value of the lastPurchasePrice property.
Long getLine()
Gets the value of the line property.
RecordRef getLocation()
Gets the value of the location property.
CustomFieldList getOptions()
Gets the value of the options property.
Double getPercentComplete()
Gets the value of the percentComplete property.
Double getPoRate()
Gets the value of the poRate property.
RecordRef getPoVendor()
Gets the value of the poVendor property.
Double getQuantity()
Gets the value of the quantity property.
Double getQuantityAvailable()
Gets the value of the quantityAvailable property.
Double getQuantityBackOrdered()
Gets the value of the quantityBackOrdered property.
Double getQuantityCommitted()
Gets the value of the quantityCommitted property.
Double getQuantityOnHand()
Gets the value of the quantityOnHand property.
String getSerialNumbers()
Gets the value of the serialNumbers property.
RecordRef getUnits()
Gets the value of the units property.
Boolean isCreateWo()
Gets the value of the createWo property.
void setAverageCost(Double value)
Sets the value of the averageCost property.
void setClazz(RecordRef value)
Sets the value of the clazz property.
void setCommit(WorkOrderItemItemCommitInventory value)
Sets the value of the commit property.
void setContribution(Double value)
Sets the value of the contribution property.
void setCreatePo(WorkOrderItemItemCreatePo value)
Sets the value of the createPo property.
void setCreateWo(Boolean value)
Sets the value of the createWo property.
void setCustomFieldList(CustomFieldList value)
Sets the value of the customFieldList property.
void setDepartment(RecordRef value)
Sets the value of the department property.
void setDescription(String value)
Sets the value of the description property.
void setInventoryDetail(InventoryDetail value)
Sets the value of the inventoryDetail property.
void setItem(RecordRef value)
Sets the value of the item property.
void setLastPurchasePrice(Double value)
Sets the value of the lastPurchasePrice property.
void setLine(Long value)
Sets the value of the line property.
void setLocation(RecordRef value)
Sets the value of the location property.
void setOptions(CustomFieldList value)
Sets the value of the options property.
void setPercentComplete(Double value)
Sets the value of the percentComplete property.
void setPoRate(Double value)
Sets the value of the poRate property.
void setPoVendor(RecordRef value)
Sets the value of the poVendor property.
void setQuantity(Double value)
Sets the value of the quantity property.
void setQuantityAvailable(Double value)
Sets the value of the quantityAvailable property.
void setQuantityBackOrdered(Double value)
Sets the value of the quantityBackOrdered property.
void setQuantityCommitted(Double value)
Sets the value of the quantityCommitted property.
void setQuantityOnHand(Double value)
Sets the value of the quantityOnHand property.
void setSerialNumbers(String value)
Sets the value of the serialNumbers property.
void setUnits(RecordRef value)
Sets the value of the units property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected Double averageCost

protected RecordRef clazz

protected Double contribution

protected WorkOrderItemItemCreatePo createPo

protected Boolean createWo

protected CustomFieldList customFieldList

protected RecordRef department

protected String description

protected InventoryDetail inventoryDetail

protected RecordRef item

protected Double lastPurchasePrice

protected Long line

protected RecordRef location

protected CustomFieldList options

protected Double percentComplete

protected Double poRate

protected RecordRef poVendor

protected Double quantity

protected Double quantityAvailable

protected Double quantityBackOrdered

protected Double quantityCommitted

protected Double quantityOnHand

protected String serialNumbers

protected RecordRef units

Public Constructors

public WorkOrderItem ()

Public Methods

public Double getAverageCost ()

Gets the value of the averageCost property.

Returns
  • possible object is Double

public RecordRef getClazz ()

Gets the value of the clazz property.

Returns

public WorkOrderItemItemCommitInventory getCommit ()

Gets the value of the commit property.

Returns

public Double getContribution ()

Gets the value of the contribution property.

Returns
  • possible object is Double

public WorkOrderItemItemCreatePo getCreatePo ()

Gets the value of the createPo property.

Returns

public CustomFieldList getCustomFieldList ()

Gets the value of the customFieldList property.

Returns

public RecordRef getDepartment ()

Gets the value of the department property.

Returns

public String getDescription ()

Gets the value of the description property.

Returns
  • possible object is String

public InventoryDetail getInventoryDetail ()

Gets the value of the inventoryDetail property.

Returns

public RecordRef getItem ()

Gets the value of the item property.

Returns

public Double getLastPurchasePrice ()

Gets the value of the lastPurchasePrice property.

Returns
  • possible object is Double

public Long getLine ()

Gets the value of the line property.

Returns
  • possible object is Long

public RecordRef getLocation ()

Gets the value of the location property.

Returns

public CustomFieldList getOptions ()

Gets the value of the options property.

Returns

public Double getPercentComplete ()

Gets the value of the percentComplete property.

Returns
  • possible object is Double

public Double getPoRate ()

Gets the value of the poRate property.

Returns
  • possible object is Double

public RecordRef getPoVendor ()

Gets the value of the poVendor property.

Returns

public Double getQuantity ()

Gets the value of the quantity property.

Returns
  • possible object is Double

public Double getQuantityAvailable ()

Gets the value of the quantityAvailable property.

Returns
  • possible object is Double

public Double getQuantityBackOrdered ()

Gets the value of the quantityBackOrdered property.

Returns
  • possible object is Double

public Double getQuantityCommitted ()

Gets the value of the quantityCommitted property.

Returns
  • possible object is Double

public Double getQuantityOnHand ()

Gets the value of the quantityOnHand property.

Returns
  • possible object is Double

public String getSerialNumbers ()

Gets the value of the serialNumbers property.

Returns
  • possible object is String

public RecordRef getUnits ()

Gets the value of the units property.

Returns

public Boolean isCreateWo ()

Gets the value of the createWo property.

Returns
  • possible object is Boolean

public void setAverageCost (Double value)

Sets the value of the averageCost property.

Parameters
value Allowed object is Double

public void setClazz (RecordRef value)

Sets the value of the clazz property.

Parameters
value Allowed object is RecordRef

public void setCommit (WorkOrderItemItemCommitInventory value)

Sets the value of the commit property.

Parameters
value Allowed object is WorkOrderItemItemCommitInventory

public void setContribution (Double value)

Sets the value of the contribution property.

Parameters
value Allowed object is Double

public void setCreatePo (WorkOrderItemItemCreatePo value)

Sets the value of the createPo property.

Parameters
value Allowed object is WorkOrderItemItemCreatePo

public void setCreateWo (Boolean value)

Sets the value of the createWo property.

Parameters
value Allowed object is Boolean

public void setCustomFieldList (CustomFieldList value)

Sets the value of the customFieldList property.

Parameters
value Allowed object is CustomFieldList

public void setDepartment (RecordRef value)

Sets the value of the department property.

Parameters
value Allowed object is RecordRef

public void setDescription (String value)

Sets the value of the description property.

Parameters
value Allowed object is String

public void setInventoryDetail (InventoryDetail value)

Sets the value of the inventoryDetail property.

Parameters
value Allowed object is InventoryDetail

public void setItem (RecordRef value)

Sets the value of the item property.

Parameters
value Allowed object is RecordRef

public void setLastPurchasePrice (Double value)

Sets the value of the lastPurchasePrice property.

Parameters
value Allowed object is Double

public void setLine (Long value)

Sets the value of the line property.

Parameters
value Allowed object is Long

public void setLocation (RecordRef value)

Sets the value of the location property.

Parameters
value Allowed object is RecordRef

public void setOptions (CustomFieldList value)

Sets the value of the options property.

Parameters
value Allowed object is CustomFieldList

public void setPercentComplete (Double value)

Sets the value of the percentComplete property.

Parameters
value Allowed object is Double

public void setPoRate (Double value)

Sets the value of the poRate property.

Parameters
value Allowed object is Double

public void setPoVendor (RecordRef value)

Sets the value of the poVendor property.

Parameters
value Allowed object is RecordRef

public void setQuantity (Double value)

Sets the value of the quantity property.

Parameters
value Allowed object is Double

public void setQuantityAvailable (Double value)

Sets the value of the quantityAvailable property.

Parameters
value Allowed object is Double

public void setQuantityBackOrdered (Double value)

Sets the value of the quantityBackOrdered property.

Parameters
value Allowed object is Double

public void setQuantityCommitted (Double value)

Sets the value of the quantityCommitted property.

Parameters
value Allowed object is Double

public void setQuantityOnHand (Double value)

Sets the value of the quantityOnHand property.

Parameters
value Allowed object is Double

public void setSerialNumbers (String value)

Sets the value of the serialNumbers property.

Parameters
value Allowed object is String

public void setUnits (RecordRef value)

Sets the value of the units property.

Parameters
value Allowed object is RecordRef