While importing the Sales order with its opportunity name in the opportunity field. Nestuite shows an error “Invalid opportunity reference key “Opportunity Name” for entity “internal. id”.
If we try to create the SO manually with the opportunity, the opportunity won’t be listed in the opportunity field. This is because the opportunity has been processed and closed.
Solution.
- Change the opportunity status from closed won and save.
- Re-import the SO with the Opportunity name.