Ricardo Cornejo
07/04/2023, 3:36 PMsalesOrder/{salesOrderId}/!transform/itemFulfillment
endpoint. And i’m getting this error : “*you must have at least one valid line item for this transaction”.* I’m passing the correct location, orderLine and the item, which has available quantity. Any ideas of what could be the problem. I will the append the json im using in the replies to this message.Ricardo Cornejo
07/04/2023, 3:36 PM{
"tranDate": "2023-07-03",
"memo": "item fulfillment test",
"shippingCost": 2000,
"orderType": "string",
"createdDate": "2023-07-03T21:46:48.812Z",
"shipOverride": false,
"shipStatus": {
"id": "C"
},
"status": {
"id": "Enviado"
},
"exchangeRate": 1,
"shipCountry": {
"id": "CL"
},
"item": {
"items": [
{
"itemReceive": true,
"custcol_sk_sku": "7500435113465",
"itemUnitPrice": 1000,
"lineEntity": 1,
"line": 1,
"amount": 3000,
"quantity": 3,
"orderLine": 1,
"item": {
"externalId": "7500435113465"
},
"location": {
"id": "113"
},
"inventoryLocation": {
"id": "113"
},
"inventoryDetail": {
"quantity": 3,
"item": {
"externalId": "7500435113465"
},
"location": {
"id": "113"
},
"inventoryLocation": {
"id": "113"
},
"inventoryAssignment": {
"items": [
{
"quantity": 3,
"inventoryStatus": {
"id": "1"
}
}
]
}
}
}
]
},
"entity": {
"id": "1534"
},
"location": {
"id": "113"
},
"inventoryLocation": {
"id": "113"
},
"shipMethod": {
"id": "5764"
},
"subsidiary": {
"id": "5"
}
}
Eric B
07/04/2023, 5:24 PMRicardo Cornejo
07/04/2023, 5:24 PMbattk
07/04/2023, 5:48 PMbattk
07/04/2023, 5:49 PMRicardo Cornejo
07/04/2023, 5:51 PM<http://app.netsuite.com/app/accounting/transactions/itemship.nl?id=141139&e=T&transform=salesord&memdoc=0&whence=&inventorylocation=113|app.netsuite.com/app/accounting/transactions/itemship.nl?id=141139&e=T&transform=salesord&memdoc=0&whence=&inventorylocation=113>
battk
07/04/2023, 5:54 PMRicardo Cornejo
07/04/2023, 5:57 PM