@things-factory/operato-wms 4.1.30 → 5.0.0-alpha.3

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.
Files changed (31) hide show
  1. package/client/pages/inbound/unload-product.js +1 -1
  2. package/client/pages/inventory-check/create-cycle-count.js +0 -2
  3. package/client/pages/master/product/product-detail-bizplace-setting-popup.js +0 -2
  4. package/client/pages/master/product/product-details-popup.js +10 -9
  5. package/client/pages/master/product/product-list.js +10 -9
  6. package/client/pages/order/release-order/b2b/b2b-order-list.js +18 -41
  7. package/client/pages/order/release-order/b2c/b2c-order-requests.js +18 -40
  8. package/client/pages/outbound/packing-product.js +40 -82
  9. package/client/pages/outbound/worksheet-batch-picking.js +1 -1
  10. package/client/pages/report/outbound-order-details-report.js +9 -64
  11. package/dist-server/graphql/index.js +5 -1
  12. package/dist-server/graphql/index.js.map +1 -1
  13. package/dist-server/graphql/resolvers/index.js +5 -1
  14. package/dist-server/graphql/resolvers/index.js.map +1 -1
  15. package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js +48 -53
  16. package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js.map +1 -1
  17. package/dist-server/graphql/types/index.js +5 -1
  18. package/dist-server/graphql/types/index.js.map +1 -1
  19. package/dist-server/graphql/types/reports/outbound-order-details-report.js +0 -3
  20. package/dist-server/graphql/types/reports/outbound-order-details-report.js.map +1 -1
  21. package/dist-server/index.js +5 -1
  22. package/dist-server/index.js.map +1 -1
  23. package/dist-server/utils/index.js +5 -1
  24. package/dist-server/utils/index.js.map +1 -1
  25. package/package.json +51 -51
  26. package/server/graphql/resolvers/reports/outbound-order-details-report.ts +48 -54
  27. package/server/graphql/types/reports/outbound-order-details-report.ts +0 -3
  28. package/translations/en.json +5 -10
  29. package/translations/ko.json +1 -7
  30. package/translations/ms.json +1 -7
  31. package/translations/zh.json +1 -7
@@ -6,7 +6,6 @@ import gql from 'graphql-tag'
6
6
  import { css, html } from 'lit-element'
7
7
  import { connect } from 'pwa-helpers/connect-mixin'
8
8
 
9
- import { getCodeByName } from '@things-factory/code-base'
10
9
  import { i18next, localize } from '@things-factory/i18n-base'
11
10
  import { client, gqlContext, PageView, store } from '@things-factory/shell'
12
11
  import { flattenObject, isMobileDevice } from '@things-factory/utils'
@@ -46,7 +45,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
46
45
  _searchFields: Object,
47
46
  _config: Object,
48
47
  _partners: Object,
49
- __orderStatus: Object,
50
48
  _gristData: Object,
51
49
  data: Object
52
50
  }
@@ -140,14 +138,10 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
140
138
  date.setMonth(date.getMonth() - 1)
141
139
  return date.toISOString().split('T')[0]
142
140
  })(),
143
- max: (() => {
144
- var max = new Date()
145
- max.setMonth(max.getMonth() + 1)
146
- return max.toISOString().split('T')[0]
147
- })()
141
+ max: new Date().toISOString().split('T')[0]
148
142
  },
149
- value: new Date().toISOString().split('T')[0]
150
- // handlers: { change: this._submit.bind(this) }
143
+ value: new Date().toISOString().split('T')[0],
144
+ handlers: { change: this._submit.bind(this) }
151
145
  },
152
146
  {
153
147
  label: i18next.t('field.product_info'),
@@ -166,19 +160,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
166
160
  name: 'doNo',
167
161
  type: 'text',
168
162
  props: { searchOper: 'custom' }
169
- },
170
- {
171
- label: i18next.t('field.status'),
172
- name: 'status',
173
- type: 'select',
174
- options: [
175
- { name: 'all', value: '' },
176
- ...this._orderStatus.map(status => {
177
- return { name: i18next.t(`label.${status.description}`), value: status.name }
178
- })
179
- ],
180
- value: 'DONE',
181
- props: { searchOper: 'eq' }
182
163
  }
183
164
  ]
184
165
  }
@@ -240,12 +221,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
240
221
  header: i18next.t('field.ref_no_3'),
241
222
  width: 150
242
223
  },
243
- {
244
- type: 'string',
245
- name: 'status',
246
- header: i18next.t('field.status'),
247
- width: 120
248
- },
249
224
  {
250
225
  type: 'datetime',
251
226
  name: 'orderCreatedAt',
@@ -330,18 +305,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
330
305
  header: i18next.t('field.uom'),
331
306
  width: 100
332
307
  },
333
- {
334
- type: 'float',
335
- name: 'returnToLocationQty',
336
- header: i18next.t('field.return_qty'),
337
- width: 120
338
- },
339
- {
340
- type: 'float',
341
- name: 'returnToLocationUomValue',
342
- header: i18next.t('field.return_uom_value'),
343
- width: 120
344
- },
345
308
  {
346
309
  type: 'float',
347
310
  name: 'unitVolume',
@@ -474,7 +437,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
474
437
  'refNo1',
475
438
  'refNo2',
476
439
  'refNo3',
477
- 'status',
478
440
  'orderCreatedAt',
479
441
  'pickingStart',
480
442
  'pickingComplete',
@@ -489,8 +451,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
489
451
  'qty',
490
452
  'uomValue',
491
453
  'uom',
492
- 'returnToLocationQty',
493
- 'returnToLocationUomValue',
494
454
  'unitVolume',
495
455
  'totalVolume',
496
456
  'unitNettWeight',
@@ -517,7 +477,7 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
517
477
  return {
518
478
  columns: columns,
519
479
  list,
520
- pagination: { limit: 100, pages: [100, 200, 500, 1000] },
480
+ pagination: { limit: 50, pages: [50, 100, 200, 500, 1000] },
521
481
  rows: {
522
482
  selectable: false,
523
483
  insertable: false,
@@ -529,14 +489,7 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
529
489
  async pageInitialized() {
530
490
  this._gristData = { total: 0, totalWithOpeningBalance: 0, records: [] }
531
491
  this._products = []
532
-
533
- const [_orderStatusReq, _partnersReq] = await Promise.allSettled([
534
- getCodeByName('RO_REQUESTS_STATUS'),
535
- this._fetchPartners()
536
- ])
537
-
538
- this._orderStatus = _orderStatusReq.status == 'fulfilled' ? _orderStatusReq.value : []
539
- this._partners = _partnersReq.status == 'fulfilled' ? _partnersReq.value : []
492
+ this._partners = [...(await this._fetchPartners())]
540
493
 
541
494
  this._searchFields = this.searchFields
542
495
  this._config = this.reportConfig
@@ -586,7 +539,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
586
539
  deliveryAddress
587
540
  roNo
588
541
  roType
589
- status
590
542
  refNo1
591
543
  refNo2
592
544
  refNo3
@@ -606,8 +558,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
606
558
  packSize
607
559
  qty
608
560
  uomValue
609
- returnToLocationQty
610
- returnToLocationUomValue
611
561
  uom
612
562
  unitVolume
613
563
  totalVolume
@@ -707,18 +657,14 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
707
657
  _modifyDateRange(e) {
708
658
  const fromDate = e.currentTarget.value
709
659
 
660
+ if (this._toDateInput.value < fromDate) this._toDateInput.value = fromDate
661
+
710
662
  let min = new Date(fromDate)
711
- let max = new Date(fromDate)
712
- max.setMonth(max.getMonth() + 2)
663
+ let today = new Date()
664
+ today.setHours(0, 0, 0, 0)
713
665
 
714
666
  min = min.toISOString().split('T')[0]
715
- max = max.toISOString().split('T')[0]
716
-
717
- if (this._toDateInput.value < fromDate) this._toDateInput.value = fromDate
718
-
719
- if (this._toDateInput.value > max) this._toDateInput.value = max
720
667
 
721
- this._toDateInput.max = max
722
668
  this._toDateInput.min = min
723
669
  this._submit()
724
670
  }
@@ -740,7 +686,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
740
686
  { header: i18next.t('field.ref_no'), key: 'refNo1', width: 60, type: 'string' },
741
687
  { header: i18next.t('field.ref_no_2'), key: 'refNo2', width: 60, type: 'string' },
742
688
  { header: i18next.t('field.ref_no_3'), key: 'refNo3', width: 60, type: 'string' },
743
- { header: i18next.t('field.status'), key: 'status', width: 30, type: 'string' },
744
689
  { header: i18next.t('field.order_created_at'), key: 'orderCreatedAt', width: 30, type: 'string' },
745
690
  { header: i18next.t('field.picking_start'), key: 'pickingStart', width: 30, type: 'string' },
746
691
  { header: i18next.t('field.picking_complete'), key: 'pickingComplete', width: 30, type: 'string' },
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AACnC,uDAAwC;AAE3B,QAAA,MAAM,GAAG;IACpB,QAAQ;IACR,SAAS;CACV,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AACnC,uDAAwC;AAE3B,QAAA,MAAM,GAAG;IACpB,QAAQ;IACR,SAAS;CACV,CAAA"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/resolvers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA+C;AAC/C,4DAA6C;AAC7C,8DAA+C;AAC/C,uDAAwC;AACxC,+CAAgC;AAChC,oDAAqC;AACrC,mDAAoC;AACpC,4EAA6D;AAC7D,uEAAwD;AAE3C,QAAA,OAAO,GAAG;IACrB,YAAY,CAAC,KAAK;IAClB,WAAW,CAAC,KAAK;IACjB,YAAY,CAAC,KAAK;IAClB,SAAS,CAAC,KAAK;IACf,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,KAAK;IACb,mBAAmB,CAAC,KAAK;IACzB,iBAAiB,CAAC,KAAK;CACxB,CAAA;AAEY,QAAA,SAAS,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/resolvers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA+C;AAC/C,4DAA6C;AAC7C,8DAA+C;AAC/C,uDAAwC;AACxC,+CAAgC;AAChC,oDAAqC;AACrC,mDAAoC;AACpC,4EAA6D;AAC7D,uEAAwD;AAE3C,QAAA,OAAO,GAAG;IACrB,YAAY,CAAC,KAAK;IAClB,WAAW,CAAC,KAAK;IACjB,YAAY,CAAC,KAAK;IAClB,SAAS,CAAC,KAAK;IACf,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,KAAK;IACb,mBAAmB,CAAC,KAAK;IACzB,iBAAiB,CAAC,KAAK;CACxB,CAAA;AAEY,QAAA,SAAS,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA"}
@@ -14,7 +14,6 @@ exports.outboundOrderDetailsReport = {
14
14
  let toDate = params.filters.find(data => data.name === 'toDate');
15
15
  let roNo = params.filters.find(data => data.name === 'roNo');
16
16
  let doNo = params.filters.find(data => data.name === 'doNo');
17
- let status = params.filters.find(data => data.name === 'status');
18
17
  if (userFilter) {
19
18
  const user = await tx.getRepository(auth_base_1.User).findOne({
20
19
  where: { id: userFilter.value },
@@ -41,76 +40,75 @@ exports.outboundOrderDetailsReport = {
41
40
  if (doNo) {
42
41
  extraQueryFilters = `${extraQueryFilters} and delivery_order_no like '%${doNo.value}%' `;
43
42
  }
44
- console.time('temp');
45
43
  await tx.query(`
46
44
  create temp table temp_outbound_order_report on commit drop as (
47
45
  select * from (
48
- select oi.id, '${bizplace.id}' AS "bizplace_id", '${bizplace.name}' AS "bizplace_name", '${bizplace.description}' AS "bizplace_description",
49
- do2.name AS "delivery_order_no", do2.delivery_date as "delivery_order_date",
50
- do2."to", do2.contact_point_ref_id,
51
- rg.name AS "ro_no", rg."type" as "ro_type", rg.ref_no AS "ref_no_1", rg.ref_no_2 AS "ref_no_2", rg.ref_no_3 AS "ref_no_3", rg.status as "ro_status",
46
+ select b2.id AS "bizplace_id", b2.name AS "bizplace_name", b2.description AS "bizplace_description",
47
+ do2.name AS "delivery_order_no", do2.delivery_date as "delivery_order_date", coalesce(do2."to", concat(cp.address, cp.address_2)) as "delivery_address",
48
+ rg.name AS "ro_no", rg."type" as "ro_type", rg.ref_no AS "ref_no_1", rg.ref_no_2 AS "ref_no_2", rg.ref_no_3 AS "ref_no_3",
52
49
  rg.created_at AS "order_created_at", rg.accepted_at, u4.name as accepted_by,
53
50
  p.id as "product_id", p.sku as "product_sku", p.name AS "product_name", p.description AS "product_description", p.type as "product_type",
54
- i.packing_type as "pack_type", i.packing_size as "pack_size", oi.release_qty AS "release_qty",
55
- oi.picked_at, oi.picked_by, oi.packed_at, oi.packed_by, oi.loaded_at, oi.loaded_by, oi.shipped_at,
56
- oi.release_qty as "qty", oi.release_uom_value as "uom_value", i.uom,
57
- oi.return_to_location_qty, oi.return_to_location_uom_value,
58
- i.pallet_id, i.carton_id, i.batch_id, i.batch_id_ref, i.expiration_date, i.manufacture_date
59
- from order_inventories oi
60
- inner join release_goods rg on rg.id = oi.release_good_id
51
+ oi.packing_type as "pack_type", oi.packing_size as "pack_size", oi.release_qty AS "release_qty",
52
+ w.started_at as "picking_start", w.ended_at as "picking_complete",
53
+ ih.qty as "qty", ih.uom_value as "uom_value", ih.uom, ih.pallet_id, ih.carton_id, ih.batch_id, ih.batch_id_ref,
54
+ i.expiration_date, i.manufacture_date,
55
+ ih.created_at as "picked_at", u.name as "picked_by",
56
+ ih2.created_at as "packed_at", u2.name as "packed_by",
57
+ ih3.created_at as "loaded_at", u3.name as "loaded_by",
58
+ ih4.created_at as "shipped_at",
59
+ coalesce((select volume from product_details pd where pd.product_id = i.product_id and pd.packing_type = i.packing_type and pd.packing_size = i.packing_size
60
+ order by created_at desc
61
+ fetch first 1 rows only),0) as unit_volume,
62
+ coalesce((select nett_weight from product_details pd where pd.product_id = i.product_id and pd.packing_type = i.packing_type and pd.packing_size = i.packing_size
63
+ order by created_at desc
64
+ fetch first 1 rows only),0) as unit_nett_weight,
65
+ coalesce((select gross_weight from product_details pd where pd.product_id = i.product_id and pd.packing_type = i.packing_type and pd.packing_size = i.packing_size
66
+ order by created_at desc
67
+ fetch first 1 rows only),0) as unit_gross_weight,
68
+ coalesce((select weight_unit from product_details pd where pd.product_id = i.product_id and pd.packing_type = i.packing_type and pd.packing_size = i.packing_size
69
+ order by created_at desc
70
+ fetch first 1 rows only),'') as weight_unit
71
+ from (
72
+ select * from release_goods
73
+ where domain_id = $1 and bizplace_id = $2 and status ='DONE'
74
+ and created_at >= $3 and created_at <= $4
75
+ ) rg
61
76
  left join users u4 on u4.id = rg.accepted_by_id
77
+ inner join bizplaces b2 ON b2.id = rg.bizplace_id
78
+ inner join order_inventories oi on oi.release_good_id = rg.id
62
79
  inner join inventories i on i.id = oi.inventory_id
63
80
  inner join temp_products p on p.id = oi.product_id
81
+ left join worksheets w on w.release_good_id = rg.id and w."type" ='PICKING'
82
+ left join reduced_inventory_histories ih on ih.inventory_id = oi.inventory_id and ih.transaction_type ='PICKING' and ih.ref_order_id = rg.id::varchar
83
+ left join users u on u.id = ih.creator_id
84
+ left join reduced_inventory_histories ih2 on ih2.inventory_id = oi.inventory_id and ih2.transaction_type ='PACKING' and ih2.ref_order_id = rg.id::varchar
85
+ left join users u2 on u2.id = ih2.creator_id
86
+ left join reduced_inventory_histories ih3 on ih3.inventory_id = oi.inventory_id and ih3.transaction_type ='LOADING' and ih3.ref_order_id = rg.id::varchar
87
+ left join users u3 on u3.id = ih3.creator_id
88
+ left join reduced_inventory_histories ih4 on ih4.inventory_id = oi.inventory_id and ih4.transaction_type ='SHIPPING' and ih4.ref_order_id = rg.id::varchar
89
+ left join worksheets w2 on w2.release_good_id = rg.id and w2."type" ='PACKING'
90
+ left join worksheets w3 on w3.release_good_id = rg.id and w2."type" ='LOADING'
64
91
  left join delivery_orders do2 on do2.id = oi.delivery_order_id
65
- where exists (
66
- select rg2.id from release_goods rg2
67
- where rg2.domain_id = $1 and rg2.bizplace_id = $2
68
- and rg2.created_at >= $3 and rg2.created_at <= $4 and rg2.id = oi.release_good_id
69
- )
70
- and oi.status <> 'REPLACED'
71
- ${status ? `and rg.status = '${status.value}' ` : ``}
92
+ left join contact_points cp on cp.id = do2.contact_point_ref_id
93
+ left join marketplace_orders mo on mo.release_order_id::uuid = rg.id
94
+ where oi.status <> 'REPLACED'
95
+ order by rg.name, p.sku
72
96
  ) src
73
97
  where 1=1
74
98
  ${extraQueryFilters}
75
99
  )
76
100
  `, [context.state.domain.id, bizplace.id, fromDate.value, toDate.value]);
77
- console.timeEnd('temp');
78
101
  const total = await tx.query(`
79
102
  select count(*) from temp_outbound_order_report
80
103
  `);
81
- console.time('result');
82
104
  const result = await tx.query(`
83
105
  select *,
84
106
  round((qty * unit_volume)::numeric ,4) as total_volume,
85
107
  round((qty * unit_nett_weight)::numeric ,4) as total_unit_nett_weight,
86
- round((qty * unit_gross_weight)::numeric ,4) as total_unit_gross_weight
87
- from (
88
- select *,
89
- w.started_at as picking_start,
90
- w.ended_at as picking_complete,
91
- coalesce(oi."to", concat(cp.address, cp.address_2)) as "delivery_address",
92
- coalesce((select volume from product_details pd where pd.product_id = oi.product_id and pd.packing_type = oi.pack_type and pd.packing_size = oi.pack_size
93
- order by created_at desc
94
- fetch first 1 rows only),0) as unit_volume,
95
- coalesce((select nett_weight from product_details pd where pd.product_id = oi.product_id and pd.packing_type = oi.pack_type and pd.packing_size = oi.pack_size
96
- order by created_at desc
97
- fetch first 1 rows only),0) as unit_nett_weight,
98
- coalesce((select gross_weight from product_details pd where pd.product_id = oi.product_id and pd.packing_type = oi.pack_type and pd.packing_size = oi.pack_size
99
- order by created_at desc
100
- fetch first 1 rows only),0) as unit_gross_weight,
101
- coalesce((select weight_unit from product_details pd where pd.product_id = oi.product_id and pd.packing_type = oi.pack_type and pd.packing_size = oi.pack_size
102
- order by created_at desc
103
- fetch first 1 rows only),'') as weight_unit
104
- from temp_outbound_order_report oi
105
- left join worksheet_details wd on wd.target_inventory_id = oi.id
106
- left join worksheets w on w.id = wd.worksheet_id
107
- left join contact_points cp on cp.id = oi.contact_point_ref_id
108
- where (w.type= 'PICKING' OR w.type = 'BATCH_PICKING')
109
- order by oi.ro_no, oi.product_sku
110
- offset $1 limit $2
111
- ) src
108
+ round((qty * unit_gross_weight)::numeric ,4) as total_unit_gross_weight
109
+ from temp_outbound_order_report
110
+ offset $1 limit $2
112
111
  `, [(params.pagination.page - 1) * params.pagination.limit, params.pagination.limit]);
113
- console.timeEnd('result');
114
112
  let items = result.map(itm => {
115
113
  return {
116
114
  bizplace: {
@@ -123,10 +121,9 @@ exports.outboundOrderDetailsReport = {
123
121
  deliveryAddress: itm.delivery_address,
124
122
  roNo: itm.ro_no,
125
123
  roType: itm.ro_type,
126
- status: itm.ro_status,
127
124
  refNo1: itm.ref_no_1,
128
- refNo3: itm.ref_no_3,
129
125
  refNo2: itm.ref_no_2,
126
+ refNo3: itm.ref_no_3,
130
127
  acceptedBy: itm.accepted_by,
131
128
  acceptedAt: itm.accepted_at,
132
129
  orderCreatedAt: itm.order_created_at,
@@ -144,8 +141,6 @@ exports.outboundOrderDetailsReport = {
144
141
  qty: Math.abs(itm.qty),
145
142
  uomValue: Math.abs(itm.uom_value),
146
143
  uom: itm.uom,
147
- returnToLocationQty: itm.return_to_location_qty,
148
- returnToLocationUomValue: itm.return_to_location_uom_value,
149
144
  unitVolume: itm.unit_volume,
150
145
  totalVolume: itm.total_volume,
151
146
  unitNettWeight: itm.unit_nett_weight,
@@ -1 +1 @@
1
- {"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,0BAA0B,GAAG;IACxC,KAAK,CAAC,0BAA0B,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACtE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;YAC1D,IAAI,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAClE,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACpE,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YAChE,IAAI,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE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AC,4BAA4B;oBAC1D,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,WAAW,EAAE,GAAG,CAAC,YAAY;oBAC7B,cAAc,EAAE,GAAG,CAAC,gBAAgB;oBACpC,mBAAmB,EAAE,GAAG,CAAC,sBAAsB;oBAC/C,eAAe,EAAE,GAAG,CAAC,iBAAiB;oBACtC,oBAAoB,EAAE,GAAG,CAAC,uBAAuB;oBACjD,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,OAAO,EAAE,GAAG,CAAC,QAAQ;oBACrB,UAAU,EAAE,GAAG,CAAC,YAAY;oBAC5B,cAAc,EAAE,GAAG,CAAC,eAAe;oBACnC,eAAe,EAAE,GAAG,CAAC,gBAAgB;oBACrC,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,SAAS,EAAE,GAAG,CAAC,UAAU;iBAC1B,CAAA;YACH,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;aACtB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,0BAA0B,GAAG;IACxC,KAAK,CAAC,0BAA0B,CAAC,CAAM,EAAE,MAAiB,EAAE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S,CAAC;oBACjC,GAAG,EAAE,GAAG,CAAC,GAAG;oBACZ,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,WAAW,EAAE,GAAG,CAAC,YAAY;oBAC7B,cAAc,EAAE,GAAG,CAAC,gBAAgB;oBACpC,mBAAmB,EAAE,GAAG,CAAC,sBAAsB;oBAC/C,eAAe,EAAE,GAAG,CAAC,iBAAiB;oBACtC,oBAAoB,EAAE,GAAG,CAAC,uBAAuB;oBACjD,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,OAAO,EAAE,GAAG,CAAC,QAAQ;oBACrB,UAAU,EAAE,GAAG,CAAC,YAAY;oBAC5B,cAAc,EAAE,GAAG,CAAC,eAAe;oBACnC,eAAe,EAAE,GAAG,CAAC,gBAAgB;oBACrC,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,SAAS,EAAE,GAAG,CAAC,UAAU;iBAC1B,CAAA;YACH,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;aACtB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA+C;AAC/C,4DAA6C;AAC7C,8DAA+C;AAC/C,uDAAwC;AACxC,+CAAgC;AAChC,oDAAqC;AACrC,mDAAoC;AACpC,4EAA6D;AAC7D,sEAAuD;AAE1C,QAAA,OAAO,GAAG;IACrB,YAAY,CAAC,KAAK;IAClB,WAAW,CAAC,KAAK;IACjB,YAAY,CAAC,KAAK;IAClB,SAAS,CAAC,KAAK;IACf,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,KAAK;IACb,mBAAmB,CAAC,KAAK;IACzB,gBAAgB,CAAC,KAAK;CACvB,CAAA;AAEY,QAAA,SAAS,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AAE5B,QAAA,KAAK,GAAG;IACnB,GAAG,YAAY,CAAC,KAAK;IACrB,GAAG,WAAW,CAAC,KAAK;IACpB,GAAG,SAAS,CAAC,KAAK;IAClB,GAAG,OAAO,CAAC,KAAK;IAChB,GAAG,OAAO,CAAC,KAAK;IAChB,GAAG,mBAAmB,CAAC,KAAK;IAC5B,GAAG,gBAAgB,CAAC,KAAK;CAC1B,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA+C;AAC/C,4DAA6C;AAC7C,8DAA+C;AAC/C,uDAAwC;AACxC,+CAAgC;AAChC,oDAAqC;AACrC,mDAAoC;AACpC,4EAA6D;AAC7D,sEAAuD;AAE1C,QAAA,OAAO,GAAG;IACrB,YAAY,CAAC,KAAK;IAClB,WAAW,CAAC,KAAK;IACjB,YAAY,CAAC,KAAK;IAClB,SAAS,CAAC,KAAK;IACf,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,KAAK;IACb,mBAAmB,CAAC,KAAK;IACzB,gBAAgB,CAAC,KAAK;CACvB,CAAA;AAEY,QAAA,SAAS,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AAE5B,QAAA,KAAK,GAAG;IACnB,GAAG,YAAY,CAAC,KAAK;IACrB,GAAG,WAAW,CAAC,KAAK;IACpB,GAAG,SAAS,CAAC,KAAK;IAClB,GAAG,OAAO,CAAC,KAAK;IAChB,GAAG,OAAO,CAAC,KAAK;IAChB,GAAG,mBAAmB,CAAC,KAAK;IAC5B,GAAG,gBAAgB,CAAC,KAAK;CAC1B,CAAA"}
@@ -13,7 +13,6 @@ exports.OutboundOrderDetailsReport = (0, graphql_tag_1.default) `
13
13
  deliveryAddress: String
14
14
  roNo: String
15
15
  roType: String
16
- status: String
17
16
  refNo1: String
18
17
  refNo2: String
19
18
  refNo3: String
@@ -28,8 +27,6 @@ exports.OutboundOrderDetailsReport = (0, graphql_tag_1.default) `
28
27
  packSize: Int
29
28
  qty: Int
30
29
  uomValue: Float
31
- returnToLocationQty: Int
32
- returnToLocationUomValue: Float
33
30
  uom: String
34
31
  unitVolume: Float
35
32
  totalVolume: Float
@@ -1 +1 @@
1
- {"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C5C,CAAA"}
1
+ {"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4C5C,CAAA"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAE5B,oBAAiB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAE5B,oBAAiB"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.1.30",
3
+ "version": "5.0.0-alpha.3",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -41,7 +41,7 @@
41
41
  "docker:run": "docker run --platform linux/amd64 -p 4000:3000 hatiolab/operato-wms:latest"
42
42
  },
43
43
  "dependencies": {
44
- "@operato/ghost-print": "^0.3.28",
44
+ "@operato/ghost-print": "^0.4.3",
45
45
  "@operato/scene-chartjs": "^0.1.5",
46
46
  "@operato/scene-clock": "^0.1.5",
47
47
  "@operato/scene-clone": "^0.1.5",
@@ -57,56 +57,56 @@
57
57
  "@operato/scene-tab": "^0.1.5",
58
58
  "@operato/scene-table": "^0.1.5",
59
59
  "@operato/scene-wheel-sorter": "^0.1.5",
60
- "@things-factory/apptool-ui": "^4.1.28",
61
- "@things-factory/attachment-ui": "^4.1.28",
62
- "@things-factory/auth-ui": "^4.1.28",
63
- "@things-factory/barcode-ui": "^4.1.28",
64
- "@things-factory/biz-ui": "^4.1.28",
65
- "@things-factory/board-service": "^4.1.28",
66
- "@things-factory/board-ui": "^4.1.28",
67
- "@things-factory/code-ui": "^4.1.28",
68
- "@things-factory/context-ui": "^4.1.28",
69
- "@things-factory/export-ui": "^4.1.28",
70
- "@things-factory/export-ui-csv": "^4.1.28",
71
- "@things-factory/export-ui-excel": "^4.1.28",
72
- "@things-factory/fav-base": "^4.1.28",
73
- "@things-factory/form-ui": "^4.1.28",
74
- "@things-factory/grist-ui": "^4.1.28",
75
- "@things-factory/help": "^4.1.28",
76
- "@things-factory/i18n-base": "^4.1.28",
77
- "@things-factory/id-rule-base": "^4.1.28",
78
- "@things-factory/import-ui": "^4.1.28",
79
- "@things-factory/import-ui-excel": "^4.1.28",
80
- "@things-factory/menu-ui": "^4.1.28",
81
- "@things-factory/more-ui": "^4.1.28",
82
- "@things-factory/notification": "^4.1.28",
83
- "@things-factory/pdf": "^4.1.28",
84
- "@things-factory/print-proxy-service": "^4.1.28",
85
- "@things-factory/print-service": "^4.1.28",
86
- "@things-factory/print-ui": "^4.1.28",
87
- "@things-factory/product-base": "^4.1.28",
88
- "@things-factory/resource-ui": "^4.1.28",
89
- "@things-factory/sales-ui": "^4.1.30",
90
- "@things-factory/scene-data-transform": "^4.1.28",
91
- "@things-factory/scene-excel": "^4.1.28",
92
- "@things-factory/scene-firebase": "^4.1.28",
93
- "@things-factory/scene-form": "^4.1.28",
94
- "@things-factory/scene-google-map": "^4.1.28",
95
- "@things-factory/scene-graphql": "^4.1.28",
96
- "@things-factory/scene-label": "^4.1.28",
97
- "@things-factory/scene-marker": "^4.1.28",
98
- "@things-factory/scene-mqtt": "^4.1.28",
99
- "@things-factory/scene-restful": "^4.1.28",
100
- "@things-factory/scene-visualizer": "^4.1.28",
101
- "@things-factory/setting-ui": "^4.1.28",
102
- "@things-factory/system-ui": "^4.1.28",
103
- "@things-factory/transport-base": "^4.1.28",
104
- "@things-factory/tutorial-ui": "^4.1.28",
105
- "@things-factory/warehouse-base": "^4.1.29",
106
- "@things-factory/worksheet-base": "^4.1.30"
60
+ "@things-factory/apptool-ui": "^5.0.0-alpha.3",
61
+ "@things-factory/attachment-ui": "^5.0.0-alpha.3",
62
+ "@things-factory/auth-ui": "^5.0.0-alpha.3",
63
+ "@things-factory/barcode-ui": "^5.0.0-alpha.3",
64
+ "@things-factory/biz-ui": "^5.0.0-alpha.3",
65
+ "@things-factory/board-service": "^5.0.0-alpha.3",
66
+ "@things-factory/board-ui": "^5.0.0-alpha.3",
67
+ "@things-factory/code-ui": "^5.0.0-alpha.3",
68
+ "@things-factory/context-ui": "^5.0.0-alpha.3",
69
+ "@things-factory/export-ui": "^5.0.0-alpha.3",
70
+ "@things-factory/export-ui-csv": "^5.0.0-alpha.3",
71
+ "@things-factory/export-ui-excel": "^5.0.0-alpha.3",
72
+ "@things-factory/fav-base": "^5.0.0-alpha.3",
73
+ "@things-factory/form-ui": "^5.0.0-alpha.3",
74
+ "@things-factory/grist-ui": "^5.0.0-alpha.3",
75
+ "@things-factory/help": "^5.0.0-alpha.3",
76
+ "@things-factory/i18n-base": "^5.0.0-alpha.3",
77
+ "@things-factory/id-rule-base": "^5.0.0-alpha.3",
78
+ "@things-factory/import-ui": "^5.0.0-alpha.3",
79
+ "@things-factory/import-ui-excel": "^5.0.0-alpha.3",
80
+ "@things-factory/menu-ui": "^5.0.0-alpha.3",
81
+ "@things-factory/more-ui": "^5.0.0-alpha.3",
82
+ "@things-factory/notification": "^5.0.0-alpha.3",
83
+ "@things-factory/pdf": "^5.0.0-alpha.3",
84
+ "@things-factory/print-proxy-service": "^5.0.0-alpha.3",
85
+ "@things-factory/print-service": "^5.0.0-alpha.3",
86
+ "@things-factory/print-ui": "^5.0.0-alpha.3",
87
+ "@things-factory/product-base": "^5.0.0-alpha.3",
88
+ "@things-factory/resource-ui": "^5.0.0-alpha.3",
89
+ "@things-factory/sales-ui": "^5.0.0-alpha.3",
90
+ "@things-factory/scene-data-transform": "^5.0.0-alpha.3",
91
+ "@things-factory/scene-excel": "^5.0.0-alpha.3",
92
+ "@things-factory/scene-firebase": "^5.0.0-alpha.3",
93
+ "@things-factory/scene-form": "^5.0.0-alpha.3",
94
+ "@things-factory/scene-google-map": "^5.0.0-alpha.3",
95
+ "@things-factory/scene-graphql": "^5.0.0-alpha.3",
96
+ "@things-factory/scene-label": "^5.0.0-alpha.3",
97
+ "@things-factory/scene-marker": "^5.0.0-alpha.3",
98
+ "@things-factory/scene-mqtt": "^5.0.0-alpha.3",
99
+ "@things-factory/scene-restful": "^5.0.0-alpha.3",
100
+ "@things-factory/scene-visualizer": "^5.0.0-alpha.3",
101
+ "@things-factory/setting-ui": "^5.0.0-alpha.3",
102
+ "@things-factory/system-ui": "^5.0.0-alpha.3",
103
+ "@things-factory/transport-base": "^5.0.0-alpha.3",
104
+ "@things-factory/tutorial-ui": "^5.0.0-alpha.3",
105
+ "@things-factory/warehouse-base": "^5.0.0-alpha.3",
106
+ "@things-factory/worksheet-base": "^5.0.0-alpha.3"
107
107
  },
108
108
  "devDependencies": {
109
- "@things-factory/builder": "^4.1.28"
109
+ "@things-factory/builder": "^5.0.0-alpha.3"
110
110
  },
111
- "gitHead": "676e8f664be7ef164a5f5d2a614d0b20fb8043b4"
111
+ "gitHead": "0584a36ba889ff0b426cc87c0d9c8f14ffa2f677"
112
112
  }