Any idea how to reference an item when transformin...
# general
k
Any idea how to reference an item when transforming from purchaseorder>vendorbill? I've tried: { "method": "POST", "url": "https://3997092-sb1.suitetalk.api.netsuite.com/services/rest/record/v1/purchaseorder/2201922/!transform/vendorbill", "headers": {...}, "body": { "tranid": "I-058298", "item": { "items": [ { "item": "37624", "rate": 11, "quantity": 1 } ] } } } AND { "method": "POST", "url": "https://3997092-sb1.suitetalk.api.netsuite.com/services/rest/record/v1/purchaseorder/2201922/!transform/vendorbill", "headers": {...}, "body": { "tranid": "I-058298", "item": { "items": [ { "item": {"id": "37624"}, "rate": 11, "quantity": 1 } ] } } }
I've tried many other variations, I always get:
Copy code
{
  "detail": "Error while accessing a resource. Please choose an item to add.",
  "o:errorPath": "item.items[0]",
  "o:errorCode": "USER_ERROR"
}
s
you should try posting this in #C2K2RJNAC rather than general.
👍 1