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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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