NFT (NetSuite Fasttrack Toolkit ) for SuiteScript 2.0 has been pushed to GitHub.
https://github.com/ExploreConsulting/netsuite-fasttrack-toolkit-ss2
It currently has two main features, similar to NFT-SS1.0.
[LIST]
[*]advanced logger (additional features, supports multiple named loggers, based on Aurelia-Logging).
[*]NSDAL (NetSuite data access layer)
[/LIST] As a quick example, here's a snippet accessing a customer record:
// load customer internal id 10 var c = new Customer(10) // strongly typed field access - truly compile-time checked if using TypeScript c.companyname = 'a new company name' c.custentity_multiselect = [1, 2] c.custentity_shawn_date = moment() // dates are moment instances c.isinactive = false // checkboxes are booleans // persist our changes c.save();
For anyone interested in contributing, we can use help defining fields and record types ( see the DataAccess folder in the repository). We'd like to add the most commonly used fields on the most commonly used NetSuite record types, so use your judgement there.Feel free to try it out if you are adventurous - more documentation will be forthcoming.