Class: ActiveNetsuite::ResourceAllocation

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

Overview

urn:scheduling_2013_2urn:scheduling_2013_2.activitiesurn:scheduling_2013_2.activities.webservicesurn:scheduling_2013_2.activities.webservices.netsuiteurn:scheduling_2013_2.activities.webservices.netsuite.comResourceAllocation

nullFieldList - ActiveNetsuite::NullField
requestedby - ActiveNetsuite::RecordRef
allocationResource - ActiveNetsuite::RecordRef
project - ActiveNetsuite::RecordRef
notes - SOAP::SOAPString
startDate - SOAP::SOAPDateTime
endDate - SOAP::SOAPDateTime
allocationAmount - SOAP::SOAPDouble
allocationUnit - ActiveNetsuite::ResourceAllocationAllocationUnit
numberHours - SOAP::SOAPDouble
percentOfTime - SOAP::SOAPDouble
allocationType - 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, requestedby = nil, allocationResource = nil, project = nil, notes = nil, startDate = nil, endDate = nil, allocationAmount = nil, allocationUnit = nil, numberHours = nil, percentOfTime = nil, allocationType = nil, customFieldList = nil) ⇒ ResourceAllocation

Returns a new instance of ResourceAllocation.



795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
# File 'lib/activenetsuite/soap/default.rb', line 795

def initialize(nullFieldList = nil, requestedby = nil, allocationResource = nil, project = nil, notes = nil, startDate = nil, endDate = nil, allocationAmount = nil, allocationUnit = nil, numberHours = nil, percentOfTime = nil, allocationType = nil, customFieldList = nil)
  @nullFieldList = nullFieldList
  @requestedby = requestedby
  @allocationResource = allocationResource
  @project = project
  @notes = notes
  @startDate = startDate
  @endDate = endDate
  @allocationAmount = allocationAmount
  @allocationUnit = allocationUnit
  @numberHours = numberHours
  @percentOfTime = percentOfTime
  @allocationType = allocationType
  @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

#allocationAmountObject

Returns the value of attribute allocationAmount.



768
769
770
# File 'lib/activenetsuite/soap/default.rb', line 768

def allocationAmount
  @allocationAmount
end

#allocationResourceObject

Returns the value of attribute allocationResource.



763
764
765
# File 'lib/activenetsuite/soap/default.rb', line 763

def allocationResource
  @allocationResource
end

#allocationTypeObject

Returns the value of attribute allocationType.



772
773
774
# File 'lib/activenetsuite/soap/default.rb', line 772

def allocationType
  @allocationType
end

#allocationUnitObject

Returns the value of attribute allocationUnit.



769
770
771
# File 'lib/activenetsuite/soap/default.rb', line 769

def allocationUnit
  @allocationUnit
end

#customFieldListObject

Returns the value of attribute customFieldList.



773
774
775
# File 'lib/activenetsuite/soap/default.rb', line 773

def customFieldList
  @customFieldList
end

#endDateObject

Returns the value of attribute endDate.



767
768
769
# File 'lib/activenetsuite/soap/default.rb', line 767

def endDate
  @endDate
end

#notesObject

Returns the value of attribute notes.



765
766
767
# File 'lib/activenetsuite/soap/default.rb', line 765

def notes
  @notes
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



761
762
763
# File 'lib/activenetsuite/soap/default.rb', line 761

def nullFieldList
  @nullFieldList
end

#numberHoursObject

Returns the value of attribute numberHours.



770
771
772
# File 'lib/activenetsuite/soap/default.rb', line 770

def numberHours
  @numberHours
end

#percentOfTimeObject

Returns the value of attribute percentOfTime.



771
772
773
# File 'lib/activenetsuite/soap/default.rb', line 771

def percentOfTime
  @percentOfTime
end

#projectObject

Returns the value of attribute project.



764
765
766
# File 'lib/activenetsuite/soap/default.rb', line 764

def project
  @project
end

#requestedbyObject

Returns the value of attribute requestedby.



762
763
764
# File 'lib/activenetsuite/soap/default.rb', line 762

def requestedby
  @requestedby
end

#startDateObject

Returns the value of attribute startDate.



766
767
768
# File 'lib/activenetsuite/soap/default.rb', line 766

def startDate
  @startDate
end

Instance Method Details

#__xmlattrObject



775
776
777
# File 'lib/activenetsuite/soap/default.rb', line 775

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_externalIdObject



787
788
789
# File 'lib/activenetsuite/soap/default.rb', line 787

def xmlattr_externalId
  __xmlattr[AttrExternalId]
end

#xmlattr_externalId=(value) ⇒ Object



791
792
793
# File 'lib/activenetsuite/soap/default.rb', line 791

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

#xmlattr_internalIdObject



779
780
781
# File 'lib/activenetsuite/soap/default.rb', line 779

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



783
784
785
# File 'lib/activenetsuite/soap/default.rb', line 783

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