Skip to content

Commit

Permalink
Fixing custom field record ref object reference
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed May 6, 2016
1 parent 5ae92b8 commit 8f79040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/netsuite/records/custom_field_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def create_custom_field(reference_id, field_value)
when field_value.is_a?(Array)
'MultiSelectCustomFieldRef'
when field_value.is_a?(Hash)
when field_value.is_a?(NetSuite::Records::RecordRef)
when field_value.is_a?(NetSuite::Records::CustomRecordRef)
'SelectCustomFieldRef'
when field_value.is_a?(DateTime),
field_value.is_a?(Time),
Expand Down

0 comments on commit 8f79040

Please sign in to comment.