Version Cohabitation Rules
You can't use APIs from different major versions of SuiteScript in one script. For example, you cannot use SuiteScript 1.0 APIs and SuiteScript 2.0 APIs in the same script. However, you can have multiple scripts in your account that use different SuiteScript versions. These scripts can be deployed in the same account, in the same SuiteApp, and on the same record.
You can use nlapiRequestRestlet(scriptId, deploymentId, urlParams, body, headers, httpMethod) in SuiteScript 1.0 scripts to call RESTlets written in SuiteScript 2.x code. For more information, see Using SuiteScript 2.x Scripts with SuiteScript 1.0 Scripts.
You can't use SuiteScript 2.1 custom modules with SuiteScript 2.0 entry point scripts. For more information about custom modules, see SuiteScript 2.x Custom Modules.
The Map/Reduce script type is a new functionality introduced with SuiteScript 2.0. You cannot use nlapiScheduleScript(scriptId, deployId, params) to schedule a Map/Reduce script. See SuiteScript 2.x Map/Reduce Script Type for more information.