apiintegrationnetsuiteitemgroup

NetSuite API - Adding "Item Group" under a Sales Order


I am trying to integrate with NetSuite API to create Sales Orders. It works fine when I add Non-inventory items. However, when I add Item groups through the API, it fails with the error "Please enter a value for amount".

What I tried so far:
-> Added the Item Group Header Item
-> Added all the line items under the Item group
-> Added the "end of group" line item (item id = '0')
->I have set quantity and rate for all the lines

Yet it fails with the above error. What is the right way to add an item group to a Sales Order Line in NetSuite?

Thanks in advance!


Solution

  • I am not sure, but see if you are using the "custom" price level. Use custom price levels and set the amount too.