Hello,
I’m running into an issue with a flow where I find a NetSuite Item receipt to delete and then import a new item receipt using the same record data.
Problem:
Even after I successfully delete the record, the subsequent reimport is skipped because I believe Celigo thinks the record still exists?
This is due to my “how can we find existing records” logic which is setup as so :
This lookup looks for a custom header field on NS item receipts that is always a unique value.
I’ve also tested with the operator set to “is” instead of “equal to”, but I see the same behavior — the record is still considered to exist and gets ignored, even though we just deleted the record with that unique value that we’re considering on it. (I have seen this same behavior both on test runs and real flow executions)
My response mapping for the Import has the follow test run results even when there is a previous successful deletion (finds the ns internal id of the IR w 47811 as the biorxinventoryid, even though we should have just deleted)
Things I’ve considered:
-
Possible NetSuite behavior where “delete” isn’t a true hard delete (maybe it’s soft-deleted/inactive but still indexed).
-
A timing/indexing delay between delete and re-insert.
-
Potential data type mismatch:
custbody_biorx_inventoryidmight be text vs. numeric, and myBioRxInventoryIDvariable may not be matching cleanly. However, i’ve seen this behavior when changing the comparison to both “equal to” and “is.”
Sample Output after the delete step :
{
"record": {
"PurchaseOrderNumber": "PHC000237",
"NSItemReceiptID": 1072776,
"BioRxInventoryID": 47811,
"Items": [
{
"itemid": 18995,
"linelocation": null,
"quantity": 18,
"receiveddate": "2025-09-01T00:00:00.000Z",
"receiptid": 12
}
],
"ItemIdComparison": "20024",
"DeletedNsIRId": "1234567890",
"DeletionNSImportError":
}
}
I should be using this output to create a new updated version of this Item Receipt with slightly modified data (in this case its a new item), but can’t as it gets ignored.
Any advice on how to make sure my new record gets re-imported right after delete would be really appreciated.
Thanks!



