Hey Guys, While creating an inventory item using p...
# suitetalkapi
m
Hey Guys, While creating an inventory item using postman i am getting this error
Copy code
{
  "type": "<https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1>",
  "title": "Bad Request",
  "status": 400,
  "o:errorDetails": [
    {
      "detail": "Error while accessing a resource. Please enter value(s) for: Item Name/Number, SKU, Tax Schedule.",
      "o:errorCode": "USER_ERROR"
    }
  ]
}
I found the itemId in the documentation but i cant find SKU and tax schedule in it. https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2023.1/index.html#/definitions/inventoryItem Does anyone knows here which field is SKU and which one is Tax Schedule in the docs
a
sku is upcCode tax schedule is I think ... taxSchedule? it may be missing from the documentation because its not in all accounts or something. Its a reference to another record in NS so it just needs an internal id to reference the appropriate tax schedule
b
m
@battk i am sorry i couldn't get what you were referring to
@Anthony OConnor even after using upcCode its still giving same error. I tried adding taxSchedule field too but getting the same error
b
go through the linked documentation and identify if any of the limitations listed apply to you
m
Nope any of the limitations is not related to this.
idk why the docs is missing these fields
a
its still a beta feature, so its use at your own risk
👍 1
b
which suitetax engine is your account using
m
Avalara avatax
b
which bundle was installed
m
296604
b
go back through the limitations, there is really only one about taxes and it tells you what you need to do
m
I use workflow to set the taxschedule