I have written a Map reduce script to create a sales order.But getting error when setting the Item.{“type”:”error.SuiteScriptError”,”name”:”INVALID_FLD_VALUE”,”message”:”You have entered an Invalid Field Value 19593 for the following field: item”}.
Sript works fine for already existing item.But not working for the items I have recently created in Netsuite.These Items are not listed in the item list of sales order when I tried to create sales order via UI.
Anyone knows the reason for the error.Pls advice.
Please mind the validation/ Filtering based on subsidiary,class,location etc.
You have to configure the item in subsidiary to list it in the drop down
Resolved.
Need to specify accounts for the item(COGS Account/Asset Account/Income Account).