07-25-2024 12:23 PM
it seems like a simple upsert into the OrderItem or products object in sfdc but get the error message that doesn;t really give me a clue as to what might be wrong
here is the full log
Failed records: [
7},
Solved! Go to Solution.
07-29-2024 09:40 AM
Thanks… I was going down that path till I learned that unlike opportunity products where you add the ProductID
For Order Products you HAVE to add the PricebookEntryID so once I did that I’m golden…. Now I just need to make sure there aren’t orders with more than 1 pricebook
John
07-29-2024 02:22 AM
Hi @johnw ,
After observing the request I could see "value for the date column is missing" either SFDC is expecting values for those column(s).
Can you re-try after providing values for that?
Thanks and Regards,
Shivakumara Avadhani
07-29-2024 09:07 AM
Adding to Shivakumara, I think you are passing blank values where dates (or valid values) are expected:
There's also this field (not a date, but also appears to be missing a value and could be causing an issue):
I'm assuming these all must either be null or have a value. Start troubleshooting there.
07-29-2024 09:40 AM
Thanks… I was going down that path till I learned that unlike opportunity products where you add the ProductID
For Order Products you HAVE to add the PricebookEntryID so once I did that I’m golden…. Now I just need to make sure there aren’t orders with more than 1 pricebook
John