Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beacon insert according to docs fail #352

Closed
itayw opened this issue Apr 3, 2014 · 0 comments
Closed

Beacon insert according to docs fail #352

itayw opened this issue Apr 3, 2014 · 0 comments
Assignees
Milestone

Comments

@itayw
Copy link
Member

itayw commented Apr 3, 2014

Related to joola/joola.sdk#63.

As reported by @MattAitchison.

This will fail:

joolaio.init({
  host: 'http://localhost:7070', APIToken: 'apitoken-root'}, function (err) {
  if (err) {
    throw err;
  }
  //console.log('joola.io ready, version', joolaio.VERSION);
  //csvConverter.from(csvFileName);
  joolaio.dispatch.beacon.insert('poInvBackorderTest', {
    Company: 'xxxxxx',
    VendorID: 'xxxxxxx',
    Name: 'xxxxxxxx',
    PONUM: '8103',
    POLine: '2',
    OpenLine: '1',
    PartNum: 'STxx-xx-xx',
    LineDesc: 'xxxxxxxxx xxx',
    WarehouseCode: 'xxxxxx',
    RelQty: 15,
    ReceivedQty: 0,
    BackOrderQty: 15
  });
  //joola.io ready, version 0.4.0
});

Issue is with the options and callback not being provided and docs indicating the above to be the correct syntax.

@itayw itayw added this to the Version 0.4.1 milestone Apr 3, 2014
@itayw itayw self-assigned this Apr 3, 2014
@itayw itayw added bug labels Apr 3, 2014
@itayw itayw closed this as completed Apr 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant