Class: NetSuite::Records::JournalEntryLine
- Inherits:
-
Object
- Object
- NetSuite::Records::JournalEntryLine
- Defined in:
- lib/netsuite/records/journal_entry_line.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ JournalEntryLine
constructor
A new instance of JournalEntryLine.
- #to_record ⇒ Object
Methods included from Namespaces::TranGeneral
Methods included from Support::Records
#record_type, #refresh, #to_attributes!
Methods included from Namespaces::PlatformCore
Methods included from Support::Attributes
#attributes, #attributes=, #initialize_from_attributes_hash
Methods included from Support::RecordRefs
Methods included from Support::Fields
Constructor Details
#initialize(attributes = {}) ⇒ JournalEntryLine
Returns a new instance of JournalEntryLine.
13 14 15 |
# File 'lib/netsuite/records/journal_entry_line.rb', line 13 def initialize(attributes = {}) initialize_from_attributes_hash(attributes) end |
Instance Method Details
#to_record ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/netsuite/records/journal_entry_line.rb', line 17 def to_record rec = super if rec["#{record_namespace}:customFieldList"] rec["#{record_namespace}:customFieldList!"] = rec.delete("#{record_namespace}:customFieldList") end rec end |