Method: NetSuite::Records::Invoice#to_record

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

#to_recordObject



59
60
61
62
63
64
65
# File 'lib/netsuite/records/invoice.rb', line 59

def to_record
  rec = super
  if rec["#{record_namespace}:customFieldList"]
    rec["#{record_namespace}:customFieldList!"] = rec.delete("#{record_namespace}:customFieldList")
  end
  rec
end