Hello, I’m trying to create an Item Fulfillment fr...
# general
j
Hello, I’m trying to create an Item Fulfillment from a Sales Order via Integration. However, I am getting this error: “Failed to create, update/transform record because You must have at least one valid line item for this transaction.” When I fulfill the Sales Order manually through NS, I don’t run into any errors. Any thoughts/suggestions on what I should be looking out for?
a
@Sam is the inventory available in that location?
t
I ran into this while working on an integration project last week. It can be very frustrating, but here are a few things to look for: Make sure the location you're creating the fulfillment for actually has inventory for at least one of the items that you're trying to fulfill. If you're using subsidiaries, be careful of those, too.
If you're using bins, that can cause issues, too. But that's another story / challenge.
j
@AK47 @tdietrich Confirmed that the inventory is available (qty available) at the location. And confirmed that the item’s subsidiary matches that of the Sales Order. Will look into the bins. Thanks both and please feel free to add any additional checks I should be making!
b
Take a look at the parameters in the url that netsuite defaults in when you create the fulfillment in the ui
Set those default values in your integration
j
Hi @battk, are you talking about these parameters? id=874788&e=T&transform=salesord&memdoc=0&whence=&inventorylocation=305
b
Specifically inventorylocation
j
Hmm still getting the same error
b
are you using suitescript?
j
Celigo
b
that actually can be suitescript or suitetalk
its probably suitescript, but im not aware if celigo has something that allows you to set default values/transform values
m
Celigo uses suitescript too and has options to perform additional transformations + defaults. I'd suggest checking your payload to NetSuite to see if you have any line items within it. If you do, you'd have to provide the accurate mapping instructions into the Celigo interface.