@openinc/parse-server-opendash 2.4.66 → 2.4.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/MES_Order.js +2 -0
- package/package.json +1 -1
package/dist/hooks/MES_Order.js
CHANGED
|
@@ -173,6 +173,7 @@ async function createValueArrayForObject(object, extraValues, fields) {
|
|
|
173
173
|
const setup_time = object.get("setup_time");
|
|
174
174
|
const start = object.get("start");
|
|
175
175
|
const end = object.get("end");
|
|
176
|
+
const order_quantity = object.get("order_quantity");
|
|
176
177
|
let duration = 0;
|
|
177
178
|
if (start && end) {
|
|
178
179
|
duration = end.getTime() - start.getTime();
|
|
@@ -183,6 +184,7 @@ async function createValueArrayForObject(object, extraValues, fields) {
|
|
|
183
184
|
values.push(articlenr);
|
|
184
185
|
values.push(setup_time);
|
|
185
186
|
values.push(duration);
|
|
187
|
+
values.push(order_quantity);
|
|
186
188
|
for (const extraValue of extraValues) {
|
|
187
189
|
let value = object.get(extraValue.name);
|
|
188
190
|
if (fields[extraValue.name].type === "Date") {
|