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
afterSubmit event on "Transfer Order"
Hello everyone.
For the past two days, I've been trying to figure out WHY Transfer Order record is the ONLY one that doesn't return nlapiRecordId() on create.
I created user event script against Transfer Order and fired afterSubmit function to grab internal id of the newly created record.
problem is, it returns null. It's ONLY on create. I'm wondering if there is a delay between the database commit and afterSubmit function firing specifically for this record type.
i've tried nlapiGetRecordId() and also stepped through to see what values are available in debugger mode by looking at nlapiGetNewRecord().
Internal ID as well as tranid are both empty. Well... tranid says "to be generated". It's as if afterSubmit function fires before it goes to database.