Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Accessing line level custom fields on Inventory Adjustment via REST API
When creating or getting an inventory adjustment via the REST API, line level custom fields don't seem to be accessible to either set or get. Body fields are ok.
For example if I POST the following payload the "custbody_order_number" field gets set but the "custcol_order_number" field does not. If I then set the field via the UI and get that record via a GET, the "custbody_order_number" isn't in the response.
Am I doing something wrong is it it not supported?
{
"subsidiary": {"id": "1"},
"location": {"id": "1"},
"custbody_order_number": "1234",
"inventory": {
"items": [{
"item": {"id": "100"},
"custcol_order_number": "1234",
0