events: {
onProcessingChanged: "",
onOrderChanged: "",
- onShipmentChanged: ""
+ onShipmentChanged: "",
+ onUpdateHeader: ""
},
handlers: {
onBarcodeCapture: "captureBarcode"
});
if (models.length > 0) {
this.transact(models, true, true);
+ } else {
+ inEvent.noItemFound = true;
}
+
+ this.doUpdateHeader(inEvent);
},
/**
Helper function for transacting `transact` on an array of models.