Transform a Transfer Order to generate an Item Ful...
# suitescript
v
Transform a Transfer Order to generate an Item Fulfillment Event Hello everyone, I am currently trying to create a Transfer Order in NS through integration call, but when I try to submit the information to trigger the "Item Fulfillment" I am facing below error:
Copy code
"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."
I am currently using SuiteTalk REST API.
Copy code
{
  "item": {
    "items": [
      {
        "itemreceive": true,
        "orderLine": 1,
        "quantity": 1
      }
    ]
  },
  "externalid": "test123"
}
however, if I change the orderline to "2", it generates the Item Fulfillment correctly, I already looked up in the original item (line:1), but there's nothing related to that id. the way I figured out that, was using the UI and then making a call to retrieve the Item Fulfillment and see what was different. any suggestion? I am a bit lost on this as our Transfer order has multiple lines
m
TO's are weird.
the IF line number will always be the TO line number +1
and the IR line number will always be the TO line number +2
just one of those netsuite designs where it doesn't quite conform to the behavior you see with other transaction types (PO -> IR / PO -> VB, SO -> IF, SO -> INV, etc.)
v
Noted, thanks for the inputs