Hey everyone any idea why i get this error when i ...
# integrations
d
Hey everyone any idea why i get this error when i post an Sales Order in Netsuite:
Failed to save record because Please choose a shipping method to account for the shipping cost.
Order have Shipping Price : "*Amount": "6.27"* Method : FedEx 2Day
j
How are you posting the Sales Order and how are you setting the shipping method?
🙌 1
d
using integrator.io and shipping method is FedEx 2Day
@Jan Petri the Order have Secondday in the paylaod and i mapped it to FedEx 2Day
j
Thanks! Any chance the subsidiary of the customer / order in NetSuite doesn't match the subsidiary tied to the shipping method?
That was an issue I had at some point
d
@Jan Petri og so u a had the same one , i just check they have same subsidiary
shippinh Method and the customer
j
Have you tried creating the SO in "Dynamic Mode"?
d
i guess the Orders that pushed though have no shipping cost (i checked the json) becasue in image above it's calculating using Real-time rate , so i think i need to map the shipping cost ? Dynamic Mode? how i can do that
j
Based on the error, it looks like shipping cost is being passed to NetSuite which is why it's complaining about the shipping method
Look for the "Use Dynamic Mode" mapping in the import mapping
and hard-code it to true
d
done i will see
is it going to effect something by the way? haha
j
Yes, now the order in which you set the fields in Celigo matters
For example, if you assign body fields before setting the customer it's going to clear the body fields
It essentially mimics what's happening in the UI
d
I see @Jan Petri same haha
j
Not sure off-hand. You can always contact Celigo support. Have you tried creating the SO in the UI and do you have the Shipping Method available?
d
@Jan Petri i will try to create it in UI now and see thank you so much i really appreciate it 🔥
@Jan Petri Bro it's worked when i added the use dynamic mode i didn't save when i said didn't work haha 🔥 Thanks dynamic mode = true (just to mimic what happened in the UI right)?
j
Yep, glad it worked for you.
✅ 1