lib/netsuite/actions/upsert.rb in netsuite-0.8.4 vs lib/netsuite/actions/upsert.rb in netsuite-0.8.5
- old
+ new
@@ -35,9 +35,11 @@
if @object.respond_to?(:external_id) && @object.external_id
hash['platformMsgs:record']['@platformMsgs:externalId'] = @object.external_id
end
+ # setting the internal ID on upsert will result in `CANT_SET_INTERNALID`
+
hash
end
def success?
@success ||= response_hash[:status][:@is_success] == 'true'