NetSuite Sale Order lookup is returning incorrect error message - A mapping error occurred. More than one match for \"[\"otherrefnum\"
I have an import to NetSuite to create Item Fulfillments. In the mapping I am looking up the created from Sales Order with this dynamic lookup - ["otherrefnum","is","{{{CustOrdNbr}}}"]. The error I'm getting is:
"A mapping error occurred. More than one match for \"[\"otherrefnum\",\"is\",\"5266520146\"]\" for the record type \"Sales Order\"."
I have verified via saved search in NetSuite that there is only one Sales Order with that 'otherrefnum'. What else could be causing this error message?
-
Hi Cory,
It's possible that you have inactive records with the same "otherrefnum" (usually PO# on a sales order), or that you have a multi-subsidiary NetSuite and the flow was checking all subsidiaries, where the UI search was not.
0 -
There is only one subsidiary. The saved search that I ran to find all records with that number would have come back with all records regardless of status. Also, I am not aware of an 'Inactive' option on transactions. They only have status.
0 -
Ah, ok. I just noticed something else -- otherrefnum is an integer field, so you have to use "equalto" instead of "is" in the filter.
1 -
I am experiencing the same issue; verified there is only one result via Saved Search but the lookup is reporting more than one.
A mapping error occurred. More than one match for "["custrecord_41_tracked_container","is","TCNU8264411"]" for the record type "customrecord_shipment".
// final search.filterExpression: [["custrecord_41_tracked_container","is","TCNU8264411"]]
var lookupResults = search.run().getRange({"start":0,"end":10});
// lookupResults.length: 101 -
Celigo Admin, have you tried the approach provided by Orion Abrams of using "equalto" instead of "is" in the filter. Please let us know if you have tried this approach and still facing the same issue.
0
Please sign in to leave a comment.
Comments
5 comments