docparse-get-account-numbers

Find all the distinct account numbers for a given supplier code from all docparse bill in the database

Docparse Get Account Numbers

Find all the distinct account numbers for a given supplier code from all docparse bills in the database. Dependency tracking by David

Usage

var getAccountNumbers = require('docparse-get-account-numbers')
var data = {
  supplierCode: 'FGS',
  db: <cradle db connection>
};
getAccountNumbers(data, function(errvalues) {
  if (err) {
    inspect(err, 'error finding getting distinct values')
    return;
  }
  inspect(values, 'found distinct values');
});

npm install docparse-get-account-numbers

npm install docparse-get-account-numbers eyespect