Hi. I have a client script, which disables and sets value at some field (taxcode) in the current line in subtabs Item, when user adds an item.
Exceptions arise in this line:
nlapiSetCurrentLineItemValue("item", "taxcode", 116, nlapiGetCurrentLineItemValue("item","taxcode").length==0, true) This code generates 3 errors with the exception:"Uncatch exception: [Object object]".All parameters are correct. 116 is the ID of the existing taxcode provider.When I called this code in the IE debugger, it works correctly without exceptions. When I looked at this error using debugger I saw that nlapiGetCurrentLineItemValue method consistently called a lot of Netsuite .js files and the exception was generated in these files.This code works correctly under Firefox, Safari and Chrome but doesn't work under IE7 and IE8. In IE9 this works correctly but leads to another problem.Maybe this is the problem of interaction between IE and Netsuite customization. Maybe I'm doing something wrong.If anyone knows something about this problem, please help. I added a try - catch block to this code and got the next exception description:err.number = -2147467259err.toString() = "[object Error]"err.description=""