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”.

 

Rookie Asked on July 28, 2020 in SuiteCloud.

Could you please share both the URL and data that you are currently attempting to use.

on July 29, 2020.

Hello, I am having the same error while to trying partially receive a transfer order using !transform/itemReceipt

on January 14, 2021.
Add Comment
3 Answer(s)

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
}
]
}
}
}
]
}
}
Rookie Answered on August 2, 2020.
Add Comment

This is possible in both cases whether using a Restlet or SuiteTalk. Need to pass the correct parameters as needed and it should be okay to achieve.

Feel free to contact us if you have additional questions.

Beginner Answered on August 5, 2020.
Add Comment

How was this solved? I am getting error :

Error while accessing a 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.
Need a solution urgently!
Rookie Answered on April 8, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor