Git Product home page Git Product logo

suite-n-sour's Introduction

Suite-n-Sour

NetSuite SOAP, Web Store, Offline Client, User Interface, and XML/JSON RPC automation for Node.js.

Suite-n-Sour

Blow your SuiteScript benchmarks to kingdom come with SnSour's multi-protocol approach!

Installation

$ npm install suite-n-sour

The easiest way is to install her with npm, but you can of course also clone this repository:

$ git clone https://github.com/eibbor/suite-n-sour.git

Usage

Each protocol/context has its own namespace within the suite-n-sour index.js file. See the tests folder for some more sample code and I've tried to heavily comment the CoffeeScript src files, which is the quickest way to see how everything ticks.

snsour = require 'suite-n-sour'
nsui = new snsor.ui.Client(host: 'system.netsuite.com')
nsui.login '[email protected]', 'yourpassword', (res) ->
  console.log res
  nsui.getContext console.log
  nsui.getRecordTypes console.log
  nsui.searchGlobal 'asdf', console.log
  # See the src/ui.coffee file for available functions
nsdbg = require('suite-n-sour').debug;
nd = new nsdbg.Client('debugger.netsuite.com');
nd.loginAs('[email protected]', 'yourpassword', 'yourcompanyid', 3 /*role*/, function(res) {
  console.log(res);
  nd.runScript('var r = nlapiGetContext(); confirm(c); confirm(this.__proto__.toSource());', console.log);
});

I am swamped with stuff right now so any help with documentation, bug fixes, etc. is much appreciated!

License

GPLv3 with propietary licensing options available to NetSuite consultation firms and anyone interested in reselling suite-n-sour based integration services. If you have any questions, it's probably better to be safe than sorry and shoot me an e-mail.

NETSUITE® and SuiteScript™ are registered trademarks or service marks of NetSuite, Inc.

<3 Always

Eibbor Srednuas http://eibbors.com/

suite-n-sour's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.