Class: ActiveNetsuite::JournalEntry

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

Overview

urn:general_2013_2urn:general_2013_2.transactionsurn:general_2013_2.transactions.webservicesurn:general_2013_2.transactions.webservices.netsuiteurn:general_2013_2.transactions.webservices.netsuite.comJournalEntry

nullFieldList - ActiveNetsuite::NullField
postingPeriod - ActiveNetsuite::RecordRef
tranDate - SOAP::SOAPDateTime
currency - ActiveNetsuite::RecordRef
exchangeRate - SOAP::SOAPDouble
tranId - SOAP::SOAPString
reversalDate - SOAP::SOAPDateTime
reversalDefer - SOAP::SOAPBoolean
parentExpenseAlloc - ActiveNetsuite::RecordRef
reversalEntry - SOAP::SOAPString
createdFrom - ActiveNetsuite::RecordRef
department - ActiveNetsuite::RecordRef
m_class - ActiveNetsuite::RecordRef
location - ActiveNetsuite::RecordRef
subsidiary - ActiveNetsuite::RecordRef
toSubsidiary - ActiveNetsuite::RecordRef
approved - SOAP::SOAPBoolean
createdDate - SOAP::SOAPDateTime
lastModifiedDate - SOAP::SOAPDateTime
customForm - ActiveNetsuite::RecordRef
lineList - ActiveNetsuite::JournalEntryLineList
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, postingPeriod = nil, tranDate = nil, currency = nil, exchangeRate = nil, tranId = nil, reversalDate = nil, reversalDefer = nil, parentExpenseAlloc = nil, reversalEntry = nil, createdFrom = nil, department = nil, v_class = nil, location = nil, subsidiary = nil, toSubsidiary = nil, approved = nil, createdDate = nil, lastModifiedDate = nil, customForm = nil, lineList = nil, customFieldList = nil) ⇒ JournalEntry

Returns a new instance of JournalEntry.



19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
# File 'lib/activenetsuite/soap/default.rb', line 19849

def initialize(nullFieldList = nil, postingPeriod = nil, tranDate = nil, currency = nil, exchangeRate = nil, tranId = nil, reversalDate = nil, reversalDefer = nil, parentExpenseAlloc = nil, reversalEntry = nil, createdFrom = nil, department = nil, v_class = nil, location = nil, subsidiary = nil, toSubsidiary = nil, approved = nil, createdDate = nil, lastModifiedDate = nil, customForm = nil, lineList = nil, customFieldList = nil)
  @nullFieldList = nullFieldList
  @postingPeriod = postingPeriod
  @tranDate = tranDate
  @currency = currency
  @exchangeRate = exchangeRate
  @tranId = tranId
  @reversalDate = reversalDate
  @reversalDefer = reversalDefer
  @parentExpenseAlloc = parentExpenseAlloc
  @reversalEntry = reversalEntry
  @createdFrom = createdFrom
  @department = department
  @v_class = v_class
  @location = location
  @subsidiary = subsidiary
  @toSubsidiary = toSubsidiary
  @approved = approved
  @createdDate = createdDate
  @lastModifiedDate = lastModifiedDate
  @customForm = customForm
  @lineList = lineList
  @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

#approvedObject

Returns the value of attribute approved.



19814
19815
19816
# File 'lib/activenetsuite/soap/default.rb', line 19814

def approved
  @approved
end

#createdDateObject

Returns the value of attribute createdDate.



19815
19816
19817
# File 'lib/activenetsuite/soap/default.rb', line 19815

def createdDate
  @createdDate
end

#createdFromObject

Returns the value of attribute createdFrom.



19809
19810
19811
# File 'lib/activenetsuite/soap/default.rb', line 19809

def createdFrom
  @createdFrom
end

#currencyObject

Returns the value of attribute currency.



19802
19803
19804
# File 'lib/activenetsuite/soap/default.rb', line 19802

def currency
  @currency
end

#customFieldListObject

Returns the value of attribute customFieldList.



19819
19820
19821
# File 'lib/activenetsuite/soap/default.rb', line 19819

def customFieldList
  @customFieldList
end

#customFormObject

Returns the value of attribute customForm.



19817
19818
19819
# File 'lib/activenetsuite/soap/default.rb', line 19817

def customForm
  @customForm
end

#departmentObject

Returns the value of attribute department.



19810
19811
19812
# File 'lib/activenetsuite/soap/default.rb', line 19810

def department
  @department
end

#exchangeRateObject

Returns the value of attribute exchangeRate.



19803
19804
19805
# File 'lib/activenetsuite/soap/default.rb', line 19803

def exchangeRate
  @exchangeRate
end

#lastModifiedDateObject

Returns the value of attribute lastModifiedDate.



19816
19817
19818
# File 'lib/activenetsuite/soap/default.rb', line 19816

def lastModifiedDate
  @lastModifiedDate
end

#lineListObject

Returns the value of attribute lineList.



19818
19819
19820
# File 'lib/activenetsuite/soap/default.rb', line 19818

def lineList
  @lineList
end

#locationObject

Returns the value of attribute location.



19811
19812
19813
# File 'lib/activenetsuite/soap/default.rb', line 19811

def location
  @location
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



19799
19800
19801
# File 'lib/activenetsuite/soap/default.rb', line 19799

def nullFieldList
  @nullFieldList
end

#parentExpenseAllocObject

Returns the value of attribute parentExpenseAlloc.



19807
19808
19809
# File 'lib/activenetsuite/soap/default.rb', line 19807

def parentExpenseAlloc
  @parentExpenseAlloc
end

#postingPeriodObject

Returns the value of attribute postingPeriod.



19800
19801
19802
# File 'lib/activenetsuite/soap/default.rb', line 19800

def postingPeriod
  @postingPeriod
end

#reversalDateObject

Returns the value of attribute reversalDate.



19805
19806
19807
# File 'lib/activenetsuite/soap/default.rb', line 19805

def reversalDate
  @reversalDate
end

#reversalDeferObject

Returns the value of attribute reversalDefer.



19806
19807
19808
# File 'lib/activenetsuite/soap/default.rb', line 19806

def reversalDefer
  @reversalDefer
end

#reversalEntryObject

Returns the value of attribute reversalEntry.



19808
19809
19810
# File 'lib/activenetsuite/soap/default.rb', line 19808

def reversalEntry
  @reversalEntry
end

#subsidiaryObject

Returns the value of attribute subsidiary.



19812
19813
19814
# File 'lib/activenetsuite/soap/default.rb', line 19812

def subsidiary
  @subsidiary
end

#toSubsidiaryObject

Returns the value of attribute toSubsidiary.



19813
19814
19815
# File 'lib/activenetsuite/soap/default.rb', line 19813

def toSubsidiary
  @toSubsidiary
end

#tranDateObject

Returns the value of attribute tranDate.



19801
19802
19803
# File 'lib/activenetsuite/soap/default.rb', line 19801

def tranDate
  @tranDate
end

#tranIdObject

Returns the value of attribute tranId.



19804
19805
19806
# File 'lib/activenetsuite/soap/default.rb', line 19804

def tranId
  @tranId
end

Instance Method Details

#__xmlattrObject



19829
19830
19831
# File 'lib/activenetsuite/soap/default.rb', line 19829

def __xmlattr
  @__xmlattr ||= {}
end

#m_classObject



19821
19822
19823
# File 'lib/activenetsuite/soap/default.rb', line 19821

def m_class
  @v_class
end

#m_class=(value) ⇒ Object



19825
19826
19827
# File 'lib/activenetsuite/soap/default.rb', line 19825

def m_class=(value)
  @v_class = value
end

#xmlattr_externalIdObject



19841
19842
19843
# File 'lib/activenetsuite/soap/default.rb', line 19841

def xmlattr_externalId
  __xmlattr[AttrExternalId]
end

#xmlattr_externalId=(value) ⇒ Object



19845
19846
19847
# File 'lib/activenetsuite/soap/default.rb', line 19845

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

#xmlattr_internalIdObject



19833
19834
19835
# File 'lib/activenetsuite/soap/default.rb', line 19833

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



19837
19838
19839
# File 'lib/activenetsuite/soap/default.rb', line 19837

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