Method: NetSuite::Records::JournalEntryLine#to_record

Defined in:
lib/netsuite/records/journal_entry_line.rb

#to_recordObject



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