Closed domguinard closed 3 years ago
In the next version of epcis2.js
, you'll be able to "flatten" the options object for readPoint
and bizLocation
, like this:
const options = {
actionType: actionTypes.add,
bizStep: bizSteps.picking,
dispositions: dispositions.in_progress,
parentId : '...',
childEPCs : ['...', '...'],
readPoint : '...',
bizLocation : '...',
bizTransactions : ['...', '...']
};
const pick1 = new AggregationEvent(options);
Added to release 1.1.0.
(suggested by Scott at Zebra) add ability to pass additional parameters via constructor
or... ability to pass options parameter to set values