UseUpserts Parameter (Connect-NetSuite Cmdlet)
A boolean indicating if you would like to perform an upsert when an INSERT operation is used.
Syntax
Connect-NetSuite -UseUpserts SwitchParameter
Data Type
bool
Default Value
false
Remarks
Upserts can be used to potentially update an existing record when inserting. NetSuite handles this by using the ExternalId on a given record. If you perform an INSERT when the ExternalId you specify exists in NetSuite, it instead updates the corresponding record. Otherwise an INSERT takes place. Set this value to false to always insert new records regardless.
This property only applies when Schema is set to SuiteTalk.