Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
INVOCATION_WRAPPER#9 Error
Hi All,
In a oneworld environment
I have a suitelet which creates statistical JE but i got following error while submitting the Statistical JE record.
Code: UNEXPECTED_ERROR Details: ReferenceError: "pp_ss" is not defined. (INVOCATION_WRAPPER#9)
below is my code
function createStatisticalJE(subsidiary){
var mappings = loadMappings();
if(mappings){
var rec = nlapiCreateRecord('statisticaljournalentry');
rec.setFieldValue('approved','T');
rec.setFieldValue('trandate',getDate());
rec.setFieldValue('unitstype',mappings[0].getValue('custrecord_uom'));
rec.setFieldValue('custbody_report',report);
rec.setFieldValue('subsidiary',subsidiary);
for(var i=0; i<mappings.length; i++){
var account = mappings[i].getValue('custrecord_statistical_account');
var savedSearch = mappings[i].getValue('custrecord_saved_search');