Class: ActiveNetsuite::NonInventoryPurchaseItem

Inherits:
Record
  • Object
show all
Defined in:
lib/activenetsuite/soap/default.rb

Overview

urn:accounting_2013_2urn:accounting_2013_2.listsurn:accounting_2013_2.lists.webservicesurn:accounting_2013_2.lists.webservices.netsuiteurn:accounting_2013_2.lists.webservices.netsuite.comNonInventoryPurchaseItem

nullFieldList - ActiveNetsuite::NullField
createdDate - SOAP::SOAPDateTime
lastModifiedDate - SOAP::SOAPDateTime
purchaseDescription - SOAP::SOAPString
cost - SOAP::SOAPDouble
costUnits - SOAP::SOAPString
expenseAccount - ActiveNetsuite::RecordRef
issueProduct - ActiveNetsuite::RecordRef
isTaxable - SOAP::SOAPBoolean
matrixType - ActiveNetsuite::ItemMatrixType
unitsType - ActiveNetsuite::RecordRef
purchaseUnit - ActiveNetsuite::RecordRef
customForm - ActiveNetsuite::RecordRef
itemId - SOAP::SOAPString
upcCode - SOAP::SOAPString
displayName - SOAP::SOAPString
includeChildren - SOAP::SOAPBoolean
vendorName - SOAP::SOAPString
parent - ActiveNetsuite::RecordRef
isInactive - SOAP::SOAPBoolean
availableToPartners - SOAP::SOAPBoolean
department - ActiveNetsuite::RecordRef
m_class - ActiveNetsuite::RecordRef
location - ActiveNetsuite::RecordRef
subsidiaryList - ActiveNetsuite::RecordRefList
taxSchedule - ActiveNetsuite::RecordRef
deferralAccount - ActiveNetsuite::RecordRef
amortizationTemplate - ActiveNetsuite::RecordRef
residual - SOAP::SOAPString
amortizationPeriod - SOAP::SOAPLong
isFulfillable - SOAP::SOAPBoolean
costCategory - ActiveNetsuite::RecordRef
currency - SOAP::SOAPString
itemOptionsList - ActiveNetsuite::ItemOptionsList
matrixOptionList - ActiveNetsuite::MatrixOptionList
itemVendorList - ActiveNetsuite::ItemVendorList
purchaseTaxCode - ActiveNetsuite::RecordRef
salesTaxCode - ActiveNetsuite::RecordRef
translationsList - ActiveNetsuite::TranslationList
vendor - ActiveNetsuite::RecordRef
customFieldList - ActiveNetsuite::CustomFieldList
xmlattr_internalId - SOAP::SOAPString
xmlattr_externalId - SOAP::SOAPString

Constant Summary collapse

AttrExternalId =
XSD::QName.new(nil, "externalId")
AttrInternalId =
XSD::QName.new(nil, "internalId")

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Record

#activate, active, #active=, #active?, #add, all, basic_search_class, #client, client, client=, delete, #delete, deleted, find, find_by, find_by_external_id, find_by_id, find_by_internal_id, #getters, #inactivate, inactive, #inactive=, #load, #loaded?, raise_not_found_error, ref, #ref, search_next, #setters, #to_s, type, #update, update, where

Methods included from MethodInflector

included, #method_missing

Constructor Details

#initialize(nullFieldList = nil, createdDate = nil, lastModifiedDate = nil, purchaseDescription = nil, cost = nil, costUnits = nil, expenseAccount = nil, issueProduct = nil, isTaxable = nil, matrixType = nil, unitsType = nil, purchaseUnit = nil, customForm = nil, itemId = nil, upcCode = nil, displayName = nil, includeChildren = nil, vendorName = nil, parent = nil, isInactive = nil, availableToPartners = nil, department = nil, v_class = nil, location = nil, subsidiaryList = nil, taxSchedule = nil, deferralAccount = nil, amortizationTemplate = nil, residual = nil, amortizationPeriod = nil, isFulfillable = nil, costCategory = nil, currency = nil, itemOptionsList = nil, matrixOptionList = nil, itemVendorList = nil, purchaseTaxCode = nil, salesTaxCode = nil, translationsList = nil, vendor = nil, customFieldList = nil) ⇒ NonInventoryPurchaseItem

Returns a new instance of NonInventoryPurchaseItem.



5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
# File 'lib/activenetsuite/soap/default.rb', line 5385

def initialize(nullFieldList = nil, createdDate = nil, lastModifiedDate = nil, purchaseDescription = nil, cost = nil, costUnits = nil, expenseAccount = nil, issueProduct = nil, isTaxable = nil, matrixType = nil, unitsType = nil, purchaseUnit = nil, customForm = nil, itemId = nil, upcCode = nil, displayName = nil, includeChildren = nil, vendorName = nil, parent = nil, isInactive = nil, availableToPartners = nil, department = nil, v_class = nil, location = nil, subsidiaryList = nil, taxSchedule = nil, deferralAccount = nil, amortizationTemplate = nil, residual = nil, amortizationPeriod = nil, isFulfillable = nil, costCategory = nil, currency = nil, itemOptionsList = nil, matrixOptionList = nil, itemVendorList = nil, purchaseTaxCode = nil, salesTaxCode = nil, translationsList = nil, vendor = nil, customFieldList = nil)
  @nullFieldList = nullFieldList
  @createdDate = createdDate
  @lastModifiedDate = lastModifiedDate
  @purchaseDescription = purchaseDescription
  @cost = cost
  @costUnits = costUnits
  @expenseAccount = expenseAccount
  @issueProduct = issueProduct
  @isTaxable = isTaxable
  @matrixType = matrixType
  @unitsType = unitsType
  @purchaseUnit = purchaseUnit
  @customForm = customForm
  @itemId = itemId
  @upcCode = upcCode
  @displayName = displayName
  @includeChildren = includeChildren
  @vendorName = vendorName
  @parent = parent
  @isInactive = isInactive
  @availableToPartners = availableToPartners
  @department = department
  @v_class = v_class
  @location = location
  @subsidiaryList = subsidiaryList
  @taxSchedule = taxSchedule
  @deferralAccount = deferralAccount
  @amortizationTemplate = amortizationTemplate
  @residual = residual
  @amortizationPeriod = amortizationPeriod
  @isFulfillable = isFulfillable
  @costCategory = costCategory
  @currency = currency
  @itemOptionsList = itemOptionsList
  @matrixOptionList = matrixOptionList
  @itemVendorList = itemVendorList
  @purchaseTaxCode = purchaseTaxCode
  @salesTaxCode = salesTaxCode
  @translationsList = translationsList
  @vendor = vendor
  @customFieldList = customFieldList
  @__xmlattr = {}
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveNetsuite::MethodInflector

Instance Attribute Details

#amortizationPeriodObject

Returns the value of attribute amortizationPeriod.



5344
5345
5346
# File 'lib/activenetsuite/soap/default.rb', line 5344

def amortizationPeriod
  @amortizationPeriod
end

#amortizationTemplateObject

Returns the value of attribute amortizationTemplate.



5342
5343
5344
# File 'lib/activenetsuite/soap/default.rb', line 5342

def amortizationTemplate
  @amortizationTemplate
end

#availableToPartnersObject

Returns the value of attribute availableToPartners.



5336
5337
5338
# File 'lib/activenetsuite/soap/default.rb', line 5336

def availableToPartners
  @availableToPartners
end

#costObject

Returns the value of attribute cost.



5320
5321
5322
# File 'lib/activenetsuite/soap/default.rb', line 5320

def cost
  @cost
end

#costCategoryObject

Returns the value of attribute costCategory.



5346
5347
5348
# File 'lib/activenetsuite/soap/default.rb', line 5346

def costCategory
  @costCategory
end

#costUnitsObject

Returns the value of attribute costUnits.



5321
5322
5323
# File 'lib/activenetsuite/soap/default.rb', line 5321

def costUnits
  @costUnits
end

#createdDateObject

Returns the value of attribute createdDate.



5317
5318
5319
# File 'lib/activenetsuite/soap/default.rb', line 5317

def createdDate
  @createdDate
end

#currencyObject

Returns the value of attribute currency.



5347
5348
5349
# File 'lib/activenetsuite/soap/default.rb', line 5347

def currency
  @currency
end

#customFieldListObject

Returns the value of attribute customFieldList.



5355
5356
5357
# File 'lib/activenetsuite/soap/default.rb', line 5355

def customFieldList
  @customFieldList
end

#customFormObject

Returns the value of attribute customForm.



5328
5329
5330
# File 'lib/activenetsuite/soap/default.rb', line 5328

def customForm
  @customForm
end

#deferralAccountObject

Returns the value of attribute deferralAccount.



5341
5342
5343
# File 'lib/activenetsuite/soap/default.rb', line 5341

def deferralAccount
  @deferralAccount
end

#departmentObject

Returns the value of attribute department.



5337
5338
5339
# File 'lib/activenetsuite/soap/default.rb', line 5337

def department
  @department
end

#displayNameObject

Returns the value of attribute displayName.



5331
5332
5333
# File 'lib/activenetsuite/soap/default.rb', line 5331

def displayName
  @displayName
end

#expenseAccountObject

Returns the value of attribute expenseAccount.



5322
5323
5324
# File 'lib/activenetsuite/soap/default.rb', line 5322

def expenseAccount
  @expenseAccount
end

#includeChildrenObject

Returns the value of attribute includeChildren.



5332
5333
5334
# File 'lib/activenetsuite/soap/default.rb', line 5332

def includeChildren
  @includeChildren
end

#isFulfillableObject

Returns the value of attribute isFulfillable.



5345
5346
5347
# File 'lib/activenetsuite/soap/default.rb', line 5345

def isFulfillable
  @isFulfillable
end

#isInactiveObject

Returns the value of attribute isInactive.



5335
5336
5337
# File 'lib/activenetsuite/soap/default.rb', line 5335

def isInactive
  @isInactive
end

#issueProductObject

Returns the value of attribute issueProduct.



5323
5324
5325
# File 'lib/activenetsuite/soap/default.rb', line 5323

def issueProduct
  @issueProduct
end

#isTaxableObject

Returns the value of attribute isTaxable.



5324
5325
5326
# File 'lib/activenetsuite/soap/default.rb', line 5324

def isTaxable
  @isTaxable
end

#itemIdObject

Returns the value of attribute itemId.



5329
5330
5331
# File 'lib/activenetsuite/soap/default.rb', line 5329

def itemId
  @itemId
end

#itemOptionsListObject

Returns the value of attribute itemOptionsList.



5348
5349
5350
# File 'lib/activenetsuite/soap/default.rb', line 5348

def itemOptionsList
  @itemOptionsList
end

#itemVendorListObject

Returns the value of attribute itemVendorList.



5350
5351
5352
# File 'lib/activenetsuite/soap/default.rb', line 5350

def itemVendorList
  @itemVendorList
end

#lastModifiedDateObject

Returns the value of attribute lastModifiedDate.



5318
5319
5320
# File 'lib/activenetsuite/soap/default.rb', line 5318

def lastModifiedDate
  @lastModifiedDate
end

#locationObject

Returns the value of attribute location.



5338
5339
5340
# File 'lib/activenetsuite/soap/default.rb', line 5338

def location
  @location
end

#matrixOptionListObject

Returns the value of attribute matrixOptionList.



5349
5350
5351
# File 'lib/activenetsuite/soap/default.rb', line 5349

def matrixOptionList
  @matrixOptionList
end

#matrixTypeObject

Returns the value of attribute matrixType.



5325
5326
5327
# File 'lib/activenetsuite/soap/default.rb', line 5325

def matrixType
  @matrixType
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



5316
5317
5318
# File 'lib/activenetsuite/soap/default.rb', line 5316

def nullFieldList
  @nullFieldList
end

#parentObject

Returns the value of attribute parent.



5334
5335
5336
# File 'lib/activenetsuite/soap/default.rb', line 5334

def parent
  @parent
end

#purchaseDescriptionObject

Returns the value of attribute purchaseDescription.



5319
5320
5321
# File 'lib/activenetsuite/soap/default.rb', line 5319

def purchaseDescription
  @purchaseDescription
end

#purchaseTaxCodeObject

Returns the value of attribute purchaseTaxCode.



5351
5352
5353
# File 'lib/activenetsuite/soap/default.rb', line 5351

def purchaseTaxCode
  @purchaseTaxCode
end

#purchaseUnitObject

Returns the value of attribute purchaseUnit.



5327
5328
5329
# File 'lib/activenetsuite/soap/default.rb', line 5327

def purchaseUnit
  @purchaseUnit
end

#residualObject

Returns the value of attribute residual.



5343
5344
5345
# File 'lib/activenetsuite/soap/default.rb', line 5343

def residual
  @residual
end

#salesTaxCodeObject

Returns the value of attribute salesTaxCode.



5352
5353
5354
# File 'lib/activenetsuite/soap/default.rb', line 5352

def salesTaxCode
  @salesTaxCode
end

#subsidiaryListObject

Returns the value of attribute subsidiaryList.



5339
5340
5341
# File 'lib/activenetsuite/soap/default.rb', line 5339

def subsidiaryList
  @subsidiaryList
end

#taxScheduleObject

Returns the value of attribute taxSchedule.



5340
5341
5342
# File 'lib/activenetsuite/soap/default.rb', line 5340

def taxSchedule
  @taxSchedule
end

#translationsListObject

Returns the value of attribute translationsList.



5353
5354
5355
# File 'lib/activenetsuite/soap/default.rb', line 5353

def translationsList
  @translationsList
end

#unitsTypeObject

Returns the value of attribute unitsType.



5326
5327
5328
# File 'lib/activenetsuite/soap/default.rb', line 5326

def unitsType
  @unitsType
end

#upcCodeObject

Returns the value of attribute upcCode.



5330
5331
5332
# File 'lib/activenetsuite/soap/default.rb', line 5330

def upcCode
  @upcCode
end

#vendorObject

Returns the value of attribute vendor.



5354
5355
5356
# File 'lib/activenetsuite/soap/default.rb', line 5354

def vendor
  @vendor
end

#vendorNameObject

Returns the value of attribute vendorName.



5333
5334
5335
# File 'lib/activenetsuite/soap/default.rb', line 5333

def vendorName
  @vendorName
end

Instance Method Details

#__xmlattrObject



5365
5366
5367
# File 'lib/activenetsuite/soap/default.rb', line 5365

def __xmlattr
  @__xmlattr ||= {}
end

#m_classObject



5357
5358
5359
# File 'lib/activenetsuite/soap/default.rb', line 5357

def m_class
  @v_class
end

#m_class=(value) ⇒ Object



5361
5362
5363
# File 'lib/activenetsuite/soap/default.rb', line 5361

def m_class=(value)
  @v_class = value
end

#xmlattr_externalIdObject



5377
5378
5379
# File 'lib/activenetsuite/soap/default.rb', line 5377

def xmlattr_externalId
  __xmlattr[AttrExternalId]
end

#xmlattr_externalId=(value) ⇒ Object



5381
5382
5383
# File 'lib/activenetsuite/soap/default.rb', line 5381

def xmlattr_externalId=(value)
  __xmlattr[AttrExternalId] = value
end

#xmlattr_internalIdObject



5369
5370
5371
# File 'lib/activenetsuite/soap/default.rb', line 5369

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



5373
5374
5375
# File 'lib/activenetsuite/soap/default.rb', line 5373

def xmlattr_internalId=(value)
  __xmlattr[AttrInternalId] = value
end