@things-factory/operato-wms 4.3.493 → 4.3.495

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 (25) hide show
  1. package/client/pages/inbound/unload-product.js +7 -4
  2. package/client/pages/inventory-check/add-extra-inventory-popup.js +12 -1
  3. package/client/pages/inventory-check/create-cycle-count.js +13 -3
  4. package/client/pages/inventory-check/cycle-count-inventory-details-popup.js +18 -1
  5. package/client/pages/inventory-check/cycle-count-recheck-popup.js +16 -0
  6. package/client/pages/inventory-check/cycle-count-report.js +11 -0
  7. package/client/pages/inventory-check/cycle-count-review.js +24 -1
  8. package/client/pages/inventory-check/cycle-count-worksheet-list.js +14 -0
  9. package/client/pages/inventory-check/inspecting-product.js +157 -6
  10. package/client/pages/inventory-check/inventory-check-list.js +1 -1
  11. package/client/pages/inventory-check/worksheet-cycle-count.js +3 -3
  12. package/client/pages/order/draft-release-good/draft-release-good-list.js +7 -2
  13. package/client/pages/outbound/route-label-popup.js +4 -2
  14. package/dist-server/graphql/resolvers/reports/cycle-count-report.js +11 -2
  15. package/dist-server/graphql/resolvers/reports/cycle-count-report.js.map +1 -1
  16. package/dist-server/graphql/types/reports/cycle-count-report.js +1 -0
  17. package/dist-server/graphql/types/reports/cycle-count-report.js.map +1 -1
  18. package/helps/release-note.md +4 -5
  19. package/package.json +6 -6
  20. package/server/graphql/resolvers/reports/cycle-count-report.ts +11 -2
  21. package/server/graphql/types/reports/cycle-count-report.ts +1 -0
  22. package/translations/en.json +6 -0
  23. package/translations/ko.json +6 -0
  24. package/translations/ms.json +6 -0
  25. package/translations/zh.json +6 -0
@@ -54,7 +54,8 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
54
54
  orderProductData: Object,
55
55
  orderVasData: Object,
56
56
  refOrderType: String,
57
- _pageSettings: Object
57
+ _pageSettings: Object,
58
+ _productBarcode: String
58
59
  }
59
60
  }
60
61
 
@@ -299,6 +300,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
299
300
  @keypress="${async e => {
300
301
  if (e.keyCode === 13) {
301
302
  e.preventDefault()
303
+ this._productBarcode = this.productBarcodeInput.value
302
304
  await this._transactionHandler(e)
303
305
  }
304
306
  }}"
@@ -1074,7 +1076,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1074
1076
  `,
1075
1077
  variables: {
1076
1078
  worksheetDetailName: this._selectedOrderProduct.name,
1077
- productBarcode: this.productBarcodeInput.value.trim(),
1079
+ productBarcode: this._productBarcode,
1078
1080
  inventory: {
1079
1081
  palletId: this._enableCartonLabel ? null : this.lotInput.value.trim(),
1080
1082
  cartonId: this._enableCartonLabel ? this.cartonInput.value.trim() : null,
@@ -1220,7 +1222,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1220
1222
  expirationDate: this._isRequiredCheckExpiry ? this.expDateInput.value : null,
1221
1223
  reusablePallet: this._usingReusablePallet ? this._reusablePallet : null
1222
1224
  },
1223
- productBarcode: this._enableProductScanning ? this.productBarcodeInput?.value : null
1225
+ productBarcode: this._enableProductScanning ? this._productBarcode : null
1224
1226
  }
1225
1227
  })
1226
1228
  if (!response.errors) {
@@ -1302,11 +1304,12 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1302
1304
 
1303
1305
  async _checkedScannedProduct() {
1304
1306
  //fetch any product details that has entered gtin
1305
- const response = await this.fetchProductDetails(this.productBarcodeInput?.value.trim() || '', '')
1307
+ const response = await this.fetchProductDetails(this._productBarcode || '')
1306
1308
 
1307
1309
  if (!response.errors) {
1308
1310
  let orderProductData = this.orderProductData.records
1309
1311
  let checkedProductDetails = response.data.checkGtin.items
1312
+ this.productBarcodeInput.value = `${checkedProductDetails[0].gtin} (${checkedProductDetails[0].packingType})`
1310
1313
 
1311
1314
  //check from grist if any is matched
1312
1315
  const foundOrderProducts = orderProductData.filter(op => {
@@ -83,6 +83,7 @@ class AddExtraInventoryPopup extends localize(i18next)(LitElement) {
83
83
  if (this.inspectedBatchNoInput) this.inspectedBatchNoInput.value = ''
84
84
  if (this.inspectedQtyInput) this.inspectedQtyInput.value = ''
85
85
  if (this.inspectedUomValueInput) this.inspectedUomValueInput.value = ''
86
+ this.inspectedExpirationDate = ''
86
87
  this.productDetailId = ''
87
88
  this.productId = ''
88
89
  }
@@ -113,6 +114,10 @@ class AddExtraInventoryPopup extends localize(i18next)(LitElement) {
113
114
  return this.shadowRoot.querySelector('input[name=inspectedUomValue]')
114
115
  }
115
116
 
117
+ get inspectedExpirationDateInput() {
118
+ return this.shadowRoot.querySelector('input[name=inspectedExpirationDate]')
119
+ }
120
+
116
121
  render() {
117
122
  return html`
118
123
  <form
@@ -136,6 +141,8 @@ class AddExtraInventoryPopup extends localize(i18next)(LitElement) {
136
141
  <input name="inspectedBatchNo" type="text" .value=${this.inspectedBatchNo} custom-input />
137
142
  <label>${i18next.t('label.inspected_qty')}</label>
138
143
  <input name="inspectedQty" type="text" .value=${this.inspectedQty} custom-input />
144
+ <label>${i18next.t('label.inspected_expiration_date')}</label>
145
+ <input name="inspectedExpirationDate" type="date" .value=${this.inspectedExpirationDate} custom-input />
139
146
  ${!this.enableCartonLabel
140
147
  ? html`
141
148
  <label>${i18next.t('label.inspected_uom_value')} </label>
@@ -187,6 +194,7 @@ class AddExtraInventoryPopup extends localize(i18next)(LitElement) {
187
194
  try {
188
195
  await this._validateInput()
189
196
  let inspectedBatchNo = this.inspectedBatchNoInput.value
197
+ let inspectedExpirationDate = this.inspectedExpirationDateInput.value
190
198
  let inspectedQty = Number(this.inspectedQtyInput.value)
191
199
  let inspectedUomValue = this.enableCartonLabel ? inspectedQty : Number(this.inspectedUomValueInput.value)
192
200
  let inspectedLocation = this.inspectedLocationInput.value
@@ -205,6 +213,7 @@ class AddExtraInventoryPopup extends localize(i18next)(LitElement) {
205
213
  $inspectedQty: Int!
206
214
  $inspectedUomValue: Float!
207
215
  $countNo: Int!
216
+ $inspectedExpirationDate: Date
208
217
  ) {
209
218
  addExtraInventory(
210
219
  cycleCountNo: $cycleCountNo
@@ -215,6 +224,7 @@ class AddExtraInventoryPopup extends localize(i18next)(LitElement) {
215
224
  inspectedQty: $inspectedQty
216
225
  inspectedUomValue: $inspectedUomValue
217
226
  countNo: $countNo
227
+ inspectedExpirationDate: $inspectedExpirationDate
218
228
  )
219
229
  }
220
230
  `,
@@ -226,7 +236,8 @@ class AddExtraInventoryPopup extends localize(i18next)(LitElement) {
226
236
  inspectedBatchNo,
227
237
  inspectedQty,
228
238
  inspectedUomValue,
229
- countNo
239
+ countNo,
240
+ inspectedExpirationDate
230
241
  }
231
242
  })
232
243
  this.dispatchEvent(new CustomEvent('add-inventory', {}))
@@ -103,6 +103,10 @@ class CreateCycleCount extends localize(i18next)(PageView) {
103
103
  return this.shadowRoot.querySelector('input[name=executionDate]')
104
104
  }
105
105
 
106
+ get lockInventoryField(){
107
+ return this.shadowRoot.querySelector('input[name=lockedQty]')
108
+ }
109
+
106
110
  get limitField() {
107
111
  return this.shadowRoot.querySelector('input[name=limit]')
108
112
  }
@@ -424,6 +428,9 @@ class CreateCycleCount extends localize(i18next)(PageView) {
424
428
 
425
429
  <label>${i18next.t('label.execute_date')}</label>
426
430
  <input name="executionDate" type="date" min="${this._getStdDate()}" required />
431
+
432
+ <input type="checkbox" name="lockedQty">
433
+ <label>${i18next.t('label.locked_qty')}</label>
427
434
  </fieldset>
428
435
  <fieldset>
429
436
  <legend>${i18next.t('title.cycle_count_configuration')}</legend>
@@ -524,7 +531,8 @@ class CreateCycleCount extends localize(i18next)(PageView) {
524
531
  this._bizplaceId,
525
532
  this.date.value,
526
533
  limit ? parseInt(limit) : null,
527
- this?.locationData?.records
534
+ this?.locationData?.records,
535
+ this.lockInventoryField.checked,
528
536
  )
529
537
 
530
538
  if (worksheetNo) {
@@ -632,7 +640,7 @@ class CreateCycleCount extends localize(i18next)(PageView) {
632
640
  }
633
641
  }
634
642
 
635
- async generateCycleCountWorksheet(customerId, executionDate, limit, selectedLocation) {
643
+ async generateCycleCountWorksheet(customerId, executionDate, limit, selectedLocation, lockInventory) {
636
644
  let inventoryCheckItems = []
637
645
  // let selectedLocation = null // Initialize selectedLocation
638
646
 
@@ -657,6 +665,7 @@ class CreateCycleCount extends localize(i18next)(PageView) {
657
665
  $inventoryCheckItems: [InventoryCheckItemPatch]
658
666
  $limit: Int
659
667
  $selectedLocation: [String]!
668
+ $lockInventory: Boolean
660
669
  ) {
661
670
  generateCycleCountWorksheet(
662
671
  executionDate: $executionDate
@@ -664,12 +673,13 @@ class CreateCycleCount extends localize(i18next)(PageView) {
664
673
  inventoryCheckItems: $inventoryCheckItems
665
674
  limit: $limit
666
675
  selectedLocation: $selectedLocation
676
+ lockInventory: $lockInventory
667
677
  ) {
668
678
  name
669
679
  }
670
680
  }
671
681
  `,
672
- variables: { executionDate, customerId, inventoryCheckItems, limit, selectedLocation }
682
+ variables: { executionDate, customerId, inventoryCheckItems, limit, selectedLocation, lockInventory }
673
683
  })
674
684
 
675
685
  if (!response.errors) {
@@ -5,6 +5,7 @@ import { isMobileDevice } from '@things-factory/utils'
5
5
  import gql from 'graphql-tag'
6
6
  import { css, html, LitElement } from 'lit-element'
7
7
  import { ScrollbarStyles } from '@things-factory/styles'
8
+ import { inspect } from '../../../config.development'
8
9
 
9
10
  class CycleCountInventoryDetailsPopup extends localize(i18next)(LitElement) {
10
11
  static get styles() {
@@ -171,6 +172,18 @@ class CycleCountInventoryDetailsPopup extends localize(i18next)(LitElement) {
171
172
  name: 'inspectedUomValue',
172
173
  header: i18next.t('field.inspected_uom_value'),
173
174
  width: 200
175
+ },
176
+ {
177
+ type: 'string',
178
+ name: 'originExpirationDate',
179
+ header: i18next.t('field.system_expiration_date'),
180
+ width: 200
181
+ },
182
+ {
183
+ type: 'string',
184
+ name: 'inspectedExpirationDate',
185
+ header: i18next.t('field.inspected_expiration_date'),
186
+ width: 200
174
187
  }
175
188
  ]
176
189
  }
@@ -206,6 +219,8 @@ class CycleCountInventoryDetailsPopup extends localize(i18next)(LitElement) {
206
219
  countNo
207
220
  originBatchNo
208
221
  inspectedBatchNo
222
+ systemExpiryDate
223
+ inspectedExpiryDate
209
224
  originLocation {
210
225
  id
211
226
  name
@@ -251,7 +266,9 @@ class CycleCountInventoryDetailsPopup extends localize(i18next)(LitElement) {
251
266
  originLocationName: itm.originLocation ? itm.originLocation.name : null,
252
267
  inspectedLocationName: itm.inspectedLocation ? itm.inspectedLocation.name : null,
253
268
  originUomValue: itm.originUomValue,
254
- inspectedUomValue: itm.inspectedUomValue
269
+ inspectedUomValue: itm.inspectedUomValue,
270
+ originExpirationDate: itm.systemExpiryDate,
271
+ inspectedExpirationDate: itm.inspectedExpiryDate
255
272
  }
256
273
  }) || []
257
274
  }
@@ -179,6 +179,18 @@ class CycleCountRecheckPopup extends localize(i18next)(LitElement) {
179
179
  header: i18next.t('field.inspected_location'),
180
180
  width: 120
181
181
  },
182
+ {
183
+ type: 'string',
184
+ name: 'originExpirationDate',
185
+ header: i18next.t('field.system_expiration_date'),
186
+ width: 120
187
+ },
188
+ {
189
+ type: 'string',
190
+ name: 'inspectedExpirationDate',
191
+ header: i18next.t('field.inspected_expiration_date'),
192
+ width: 120
193
+ },
182
194
  {
183
195
  type: 'integer',
184
196
  name: 'qty',
@@ -266,6 +278,8 @@ class CycleCountRecheckPopup extends localize(i18next)(LitElement) {
266
278
  inspectedQty
267
279
  originUomValue
268
280
  inspectedUomValue
281
+ systemExpiryDate
282
+ inspectedExpiryDate
269
283
  status
270
284
  countNo
271
285
  product {
@@ -303,6 +317,8 @@ class CycleCountRecheckPopup extends localize(i18next)(LitElement) {
303
317
  inspectedLocation: targetInv.inspectedLocation || '',
304
318
  qty: targetInv?.originQty,
305
319
  inspectedQty: targetInv?.inspectedQty,
320
+ originExpirationDate: targetInv?.systemExpiryDate,
321
+ inspectedExpirationDate: targetInv?.inspectedExpiryDate,
306
322
  uomValue: targetInv.originUomValue,
307
323
  uom: targetInv?.inventory && targetInv.inventory?.uom,
308
324
  inspectedUomValue: targetInv.inspectedUomValue,
@@ -249,6 +249,15 @@ class CycleCountReport extends connect(store)(localize(i18next)(PageView)) {
249
249
  return `<input type="checkbox" ${value ? 'checked' : ''} disabled/>`
250
250
  }
251
251
  },
252
+ {
253
+ type: 'boolean',
254
+ name: 'expirationDateVariance',
255
+ header: i18next.t('field.expiration_date_variance'),
256
+ width: 150,
257
+ renderer: value => {
258
+ return `<input type="checkbox" ${value ? 'checked' : ''} disabled/>`
259
+ }
260
+ },
252
261
  {
253
262
  type: 'boolean',
254
263
  name: 'locationVariance',
@@ -365,6 +374,7 @@ class CycleCountReport extends connect(store)(localize(i18next)(PageView)) {
365
374
  batchNoVariance
366
375
  locationVariance
367
376
  uomValueVariance
377
+ expirationDateVariance
368
378
  countVariance
369
379
  countStatus
370
380
  company
@@ -478,6 +488,7 @@ class CycleCountReport extends connect(store)(localize(i18next)(PageView)) {
478
488
  batchNoVariance: item.batchNoVariance,
479
489
  locationVariance: item.locationVariance,
480
490
  uomValueVariance: item.uomValueVariance,
491
+ expirationDateVariance: item.expirationDateVariance,
481
492
  countVariance,
482
493
  countStatus,
483
494
  company: item.company,
@@ -264,6 +264,18 @@ class CycleCountReview extends localize(i18next)(PageView) {
264
264
  header: i18next.t('field.inspected_batch_no'),
265
265
  width: 140
266
266
  },
267
+ {
268
+ type: 'string',
269
+ name: 'originExpirationDate',
270
+ header: i18next.t('field.system_expiration_date'),
271
+ width: 120
272
+ },
273
+ {
274
+ type: 'string',
275
+ name: 'inspectedExpirationDate',
276
+ header: i18next.t('field.inspected_expiration_date'),
277
+ width: 120
278
+ },
267
279
  {
268
280
  type: 'string',
269
281
  name: 'locationName',
@@ -281,6 +293,11 @@ class CycleCountReview extends localize(i18next)(PageView) {
281
293
  name: 'qty',
282
294
  header: i18next.t('field.system_qty'),
283
295
  width: 120
296
+ }, {
297
+ type: 'integer',
298
+ name: 'originalQty',
299
+ header: i18next.t('field.original_qty'),
300
+ width: 120
284
301
  },
285
302
  {
286
303
  type: 'integer',
@@ -463,6 +480,8 @@ class CycleCountReview extends localize(i18next)(PageView) {
463
480
  inspectedQty
464
481
  originUomValue
465
482
  inspectedUomValue
483
+ systemExpiryDate
484
+ inspectedExpiryDate
466
485
  originLocation {
467
486
  id
468
487
  name
@@ -485,6 +504,7 @@ class CycleCountReview extends localize(i18next)(PageView) {
485
504
  description
486
505
  }
487
506
  inventory {
507
+ qty
488
508
  cartonId
489
509
  palletId
490
510
  packingType
@@ -544,11 +564,14 @@ class CycleCountReview extends localize(i18next)(PageView) {
544
564
  palletId: inventoryItem?.palletId,
545
565
  batchId: targetItem.originBatchNo,
546
566
  inspectedBatchNo: targetItem.inspectedBatchNo,
547
- qty: targetItem?.originQty,
567
+ qty: inventoryItem?.qty,
568
+ originalQty: targetItem?.originQty,
548
569
  inspectedQty: targetItem?.inspectedQty,
549
570
  uomValue: targetItem?.originUomValue,
550
571
  inspectedUomValue: targetItem?.inspectedUomValue,
551
572
  uom: inventoryItem?.uom ? inventoryItem?.uom : targetItem.productDetail?.uom,
573
+ originExpirationDate: targetItem?.systemExpiryDate,
574
+ inspectedExpirationDate: targetItem?.inspectedExpiryDate,
552
575
  inspectedLocation: targetItem.inspectedLocation?.name,
553
576
  packingType: inventoryItem?.packingType ? inventoryItem.packingType : targetItem.packingType,
554
577
  inspectedStatus: targetItem.status,
@@ -270,6 +270,19 @@ class CycleCountWorksheetList extends localize(i18next)(PageView) {
270
270
  type: 'datetime'
271
271
  }
272
272
  },
273
+ {
274
+ type: 'datetime',
275
+ name: 'updatedAt',
276
+ header: i18next.t('field.updated_at'),
277
+ sortable: true,
278
+ width: 160,
279
+ imex: {
280
+ header: i18next.t('field.updated_at'),
281
+ key: 'updatedAt',
282
+ width: 30,
283
+ type: 'datetime'
284
+ }
285
+ },
273
286
  {
274
287
  type: 'object',
275
288
  name: 'updater',
@@ -337,6 +350,7 @@ class CycleCountWorksheetList extends localize(i18next)(PageView) {
337
350
  status
338
351
  startedAt
339
352
  createdAt
353
+ updatedAt
340
354
  endedAt
341
355
  updater {
342
356
  name
@@ -28,6 +28,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
28
28
  cartonId: String,
29
29
  palletId: String,
30
30
  inventoryCheckItemStatus: String,
31
+ locationFilter: Object,
31
32
  countNo: Number,
32
33
  isReleasing: Boolean,
33
34
  _hideCCColumnSetting: Boolean,
@@ -37,6 +38,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
37
38
  _editedCard: Object,
38
39
  _pageSettings: Object,
39
40
  _enableCartonLabel: Boolean,
41
+ locationInfo: Array,
40
42
  bizplaceId: String,
41
43
  worksheetName: String
42
44
  }
@@ -125,6 +127,9 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
125
127
  font-size: large;
126
128
  color: rgb(49, 90, 118);
127
129
  }
130
+ .hidden {
131
+ display: none;
132
+ }
128
133
  .input-font {
129
134
  font-weight: normal;
130
135
  font-size: 16px;
@@ -149,7 +154,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
149
154
  this.clearView()
150
155
  this.updateContext()
151
156
  this.cycleCountNo = this.cycleCountNoInput.value
152
- this.fetchCycleCountWorksheet()
157
+ await this.fetchCycleCountWorksheet()
153
158
  }
154
159
  }
155
160
  }}"
@@ -182,6 +187,77 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
182
187
  }}"
183
188
  ></barcode-scanable-input>
184
189
 
190
+ <label style="color: #ffffff">${i18next.t('label.zone')}</label>
191
+ <select
192
+ name="zone"
193
+ @change="${async e => {
194
+ const zone = e.target.value
195
+ if (zone === 'none') {
196
+ delete this.locationFilter.zone
197
+ } else {
198
+ this.locationFilter.zone = zone
199
+ }
200
+ await this.fetchCycleCountWorksheet()
201
+ }}"
202
+ >
203
+ <option value="">-- Select Zone --</option>
204
+ <option value="none"></option>
205
+ ${this.locationInfo?.zone?.map(itm => html` <option value=${itm}>${itm}</option> `)}
206
+ </select>
207
+
208
+ <label style="color: #ffffff">${i18next.t('label.row')}</label>
209
+ <select
210
+ name="row"
211
+ @change="${async e => {
212
+ const row = e.target.value
213
+ if (row === 'none') {
214
+ delete this.locationFilter.row
215
+ } else {
216
+ this.locationFilter.row = row
217
+ }
218
+ await this.fetchCycleCountWorksheet()
219
+ }}"
220
+ >
221
+ <option value="">-- Select Row --</option>
222
+ <option value="none"></option>
223
+ ${this.locationInfo?.row.map(itm => html` <option value=${itm}>${itm}</option> `)}
224
+ </select>
225
+ <label style="color: #ffffff">${i18next.t('label.column')}</label>
226
+ <select
227
+ name="column"
228
+ @change="${async e => {
229
+ const column = e.target.value
230
+ if (column === 'none') {
231
+ delete this.locationFilter.column
232
+ } else {
233
+ this.locationFilter.column = column
234
+ }
235
+ await this.fetchCycleCountWorksheet()
236
+ }}"
237
+ >
238
+ <option value="">-- Select Column --</option>
239
+ <option value="none"></option>
240
+ ${this.locationInfo?.column?.map(itm => html` <option value=${itm}>${itm}</option> `)}
241
+ </select>
242
+
243
+ <label style="color: #ffffff">${i18next.t('label.shelf')}</label>
244
+ <select
245
+ name="shelf"
246
+ @change="${async e => {
247
+ const shelf = e.target.value
248
+ if (shelf === 'none') {
249
+ delete this.locationFilter.shelf
250
+ } else {
251
+ this.locationFilter.shelf = shelf
252
+ }
253
+ await this.fetchCycleCountWorksheet()
254
+ }}"
255
+ >
256
+ <option value="">-- Select Shelf --</option>
257
+ <option value="none"></option>
258
+ ${this.locationInfo?.shelf?.map(itm => html`<option value=${itm}>${itm}</option>`)}
259
+
260
+ </select>
185
261
  ${
186
262
  this._enableCartonLabel
187
263
  ? html`
@@ -245,7 +321,6 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
245
321
  @change="${async e => {
246
322
  this.inventoryCheckItemStatus = e.target.value
247
323
  this._arrayIndex = 0
248
- this.updateContext({ inventoryCheckItemStatus: e.target.value })
249
324
  await this.fetchCycleCountWorksheet()
250
325
  }}"
251
326
  >
@@ -360,6 +435,30 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
360
435
  ></mwc-icon-button>
361
436
  </span>
362
437
  <br />
438
+ <label>${i18next.t('label.inspected_expiration_date')}
439
+ </label>
440
+ <br />
441
+ <span class="input-font" ?hidden=${this._editMode.inspectedExpirationDate}>
442
+ ${this._currentCard.inspectedExpirationDate}
443
+ <mwc-icon-button
444
+ icon="edit"
445
+ align="end"
446
+ @click=${() => this._enableEditMode('inspectedExpirationDate')}
447
+ ></mwc-icon-button>
448
+ </span>
449
+ <span ?hidden=${!this._editMode.inspectedExpirationDate}>
450
+ <input type="date"
451
+ .value=${this._editedCard.inspectedExpirationDate}
452
+ @input=${e => this._handleEditInput('inspectedExpirationDate', e.target.value)}
453
+ />
454
+ <mwc-icon-button icon="save" @click=${() =>
455
+ this._saveEdit('inspectedExpirationDate')}></mwc-icon-button>
456
+ <mwc-icon-button
457
+ icon="cancel"
458
+ @click=${() => this._disableEditMode('inspectedExpirationDate')}
459
+ ></mwc-icon-button>
460
+ </span>
461
+ <br />
363
462
  <label>${i18next.t('label.inspected_qty')}
364
463
  </label>
365
464
  <br />
@@ -438,6 +537,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
438
537
  this.locationSortingRules = []
439
538
  this._hideCCColumnSetting = false
440
539
  this._selectedInventoryCheckItem = null
540
+ this.locationFilter
441
541
  this.data = { records: [] }
442
542
  this._enableCartonLabel = false
443
543
  this._currentCard = {
@@ -446,7 +546,8 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
446
546
  this._editMode = {
447
547
  inspectedBatchNo: false,
448
548
  inspectedQty: false,
449
- inspectedUomValue: false
549
+ inspectedUomValue: false,
550
+ inspectedExpirationDate: false
450
551
  }
451
552
  this._editedCard = {}
452
553
  this._arrayIndex = 0
@@ -570,7 +671,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
570
671
 
571
672
  const response = await client.query({
572
673
  query: gql`
573
- query ${worksheetQuery}($inventoryCheckNo: String!, $locationSortingRules: [Sorting], $locationName: String, $cartonId: String, $palletId: String, $inventoryCheckItemStatus: String) {
674
+ query ${worksheetQuery}($inventoryCheckNo: String!, $locationSortingRules: [Sorting], $locationName: String, $cartonId: String, $palletId: String, $inventoryCheckItemStatus: String, $locationFilter : LocationFilter) {
574
675
  ${worksheetQuery}(
575
676
  inventoryCheckNo: $inventoryCheckNo
576
677
  locationSortingRules: $locationSortingRules
@@ -578,6 +679,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
578
679
  cartonId: $cartonId
579
680
  palletId: $palletId
580
681
  inventoryCheckItemStatus: $inventoryCheckItemStatus
682
+ locationFilter : $locationFilter
581
683
  ) {
582
684
  worksheetInfo {
583
685
  name
@@ -607,6 +709,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
607
709
  inspectedBatchNo
608
710
  inspectedQty
609
711
  inspectedUomValue
712
+ inspectedExpirationDate
610
713
  inspectedLocation {
611
714
  id
612
715
  name
@@ -636,6 +739,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
636
739
  zone
637
740
  column
638
741
  row
742
+ shelf
639
743
  }
640
744
  relatedInvCheckItem {
641
745
  originBatchNo
@@ -656,7 +760,8 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
656
760
  locationName: this.locationName,
657
761
  cartonId: this.cartonId,
658
762
  palletId: this.palletId,
659
- inventoryCheckItemStatus: this.inventoryCheckItemStatus
763
+ inventoryCheckItemStatus: this.inventoryCheckItemStatus,
764
+ locationFilter: this.locationFilter
660
765
  }
661
766
  })
662
767
 
@@ -668,6 +773,28 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
668
773
  this.bizplaceName = worksheetInfo.bizplace.name
669
774
  this.bizplaceId = worksheetInfo.bizplace.id
670
775
  this.worksheetStatus = worksheetInfo.status
776
+ let mappedLocationInfo = data => {
777
+ const location = data.reduce(
778
+ (tot, itm) => {
779
+ tot.zone.add(itm.zone), tot.column.add(itm.column), tot.row.add(itm.row), tot.shelf.add(itm.shelf)
780
+ return tot
781
+ },
782
+ {
783
+ zone: new Set(),
784
+ column: new Set(),
785
+ row: new Set(),
786
+ shelf: new Set()
787
+ }
788
+ )
789
+
790
+ location.zone = Array.from(location.zone)
791
+ location.column = Array.from(location.column)
792
+ location.row = Array.from(location.row)
793
+ location.shelf = Array.from(location.shelf)
794
+
795
+ return location
796
+ }
797
+ this.locationInfo = mappedLocationInfo(worksheetDetailInfos.map(item => item.location))
671
798
 
672
799
  // Fetch settings in parallel
673
800
  const [enableCartonLabel, hideCCColumnSetting] = await Promise.all([
@@ -743,6 +870,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
743
870
  originLocation,
744
871
  inspectedBatchNo,
745
872
  inspectedUomValue,
873
+ inspectedExpirationDate,
746
874
  inspectedLocation,
747
875
  relatedInvCheckItem,
748
876
  status,
@@ -758,6 +886,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
758
886
  originLocation: originLocation?.name || null,
759
887
  inspectedBatchNo: inspectedBatchNo || '',
760
888
  inspectedUomValue: inspectedUomValue,
889
+ inspectedExpirationDate: inspectedExpirationDate || null,
761
890
  inspectedLocation: inspectedLocation?.name || null,
762
891
  inventoryCheckItemStatus: relatedInvCheckItem?.status,
763
892
  countNo: relatedInvCheckItem?.countNo,
@@ -805,6 +934,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
805
934
  name,
806
935
  inspectedQty: rawInspectedQty,
807
936
  inspectedUomValue: rawInspectedUomValue,
937
+ inspectedExpirationDate,
808
938
  cartonId,
809
939
  palletId,
810
940
  productDetailId,
@@ -822,6 +952,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
822
952
  const variables = {
823
953
  inspectedBatchNo: currentCard.inspectedBatchNo,
824
954
  inspectedQty,
955
+ inspectedExpirationDate,
825
956
  inspectedUomValue
826
957
  }
827
958
 
@@ -837,12 +968,14 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
837
968
  $inspectedBatchNo: String!
838
969
  $inspectedQty: Int!
839
970
  $inspectedUomValue: Float!
971
+ $inspectedExpirationDate: Date
840
972
  ) {
841
973
  inspectingPallet(
842
974
  worksheetDetailName: $worksheetDetailName
843
975
  inspectedBatchNo: $inspectedBatchNo
844
976
  inspectedQty: $inspectedQty
845
977
  inspectedUomValue: $inspectedUomValue
978
+ inspectedExpirationDate: $inspectedExpirationDate
846
979
  )
847
980
  }
848
981
  `,
@@ -866,6 +999,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
866
999
  $inspectedBatchNo: String!
867
1000
  $inspectedQty: Int!
868
1001
  $inspectedUomValue: Float!
1002
+ $inspectedExpirationDate: Date
869
1003
  ) {
870
1004
  inspectingCarton(
871
1005
  productDetailId: $productDetailId
@@ -875,6 +1009,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
875
1009
  inspectedBatchNo: $inspectedBatchNo
876
1010
  inspectedQty: $inspectedQty
877
1011
  inspectedUomValue: $inspectedUomValue
1012
+ inspectedExpirationDate: $inspectedExpirationDate
878
1013
  )
879
1014
  }
880
1015
  `,
@@ -961,6 +1096,12 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
961
1096
 
962
1097
  fillUpForm(form, data) {
963
1098
  form.reset()
1099
+ //prevent form from reseting the values of the location filter
1100
+ if (Object.keys(this.locationFilter).length > 0) {
1101
+ Object.entries(this.locationFilter).forEach(([key, value]) => {
1102
+ form.elements[key].value = value
1103
+ })
1104
+ }
964
1105
  for (let key in data) {
965
1106
  Array.from(form.querySelectorAll('input')).forEach(field => {
966
1107
  if (field.name === key && field.type === 'checkbox') {
@@ -982,7 +1123,8 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
982
1123
  }
983
1124
 
984
1125
  async checkInputFormValidity() {
985
- let { inspectedBatchNo, inspectedQty, inspectedUomValue, cartonId, palletId } = this._currentCard
1126
+ let { inspectedBatchNo, inspectedQty, inspectedUomValue, inspectedExpirationDate, cartonId, palletId } =
1127
+ this._currentCard
986
1128
  inspectedQty = Number(inspectedQty)
987
1129
 
988
1130
  // If the currentCard has both a cartonId and a palletId, set inspectedUomValue to be the same as inspectedQty
@@ -1004,6 +1146,14 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
1004
1146
  throw new Error(i18next.t('text.invalid_x', { state: { x: i18next.t('field.inspected_qty') } }))
1005
1147
  }
1006
1148
 
1149
+ if (inspectedExpirationDate) {
1150
+ let getYear = parseInt(inspectedExpirationDate?.slice(0, 4))
1151
+
1152
+ if (getYear > 9999) {
1153
+ throw new Error(i18next.t('text.please_enter_the_correct_date_format'))
1154
+ }
1155
+ }
1156
+
1007
1157
  if (inspectedQty <= 0) {
1008
1158
  throw new Error(i18next.t('text.x_should_be_positive', { state: { x: i18next.t('field.inspected_qty') } }))
1009
1159
  }
@@ -1337,6 +1487,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
1337
1487
  this.locationName = null
1338
1488
  this.cartonId = null
1339
1489
  this.palletId = null
1490
+ this.locationFilter = {}
1340
1491
  this.inventoryCheckItemStatus = null
1341
1492
  this._currentCard = {
1342
1493
  checkedInventoryCount: 0
@@ -236,7 +236,7 @@ class InventoryCheckList extends localize(i18next)(PageView) {
236
236
  return this.searchForm.shadowRoot.querySelector('input[name=bizplace]')
237
237
  }
238
238
 
239
- async fetchHandler({ page, limit, sorters = [{ name: 'createdAt', desc: true }] }) {
239
+ async fetchHandler({ page, limit, sorters = [{ name: 'updatedAt', desc: true }] }) {
240
240
  const filters = await this.searchForm.getQueryFilters()
241
241
 
242
242
  const pagination = { page, limit }
@@ -186,7 +186,7 @@ class WorksheetCycleCount extends localize(i18next)(PageView) {
186
186
  list: {
187
187
  fields: ['batchId', 'cartonId', 'palletId', 'sku', 'product', 'location', 'status']
188
188
  },
189
- pagination: { infinite: true },
189
+ pagination: { limit: 100, pages: [20, 50, 100, 200, 500] },
190
190
  columns: [
191
191
  { type: 'gutter', gutterName: 'sequence' },
192
192
  {
@@ -284,7 +284,7 @@ class WorksheetCycleCount extends localize(i18next)(PageView) {
284
284
  return this.shadowRoot.querySelector('data-grist')
285
285
  }
286
286
 
287
- async fetchWorksheet() {
287
+ async fetchWorksheet({page, limit}) {
288
288
  if (!this._worksheetNo) return
289
289
  const response = await client.query({
290
290
  query: gql`
@@ -347,7 +347,7 @@ class WorksheetCycleCount extends localize(i18next)(PageView) {
347
347
  `,
348
348
  variables: {
349
349
  name: this._worksheetNo,
350
- pagination: {}
350
+ pagination: {page, limit}
351
351
  }
352
352
  })
353
353
 
@@ -460,9 +460,14 @@ class DraftReleaseGoodList extends localize(i18next)(PageView) {
460
460
  })
461
461
 
462
462
  if (!response.errors) {
463
- this.dataGrist.fetch()
463
+ if (response.data.generateReleaseGoodsfromDraft.length < 1) {
464
+ this._showToast({ message: i18next.t('text.release_order(s)_has_been_generated') })
465
+ } else {
466
+ const draftNames = response.data.generateReleaseGoodsfromDraft.map(order => order.draftName).join(', ')
467
+ throw new Error(`unable to release ${draftNames} due to insufficient quantity`)
468
+ }
464
469
 
465
- this._showToast({ message: i18next.t('text.release_order(s)_has_been_generated') })
470
+ this.dataGrist.fetch()
466
471
  }
467
472
  } catch (e) {
468
473
  this._showToast(e)
@@ -518,6 +518,7 @@ class RouteLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
518
518
  let index = 1
519
519
  for (let record of records) {
520
520
  let max = record.releaseQty ? record.releaseQty / record.packingSize : 1
521
+ let commands
521
522
  for (let qty = 1; qty <= max; qty++) {
522
523
  let searchParams = new URLSearchParams()
523
524
 
@@ -562,8 +563,7 @@ class RouteLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
562
563
  this.printer = new DirectPrinter()
563
564
  }
564
565
 
565
- await this.printer.print(command)
566
- setTimeout(50)
566
+ commands += command + ' '
567
567
  } catch (e) {
568
568
  this._showToast(e)
569
569
 
@@ -571,7 +571,9 @@ class RouteLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
571
571
  break
572
572
  }
573
573
  }
574
+ this.printer.print(commands)
574
575
  index++
576
+ setTimeout(50)
575
577
  }
576
578
  }
577
579
  }
@@ -43,6 +43,8 @@ exports.cycleCountReport = {
43
43
  ici.origin_uom_value as "origin_uom_value",
44
44
  ici.inspected_uom_value as "inspected_uom_value",
45
45
  ici.origin_location_id as "origin_location_id",
46
+ ici.origin_expiration_date as "origin_expiration_date",
47
+ ici.inspected_expiration_date as "inspected_expiration_date",
46
48
  l.name as "origin_location_name",
47
49
  ici.inspected_location_id as "inspected_location_id",
48
50
  l2.name as "inspected_location_name",
@@ -160,7 +162,12 @@ exports.cycleCountReport = {
160
162
  WHEN (COALESCE(first_count.origin_uom_value, 0) <> COALESCE(f.inspected_uom_value, 0))
161
163
  THEN true
162
164
  ELSE false
163
- END AS "UomValueVariance"
165
+ END AS "UomValueVariance",
166
+ CASE
167
+ WHEN (COALESCE(first_count.origin_expiration_date, '1900-01-01') <> COALESCE(f.inspected_expiration_date, '1900-01-01'))
168
+ THEN true
169
+ ELSE false
170
+ END AS "ExpirationDateVariance"
164
171
  FROM temp_fixed_columns f
165
172
  INNER JOIN (
166
173
  SELECT
@@ -170,7 +177,8 @@ exports.cycleCountReport = {
170
177
  origin_batch_no,
171
178
  origin_location_id,
172
179
  origin_location_name,
173
- origin_uom_value
180
+ origin_uom_value,
181
+ origin_expiration_date
174
182
  FROM temp_fixed_columns
175
183
  WHERE count_no = 1
176
184
  ) first_count ON f.inventory_id = first_count.inventory_id
@@ -244,6 +252,7 @@ exports.cycleCountReport = {
244
252
  batchNoVariance: itm.BatchNoVariance,
245
253
  locationVariance: itm.LocationVariance,
246
254
  uomValueVariance: itm.UomValueVariance,
255
+ expirationDateVariance: itm.ExpirationDateVariance,
247
256
  finalCount: itm.final_count,
248
257
  countVariance: itm.final_count - itm.origin_qty,
249
258
  countStatus,
@@ -1 +1 @@
1
- {"version":3,"file":"cycle-count-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/cycle-count-report.ts"],"names":[],"mappings":";;;AAG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,EAAE,GAAG,CAAC,eAAe;wBACpC,gBAAgB,EAAE,GAAG,CAAC,gBAAgB;wBACtC,gBAAgB,EAAE,GAAG,CAAC,gBAAgB;wBACtC,UAAU,EAAE,GAAG,CAAC,WAAW;wBAC3B,aAAa,EAAE,GAAG,CAAC,WAAW,GAAG,GAAG,CAAC,UAAU;wBAC/C,WAAW;wBACX,OAAO,EAAE,GAAG,CAAC,OAAO;wBACpB,eAAe,EAAE,GAAG,CAAC,iBAAiB;qBACvC,CAAA;oBACD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;iBACjB;YACH,CAAC,CAAC,CAAA;YAEF,kDAAkD;YAClD,MAAM,UAAU,GAAG,YAAY,CAAC,IAAI,CAAA;YACpC,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,UAAU;aAClB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"cycle-count-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/cycle-count-report.ts"],"names":[],"mappings":";;;AAGA,2DAA2D;AAG9C,QAAA,gBAAgB,GAAG;IAC9B,KAAK,CAAC,gBAAgB,CAAC,CAAM,EAAE,EAAE,IAAI,EAAoB,EAAE,OAAY;QACrE,IAAI;YACF,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,GAA0C,OAAO,CAAC,KAAK,CAAA;YAE3E,MAAM,UAAU,GAAmB,MAAM,EAAE,CAAC,aAAa,CAAC,2BAAc,CAAC,CAAC,OAAO,CAAC;gBAChF,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;gBACvB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB,CAAC,CAAA;YAEF,MAAM,EAAE,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAA;YAE1D,8CAA8C;YAC9C,MAAM,EAAE,CAAC,KAAK,CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAK,EAAE,UAAU;aAClB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
@@ -18,6 +18,7 @@ exports.CycleCountReport = (0, graphql_tag_1.default) `
18
18
  batchNoVariance: Boolean
19
19
  locationVariance: Boolean
20
20
  uomValueVariance: Boolean
21
+ expirationDateVariance: Boolean
21
22
  finalCount: String
22
23
  countVariance: String
23
24
  countStatus: String
@@ -1 +1 @@
1
- {"version":3,"file":"cycle-count-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/cycle-count-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,gBAAgB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;CAuBlC,CAAA"}
1
+ {"version":3,"file":"cycle-count-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/cycle-count-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,gBAAgB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;CAwBlC,CAAA"}
@@ -2,9 +2,9 @@
2
2
 
3
3
  <div align="center">
4
4
 
5
- ## 6 May Update
5
+ ## 5 August Update
6
6
 
7
- #### V4.3.459 Release Note
7
+ #### V4.3.495 Release Note
8
8
 
9
9
  #### Greetings to all,
10
10
 
@@ -12,14 +12,13 @@
12
12
 
13
13
  <div style="text-align: left; display: inline-block;">
14
14
  <ol>
15
- <li>B2C Manual Order Bulk Upload Enhancement</li>
16
- <li>Auto convert Draft Order to Release Order</li>
15
+ <li>Cycle Count Enhancements</li>
17
16
  </ol>
18
17
  </div>
19
18
 
20
19
  <br>
21
20
  For additional information about the aspects of the release, see the following link
22
- <a href="https://shorturl.at/ANW12">V4.3.459 Release Note</a>
21
+ <a href="https://drive.google.com/file/d/1CP6PbMEaOOHXVwvZgAAhM8GMS3VuJm1N/view">V4.3.495 Release Note</a>
23
22
  <br>
24
23
 
25
24
  Should you have any inquiries, feel free to contact <a href="mailto: support@hatio.asia">support@hatio.asia</a>! Stay safe and positively negative!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.493",
3
+ "version": "4.3.495",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -89,9 +89,9 @@
89
89
  "@things-factory/pdf": "^4.3.381",
90
90
  "@things-factory/print-proxy-service": "^4.3.434",
91
91
  "@things-factory/print-ui": "^4.3.434",
92
- "@things-factory/product-base": "^4.3.452",
92
+ "@things-factory/product-base": "^4.3.495",
93
93
  "@things-factory/resource-ui": "^4.3.452",
94
- "@things-factory/sales-ui": "^4.3.493",
94
+ "@things-factory/sales-ui": "^4.3.495",
95
95
  "@things-factory/scene-data-transform": "^4.3.381",
96
96
  "@things-factory/scene-excel": "^4.3.381",
97
97
  "@things-factory/scene-firebase": "^4.3.381",
@@ -107,8 +107,8 @@
107
107
  "@things-factory/system-ui": "^4.3.434",
108
108
  "@things-factory/transport-base": "^4.3.452",
109
109
  "@things-factory/tutorial-ui": "^4.3.452",
110
- "@things-factory/warehouse-base": "^4.3.493",
111
- "@things-factory/worksheet-base": "^4.3.493"
110
+ "@things-factory/warehouse-base": "^4.3.495",
111
+ "@things-factory/worksheet-base": "^4.3.495"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.381",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "ed124795915f8de6fbb16c284445c774188565b9"
120
+ "gitHead": "51557571939012370cbd8127739730509a17fc5a"
121
121
  }
@@ -49,6 +49,8 @@ export const cycleCountReport = {
49
49
  ici.origin_uom_value as "origin_uom_value",
50
50
  ici.inspected_uom_value as "inspected_uom_value",
51
51
  ici.origin_location_id as "origin_location_id",
52
+ ici.origin_expiration_date as "origin_expiration_date",
53
+ ici.inspected_expiration_date as "inspected_expiration_date",
52
54
  l.name as "origin_location_name",
53
55
  ici.inspected_location_id as "inspected_location_id",
54
56
  l2.name as "inspected_location_name",
@@ -181,7 +183,12 @@ export const cycleCountReport = {
181
183
  WHEN (COALESCE(first_count.origin_uom_value, 0) <> COALESCE(f.inspected_uom_value, 0))
182
184
  THEN true
183
185
  ELSE false
184
- END AS "UomValueVariance"
186
+ END AS "UomValueVariance",
187
+ CASE
188
+ WHEN (COALESCE(first_count.origin_expiration_date, '1900-01-01') <> COALESCE(f.inspected_expiration_date, '1900-01-01'))
189
+ THEN true
190
+ ELSE false
191
+ END AS "ExpirationDateVariance"
185
192
  FROM temp_fixed_columns f
186
193
  INNER JOIN (
187
194
  SELECT
@@ -191,7 +198,8 @@ export const cycleCountReport = {
191
198
  origin_batch_no,
192
199
  origin_location_id,
193
200
  origin_location_name,
194
- origin_uom_value
201
+ origin_uom_value,
202
+ origin_expiration_date
195
203
  FROM temp_fixed_columns
196
204
  WHERE count_no = 1
197
205
  ) first_count ON f.inventory_id = first_count.inventory_id
@@ -268,6 +276,7 @@ export const cycleCountReport = {
268
276
  batchNoVariance: itm.BatchNoVariance,
269
277
  locationVariance: itm.LocationVariance,
270
278
  uomValueVariance: itm.UomValueVariance,
279
+ expirationDateVariance: itm.ExpirationDateVariance,
271
280
  finalCount: itm.final_count,
272
281
  countVariance: itm.final_count - itm.origin_qty,
273
282
  countStatus,
@@ -13,6 +13,7 @@ export const CycleCountReport = gql`
13
13
  batchNoVariance: Boolean
14
14
  locationVariance: Boolean
15
15
  uomValueVariance: Boolean
16
+ expirationDateVariance: Boolean
16
17
  finalCount: String
17
18
  countVariance: String
18
19
  countStatus: String
@@ -319,6 +319,7 @@
319
319
  "field.exp_from_date": "exp from date",
320
320
  "field.exp_to_date": "exp to date",
321
321
  "field.expected_qty": "expected quantity",
322
+ "field.expiration_date_variance": "expiration date variance",
322
323
  "field.expiration_period": "expiration Period",
323
324
  "field.expiration": "expiration",
324
325
  "field.expiring_in": "exp.",
@@ -359,6 +360,7 @@
359
360
  "field.initial_inbound_date": "initial inbound date",
360
361
  "field.initial_inbound_qty": "initial inbound qty",
361
362
  "field.inspected_batch_no": "inspected batch no",
363
+ "field.inspected_expiration_date": "inspected expiration date",
362
364
  "field.inspected_location": "inspected location",
363
365
  "field.inspected_qty": "inspected qty",
364
366
  "field.inspected_status": "inspected status",
@@ -459,6 +461,7 @@
459
461
  "field.order_type": "order type",
460
462
  "field.origin_product": "origin product",
461
463
  "field.original_name": "original name",
464
+ "field.original_qty": "original qty",
462
465
  "field.ot": "O/T",
463
466
  "field.other_target": "other target",
464
467
  "field.out": "out",
@@ -640,6 +643,7 @@
640
643
  "field.supplier_name": "supplier name",
641
644
  "field.supplier": "supplier",
642
645
  "field.system_batch_no": "system batch no",
646
+ "field.system_expiration_date" : "system expiration date",
643
647
  "field.system_location": "system location",
644
648
  "field.system_qty": "system qty",
645
649
  "field.system_remark": "system remark",
@@ -918,6 +922,7 @@
918
922
  "label.imported": "imported",
919
923
  "label.in_queue": "in queue",
920
924
  "label.inspected_batch_no": "inspected batch no",
925
+ "label.inspected_expiration_date": "inspected expiration date",
921
926
  "label.inspected_location": "inspected location",
922
927
  "label.inspected_qty": "inspected qty",
923
928
  "label.inspected_uom_value": "inspected uom value",
@@ -935,6 +940,7 @@
935
940
  "label.location_format": "location format",
936
941
  "label.Location_format": "location format",
937
942
  "label.location": "location",
943
+ "label.locked_qty": "locked qty",
938
944
  "label.loose_item": "loose item",
939
945
  "label.lorry_no": "lorry no.",
940
946
  "label.lot_barcode": "lot barcode",
@@ -313,6 +313,7 @@
313
313
  "field.exp_date": "만료일",
314
314
  "field.exp_from_date": "[ko]exp from date",
315
315
  "field.exp_to_date": "[ko]exp to date",
316
+ "field.expiration_date_variance": "[ko]expiration date variance",
316
317
  "field.expiration_period": "유통가능 기간",
317
318
  "field.expiration": "[ko]expiration",
318
319
  "field.expires_on": "[ko]expires on",
@@ -362,6 +363,7 @@
362
363
  "field.initial_inbound_date": "초기 입고 일",
363
364
  "field.initial_inbound_qty": "초기 입고 수량",
364
365
  "field.inspected_batch_no": "검수 완료 배치 no",
366
+ "field.inspected_expiration_date": "[ko]inspected expiration date",
365
367
  "field.inspected_location": "검수 완료 위치",
366
368
  "field.inspected_qty": "검수 완료 수량",
367
369
  "field.inspected_status": "검수 완료 상태",
@@ -452,6 +454,7 @@
452
454
  "field.order_type": "주문 유형",
453
455
  "field.origin_product": "원제품",
454
456
  "field.original_name": "[ko]original name",
457
+ "field.original_qty": "[ko]original qty",
455
458
  "field.ot": "다른 대상",
456
459
  "field.other_target": "다른 대상",
457
460
  "field.out": "out",
@@ -632,6 +635,7 @@
632
635
  "field.supplier_name": "공급 업체명",
633
636
  "field.supplier": "[ko]supplier",
634
637
  "field.system_batch_no": "[ko] system batch no",
638
+ "field.system_expiration_date" : "[ko]system expiration date",
635
639
  "field.system_location": "시스템 로케이션",
636
640
  "field.system_qty": "시스템 수량",
637
641
  "field.system_remark": "시스템 비고",
@@ -920,6 +924,7 @@
920
924
  "label.imported": "수입",
921
925
  "label.in_queue": "[ko] in queue",
922
926
  "label.inspected_batch_no": "검수 배치 번호",
927
+ "label.inspected_expiration_date": "[ko]inspected expiration date",
923
928
  "label.inspected_location": "검수 로케이션",
924
929
  "label.inspected_qty": "검수 수량",
925
930
  "label.inspected_uom_value": "검수 측량치",
@@ -937,6 +942,7 @@
937
942
  "label.Location_format": "로케이션 포멧",
938
943
  "label.location_format": "로케이션 형식",
939
944
  "label.location": "위치",
945
+ "label.locked_qty": "[ko]locked qty",
940
946
  "label.loose_item": "비포장 상품",
941
947
  "label.lorry_no": "차량 번호",
942
948
  "label.lot_barcode": "lot 바코드",
@@ -300,6 +300,7 @@
300
300
  "field.exp_date": "exp. date",
301
301
  "field.exp_from_date": "[ms] exp from date",
302
302
  "field.exp_to_date": "[ms] exp to date",
303
+ "field.expiration_date_variance": "[ms]expiration date variance",
303
304
  "field.expiration_period": "[ms]Expiration Period",
304
305
  "field.expiration": "[ms] expiration",
305
306
  "field.expires_on": "tamat tempoh pada",
@@ -344,6 +345,7 @@
344
345
  "field.initial_inbound_date": "initial inbound date",
345
346
  "field.initial_inbound_qty": "initial inbound qty",
346
347
  "field.inspected_batch_no": "inspected batch no",
348
+ "field.inspected_expiration_date": "[ms]inspected expiration date",
347
349
  "field.inspected_location": "inspected location",
348
350
  "field.inspected_qty": "inspected qty",
349
351
  "field.inspected_status": "inspected status",
@@ -435,6 +437,7 @@
435
437
  "field.order_type": "jenis pesanan",
436
438
  "field.origin_product": "produk asal",
437
439
  "field.original_name": "nama asal",
440
+ "field.original_qty": "[ms]original qty",
438
441
  "field.ot": "O/T",
439
442
  "field.other_target": "sasaran lain",
440
443
  "field.out": "keluar",
@@ -612,6 +615,7 @@
612
615
  "field.supplier_name": "nama pembekal",
613
616
  "field.supplier": "[ms]supplier",
614
617
  "field.system_batch_no": "[ms] system batch no",
618
+ "field.system_expiration_date" : "[ms]system expiration date",
615
619
  "field.system_location": "lokasi sistem",
616
620
  "field.system_qty": "kuantiti sistem",
617
621
  "field.system_remark": "kenyataan sistem",
@@ -900,6 +904,7 @@
900
904
  "label.imported": "telah diimport",
901
905
  "label.in_queue": "[ms] in queue",
902
906
  "label.inspected_batch_no": "no kumpulan diperiksa",
907
+ "label.inspected_expiration_date": "[ms]inspected expiration date",
903
908
  "label.inspected_location": "lokasi diperiksa",
904
909
  "label.inspected_qty": "kuantiti diperiksa",
905
910
  "label.inspected_uom_value": "nilai uom diperiksa",
@@ -917,6 +922,7 @@
917
922
  "label.location_format": "format lokasi",
918
923
  "label.Location_format": "location format",
919
924
  "label.location": "lokasi",
925
+ "label.locked_qty": "[ms]locked qty",
920
926
  "label.loose_item": "barang dalam seunit",
921
927
  "label.lorry_no": "no. lori",
922
928
  "label.lot_barcode": "barcode lot",
@@ -289,6 +289,7 @@
289
289
  "field.exp_date": "[zh]exp. date",
290
290
  "field.exp_from_date": "[zh] exp from date",
291
291
  "field.exp_to_date": "[zh] exp to date",
292
+ "field.expiration_date_variance": "[zh]expiration date variance",
292
293
  "field.expiration_period": "[zh]Expiration Period",
293
294
  "field.expiration": "[zh] expiration",
294
295
  "field.expiring_in": "[zh]exp.",
@@ -328,6 +329,7 @@
328
329
  "field.initial_inbound_date": "[zh]initial inbound date",
329
330
  "field.initial_inbound_qty": "[zh]initial inbound qty",
330
331
  "field.inspected_batch_no": "[zh]inspected batch no",
332
+ "field.inspected_expiration_date": "[zh]inspected expiration date",
331
333
  "field.inspected_location": "[zh]inspected location",
332
334
  "field.inspected_qty": "[zh]inspected qty",
333
335
  "field.inspected_status": "[zh]inspected status",
@@ -418,6 +420,7 @@
418
420
  "field.order_type": "[zh]order type",
419
421
  "field.origin_product": "[zh]origin product",
420
422
  "field.original_name": "[zh]original name",
423
+ "field.original_qty": "[zh]original qty",
421
424
  "field.ot": "O/T",
422
425
  "field.other_target": "[zh]other target",
423
426
  "field.out": "out",
@@ -593,6 +596,7 @@
593
596
  "field.supplier_name": "供应商名称",
594
597
  "field.supplier": "[zh]supplier",
595
598
  "field.system_batch_no": "[zh] system batch no",
599
+ "field.system_expiration_date" : "[zh]system expiration date",
596
600
  "field.system_location": "system location",
597
601
  "field.system_qty": "system qty",
598
602
  "field.system_remark": "system remark",
@@ -869,6 +873,7 @@
869
873
  "label.imported": "imported",
870
874
  "label.in_queue": "[zh] in queue",
871
875
  "label.inspected_batch_no": "inspected batch no",
876
+ "label.inspected_expiration_date": "[zh]inspected expiration date",
872
877
  "label.inspected_location": "inspected location",
873
878
  "label.inspected_qty": "inspected qty",
874
879
  "label.inspected_uom_value": "inspected uom value",
@@ -886,6 +891,7 @@
886
891
  "label.location_format": "location format",
887
892
  "label.Location_format": "location format",
888
893
  "label.location": "位置",
894
+ "label.locked_qty": "[zh]locked qty",
889
895
  "label.loose_item": "loose item",
890
896
  "label.lorry_no": "lorry no.",
891
897
  "label.lot_barcode": "lot barcode",