I'd like to perform an update in NetSuite where the records to be updated are determined by an array in the JSON payload rather than the normal lookup filter in an import step. I'll try to explain our problem without going into all the irrelevant details...
We have a NetSuite export that selects Item Fulfillment records.
An additional lookup pulls in a list of serial numbers from a custom record associated with the Sales Order. (Unfortunately there's no relationship between the serial numbers and the fulfillment record.)
We then export the fulfillment and serial numbers to a trading partner's S3. All of this works fine, no problem.
NOW... we need to update the custom serial number records in NetSuite so we know they've been sent to S3. Our data model in NetSuite doesn't give us any way to specify filter criteria for doing this update in an import step. However, the JSON in the flow does include an array of serial number records. I would love to be able to update the serial number records that are listed in the JSON array. This array includes the internal IDs of those custom serial number records. Any way to do this?
I hope this all makes sense. Here's a sample of the JSON in the flow (I've obscured some identifying information). Specially I'd like to update the records referenced by the "serialnumber" array.