lib/netsuite/actions/upsert.rb in netsuite-0.3.3 vs lib/netsuite/actions/upsert.rb in netsuite-0.4.0
- old
+ new
@@ -31,13 +31,9 @@
:content! => @object.to_record,
'@xsi:type' => @object.record_type
}
}
- if @object.respond_to?(:internal_id) && @object.internal_id
- hash['platformMsgs:record']['@platformMsgs:internalId'] = @object.internal_id
- end
-
if @object.respond_to?(:external_id) && @object.external_id
hash['platformMsgs:record']['@platformMsgs:externalId'] = @object.external_id
end
hash