Method: NetSuite::Records::Customer#to_record

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

#to_recordObject



256
257
258
259
260
261
262
# File 'lib/netsuite/records/customer.rb', line 256

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