RE: Item Fulfillment using API Issue

I originally had everything working with the Item Fulfillment call to the API until my client changed a setting in NetSuite and now no matter what I do, I can not get the thing to work.

Client unchecked the “Default Items to Zero Received/Fulfilled” preference in NetSuite

On this S/O I already filled line 1 (before setting change)  I added 2 more lines to the S/O and I only get errors.  I get same errors if I create a clean S/O.

My Call:
salesorder/1942666/!transform/itemfulfillment?init=inventorylocation:120

My Json:

{
    “memo”: “”,
    “item”: {
        “items”: [
            {
                “orderLine”: 1,
                “itemReceive”:false
            },
            {
                “orderLine”: 2,
                “item”: {
                    “id”: “2464”
                },
                “location”: {
                    “id”: “120”
                },
                “inventorylocation”: {
                    “id”: “120”
                },
                “itemReceive”: true,
                “quantity”: 5,
                “inventoryDetail”: {
                    “inventoryAssignment”: {
                        “items”: [
                            {
                                “quantity”: 5,
                                “issueInventoryNumber”: {
                                    “id”: “98744”
                                },
                                “inventoryStatus”: {
                                    “id”: “1”
                                }
                            }
                        ]
                    }
                }
            },
            {
                “orderLine”: 3,
                “itemReceive”:false
            }
        ]
    }
}

“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.”
dtwhite1103 Rookie Asked on July 15, 2025 in Items.
Add Comment
2 Answers

Good Morning, if you still need help with this, here is what I think this line is wrong:  salesorder/1942666/!transform/itemfulfillment?init=inventorylocation:120, your hitting item sublist which I whould not transform but create the item fulfullment.

Rookie Answered on July 19, 2025.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.