BarbaraAlvarez1
4 years agoQrew Member
REST API upsert to QB is not updating records with upsert: inserts instead of updates.
I'm using the Upsert action with the REST API to update a QB table with a SQL table as the source and QB as the destination.
The upsert works BUT is always just adding rows - it does not only updating. Do you have to supply the fields to look at for the update to take place, or a key?
My first run inserted 98 records, good. I updated a status field in QB newly added record from 'Terminated' to 'Active'. Re-ran my SSIS package and it didn't update back to Terminated, but inserted a new row... for ALL 98 records. I now have all duplicate rows.
Appreciate your input.
------------------------------
Barbara A.
------------------------------
------------------------------
Barbara Alvarez
------------------------------
The upsert works BUT is always just adding rows - it does not only updating. Do you have to supply the fields to look at for the update to take place, or a key?
My first run inserted 98 records, good. I updated a status field in QB newly added record from 'Terminated' to 'Active'. Re-ran my SSIS package and it didn't update back to Terminated, but inserted a new row... for ALL 98 records. I now have all duplicate rows.
Appreciate your input.
------------------------------
Barbara A.
------------------------------
------------------------------
Barbara Alvarez
------------------------------