RE: Partial Fulfillment with RestWebService
Hi,
How to do partial fulfillment with restapi transform transfer order to itemfulfillment. In metadata there is parameter replace , but when i’m trying with postman it display error :”Invalid Query parameter name:replace. No Query Parameter allowed for this parameter”.
Hi,
I’m create Transfer Order using Suitetalk Rest Web Service API (standard NetSuite) with URL {{REST_SERVICES}}/record/v1/transferorder and data like below:
{
“externalId”:”TO-000005″,
“location”:{“id”:”470″},
“transferlocation”: {“id”:”993″},
“item”:{
“items”:[
{
“item”: { “id”:”4927″ },
“quantity”: 1,
“units”:”GR”,
“inventorydetail”:{
“inventoryassignment”:{
“items”:[
{
“issueinventorynumber”: {“id”:”236383″},
“quantity”:1
}
]
}
}
},{
“item”: { “id”:”4936″ },
“quantity”: 1,
“units”:”GR”,
“inventorydetail”:{
“inventoryassignment”:{
“items”:[
{
“issueinventorynumber”: {“id”:”237304″},
“quantity”:1
}
]
}
}
}
]
}
}
For the fullfilment i’m using URL: {{REST_SERVICES}}/record/v1/transferOrder/eid:TO-000005/!transform/itemfulfillment. It’s success if i’m just send body request. But if i’m include parameter items, it’s error :
{
“type”: “https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1”,
“title”: “Error while accessing resource: You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist.”,
“status”: 400,
“o:errorCode”: “USER_ERROR”
}
Below is the requestBody that i’m using for transform order:
{
“trandate”:”2020-07-29″,
“memo”:”fulfill by API”,
“externalId”:”IF-POS-0005″,
“item”:{
“items”:[
{
“item”: { “id”:”4927″ },
“quantity”: 1,
“units”:”GR”,
“itemReceived”:false,
“inventorydetail”:{
“inventoryassignment”:{
“items”:[
{
“issueinventorynumber”: {“id”:”236383″},
“quantity”:1
}
]
}
}
},{
“item”: { “id”:”4936″ },
“quantity”: 1,
“units”:”GR”,
“itemReceived”:true,
“inventorydetail”:{
“inventoryassignment”:{
“items”:[
{
“issueinventorynumber”: {“id”:”237304″},
“quantity”:1
}
]
}
}
}
]
}
}
Chris Abbott
Could you please share both the URL and data that you are currently attempting to use.
remi
Hello, I am having the same error while to trying partially receive a transfer order using !transform/itemReceipt