Error: “Required fields are missing: [PricebookEntryId] for OrderItem[0]\nRequired fields are missing: [PricebookEntryId] for OrderItem[1]”
Flow name: NetSuite Sales Order to Salesforce Order
Error message: Required fields are missing: [PricebookEntryId] for OrderItem[0]\nRequired fields are missing: [PricebookEntryId] for OrderItem[1]
Reason: The error occurred due to the missing PriceBook Entry for Custom in Salesforce
Resolution:
To resolve this error, create a Price Book Entry ID lookup using a different line item field such as Price Book ID and Product ID.
- Login to your integrator.io.
- Navigate to the Salesforce - NetSuite integration app tile.
- Go to Flows > Opportunity.
- Next to the NetSuite Sales Order to Salesforce Order Add/Update flow, click Edit mapping to edit the field mappings.
- On the edit mapping page, enter OrderItems: Price Book Entry ID in the Destination record field (Salesforce) and click Edit (Gear icon) to view the Settings page.
- On the Settings page, in the Field mapping type setting, select Lookup.
- In the sObject type setting, select Price Book Entry from the dropdown list.
- In the Refresh search filters, click Add filter and refer above screenshot to add a filter.
- In the Value field setting, enter Price Book Entry ID.
- Click Save & close and re-run the flow.
Comments
Please sign in to leave a comment.