• SuiteScript 1.0 and 2.0 are API versions. APIs from 2.0 are not supported in 1.0 and vice versa. It is not recommended to try to combine both 1.0 and 2.0 APIs in one script.
From: Combine SuiteScript Version 1.0 and 2.0 APIs in One Script (SuiteAnswers ID: 72876)