Best laid plans

No plan survives contact with the enemy, and today the enemy was my 15-year old car. I had every intention of having a shiny new Subrecord video for you all today, and then the rear brakes went out on my car, so I’ve had to spend the day dealing with that instead.

Despite our best intentions and our most detailed plans, no matter how many years of experience we have, life will always have wrenches and curveballs and brake jobs to throw at us, and so will SuiteScript. No matter how much you study or how much you build, NetSuite and SuiteScript will always surprise you. There will always be a new error or an UNEXPECTED one; NetSuite’s features and designs and APIs are in a constant state of change. It can be maddening!

It can be, but it doesn’t have to be. I am a firm believer in learning and mastering the basic foundations and concepts. These will always serve you much better than the flavor-of-the-week JavaScript technique or some cool hack you found in a Stack Overflow answer. The stronger our foundation and the more consistent habits we develop around that foundation, the larger and more impressive things we’ll be able to build on top of it.

Maybe I’m rambling; the point is that learning the foundational concepts like NetSuite’s data model, its Script types, its event triggers, and establishing consistent, healthy patterns for common tasks and troubleshooting will make you a much, much better and less frustrated SuiteScript developer in the long run. It doesn’t pay to memorize the methods of the N/runtime module if you don’t understand what a Script Parameter is.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Related posts

January 7, 2021

Anything I wrote today about business would both feel and be inadequate. I simply can’t arrive at the words to express how I feel in this moment. So instead, here are a few helpful ...

Read More

December 20, 2020

2020 was a hundred swift kicks to the shorts and one giant kick in the ass. If you’ve lost people you love, if you’ve gotten sick or hurt, if you’ve lost your job, if ...

Read More

December 16, 2020

“I’ve been meaning to learn SuiteScript, but it’s hard to find the time …”“We’re slammed, and I just don’t have the time …”“I haven’t made the time …” All are variations of a theme ...

Read More

December 14, 2020

Last week we looked at mimicking the functionality of a REST endpoint with its own module (e.g. retrieving a User, or a list of Users, refreshing a token, etc). For complex integrations that rely on a large ...

Read More