kristopherw
01/30/2018, 7:09 PMERR_BLOCKED_BY_XSS_AUDITOR error. Yes, I know it's Chrome trying to block potentially harmful code. No I'm not willing to tell my users to simply not use chrome. Thus I need to fix my script. The error is in a SuiteGL plug-in and only occurs when trying to add a new GL line to the GL impact of an invoice that uses the transaction level Discount Item field. Could anyone please help me troubleshoot this?jkabot
01/30/2018, 7:18 PMnlapiSubmitRecord(...)kristopherw
01/30/2018, 7:20 PMjkabot
01/30/2018, 7:25 PMvar rec = nlapiLoadRecord(...); nlapiSubmitRecord(rec);.
The call to nlapiSubmitRecord threw an error. I don't remember the error code but the error's detail message was The following serial number is already in inventory...jkabot
01/30/2018, 7:28 PMvar rec = nlapiCreateRecord(...); rec.setFieldValue(...) etc; nlapiSubmitRecord(rec);kristopherw
01/30/2018, 7:29 PMjkabot
01/30/2018, 7:29 PMnlapiSubmitRecord threw an error in that case too. "The number of serial numbers is not equal to the line item quantity."jkabot
01/30/2018, 7:30 PMkristopherw
01/30/2018, 7:35 PMjkabot
01/30/2018, 7:37 PMjkabot
01/30/2018, 7:39 PM