Variable Visions

NetSuite SuiteScript 2.0 Create Context

Published Fri. Jul. 15, 2016

Use the context type CREATE to avoid submitting the script after editing existing custom record entries.

if (context.type !== context.UserEventType.CREATE)

Revised from this previous article.

Keywords:Netsuite, SuiteScript 2.0, Script Context