@things-factory/operato-wms 4.3.369 → 4.3.372

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.
@@ -7,16 +7,31 @@ import '../inventory/serial-number-list-popup'
7
7
  import '../components/select-product-popup'
8
8
 
9
9
  import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
10
+ import {
11
+ css,
12
+ html
13
+ } from 'lit-element'
11
14
  import { connect } from 'pwa-helpers/connect-mixin'
12
15
 
13
16
  import { DirectPrinter } from '@things-factory/barcode-base'
14
- import { i18next, localize } from '@things-factory/i18n-base'
17
+ import {
18
+ i18next,
19
+ localize
20
+ } from '@things-factory/i18n-base'
15
21
  import { openPopup } from '@things-factory/layout-base'
16
- import { client, CustomAlert, PageView, store } from '@things-factory/shell'
17
- import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
22
+ import {
23
+ client,
24
+ CustomAlert,
25
+ PageView,
26
+ store
27
+ } from '@things-factory/shell'
28
+ import {
29
+ CommonButtonStyles,
30
+ ScrollbarStyles
31
+ } from '@things-factory/styles'
18
32
  import { isMobileDevice } from '@things-factory/utils'
19
33
 
34
+ import { fetchSettingRule } from '../../fetch-setting-value'
20
35
  import { fetchPageSettings } from '../../util/index'
21
36
  import {
22
37
  ADJUSTMENT_CODE,
@@ -55,7 +70,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
55
70
  _palletLabel: Object,
56
71
  _cartonLabel: Object,
57
72
  _inventory: Object,
58
- _data: Object
73
+ _data: Object,
74
+ _strictProductSelection: Boolean,
75
+ _partnerDomainId: String
59
76
  }
60
77
  }
61
78
 
@@ -138,7 +155,18 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
138
155
  `
139
156
  }
140
157
 
158
+ constructor() {
159
+ super()
160
+ this._partnerDomainId = ''
161
+ this._strictProductSelection = false
162
+ }
163
+
141
164
  async pageInitialized() {
165
+ this._configureInventoryGrist()
166
+ this._strictProductSelection = await fetchSettingRule('strict-product-selection', this._partnerDomainId)
167
+ }
168
+
169
+ async _configureInventoryGrist() {
142
170
  //fetch all page setting in 1 action
143
171
  let pageSettings = await fetchPageSettings({
144
172
  codes: [{ name: 'name', operator: 'in', value: ['PACKING_TYPES', 'UOM'] }],
@@ -146,9 +174,10 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
146
174
  })
147
175
  let [partners, packingType, uom] = [
148
176
  pageSettings.partners || [],
149
- (packingType = pageSettings.codes?.find(x => (x.name = 'PACKING_TYPES')).settingDetails || []),
150
- (uom = pageSettings.codes?.find(x => (x.name = 'UOM')).settingDetails || [])
177
+ (packingType = pageSettings.codes?.find(x => x.name == 'PACKING_TYPES').settingDetails || []),
178
+ (uom = pageSettings.codes?.find(x => x.name == 'UOM').settingDetails || [])
151
179
  ]
180
+ let strictEditable = !this._strictProductSelection
152
181
 
153
182
  this._searchFields = [
154
183
  {
@@ -180,7 +209,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
180
209
  props: { searchOper: 'eq' }
181
210
  },
182
211
  {
183
- header: i18next.t('field.batch_id'),
212
+ label: i18next.t('field.batch_no'),
184
213
  name: 'batchId',
185
214
  type: 'text',
186
215
  props: { searchOper: 'i_like' }
@@ -256,6 +285,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
256
285
  handlers: { click: this.showInventoryMovement.bind(this) }
257
286
  },
258
287
  { type: 'string', name: 'inventoryItemChanges', hidden: true },
288
+ { type: 'string', name: 'productDetailName', hidden: true },
259
289
  {
260
290
  type: 'string',
261
291
  name: 'palletId',
@@ -275,9 +305,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
275
305
  {
276
306
  type: 'string',
277
307
  name: 'batchId',
278
- header: i18next.t('field.batch_id'),
308
+ header: i18next.t('field.batch_no'),
279
309
  record: { editable: true },
280
- imex: { header: i18next.t('field.batch_id'), key: 'batchId', width: 30, type: 'string' },
310
+ imex: { header: i18next.t('field.*_batch_no'), key: 'batchId', width: 30, type: 'string' },
281
311
  sortable: true,
282
312
  width: 120
283
313
  },
@@ -290,7 +320,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
290
320
  options: { queryName: 'partnersBizplaces' }
291
321
  },
292
322
  imex: {
293
- header: i18next.t('field.company'),
323
+ header: i18next.t('field.*_company'),
294
324
  key: 'bizplace.name',
295
325
  width: 50,
296
326
  type: 'array',
@@ -303,7 +333,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
303
333
  type: 'string',
304
334
  name: 'sku',
305
335
  header: i18next.t('field.sku'),
306
- width: 120
336
+ imex: { header: i18next.t('field.*_sku'), key: 'sku', width: 30, type: 'string' },
337
+ sortable: true,
338
+ width: 150
307
339
  },
308
340
  {
309
341
  type: 'object',
@@ -322,7 +354,6 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
322
354
  { name: 'sku', header: i18next.t('field.sku'), width: 150 },
323
355
  { name: 'name', header: i18next.t('field.name'), width: 250 },
324
356
  { name: 'brand', header: i18next.t('field.brand'), width: 150 },
325
- { name: 'description', header: i18next.t('field.description'), width: 450 },
326
357
  { name: 'type', header: i18next.t('field.type'), width: 200 },
327
358
  { name: 'packingType', header: i18next.t('field.packing_type'), width: 200 },
328
359
  { name: 'packingSize', header: i18next.t('field.packing_size'), width: 150 },
@@ -343,10 +374,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
343
374
  },
344
375
  imex: {
345
376
  header: i18next.t('field.product'),
346
- key: 'product.name',
377
+ key: 'productDetailName',
347
378
  width: 150,
348
- type: 'array',
349
- arrData: []
379
+ type: 'string'
350
380
  },
351
381
  sortable: true,
352
382
  width: 500
@@ -361,26 +391,26 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
361
391
  type: 'code',
362
392
  name: 'packingType',
363
393
  header: i18next.t('field.packing_type'),
364
- record: { editable: true, codeName: 'PACKING_TYPES' },
365
394
  imex: {
366
395
  header: i18next.t('field.packing_type'),
367
396
  key: 'packingType',
368
397
  width: 50,
369
398
  type: 'array',
370
- arrData: packingType
399
+ arrData: [{ name: '' }, ...packingType]
371
400
  },
401
+ record: { editable: strictEditable, codeName: 'PACKING_TYPES' },
372
402
  width: 150
373
403
  },
374
404
  {
375
405
  type: 'number',
376
406
  name: 'packingSize',
377
407
  header: i18next.t('field.packing_size'),
378
- record: { editable: true },
408
+ record: { editable: strictEditable },
379
409
  imex: {
380
410
  header: i18next.t('field.packing_size'),
381
411
  key: 'packingSize',
382
412
  width: 50,
383
- type: 'float'
413
+ type: 'string'
384
414
  },
385
415
  width: 150
386
416
  },
@@ -391,7 +421,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
391
421
  record: { editable: true },
392
422
  sortable: true,
393
423
  imex: {
394
- header: i18next.t('field.qty'),
424
+ header: i18next.t('field.*_qty'),
395
425
  key: 'qty',
396
426
  width: 10,
397
427
  type: 'float'
@@ -465,7 +495,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
465
495
  record: { editable: true },
466
496
  sortable: true,
467
497
  imex: {
468
- header: i18next.t('field.total_uom_value'),
498
+ header: i18next.t('field.*_total_uom_value'),
469
499
  key: 'uomValue',
470
500
  width: 10,
471
501
  type: 'float'
@@ -476,8 +506,14 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
476
506
  type: 'code',
477
507
  name: 'uom',
478
508
  header: i18next.t('field.uom'),
479
- record: { editable: true, codeName: 'UOM' },
480
- imex: { header: i18next.t('field.uom'), key: 'uom', width: 25, type: 'array', arrData: uom },
509
+ record: { editable: strictEditable, codeName: 'UOM' },
510
+ imex: {
511
+ header: i18next.t('field.uom'),
512
+ key: 'uom',
513
+ width: 25,
514
+ type: 'array',
515
+ arrData: [{ name: '' }, ...uom]
516
+ },
481
517
  sortable: true,
482
518
  width: 80
483
519
  },
@@ -501,7 +537,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
501
537
  }
502
538
  },
503
539
  imex: {
504
- header: i18next.t('field.location'),
540
+ header: i18next.t('field.*_location'),
505
541
  key: 'location.name',
506
542
  width: 15,
507
543
  type: 'array',
@@ -582,7 +618,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
582
618
  ]
583
619
  },
584
620
  imex: {
585
- header: i18next.t('field.adjustment_code'),
621
+ header: i18next.t('field.*_adjustment_code'),
586
622
  key: 'adjustmentCode',
587
623
  width: 30,
588
624
  type: 'array',
@@ -599,7 +635,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
599
635
  type: 'string',
600
636
  name: 'adjustmentNote',
601
637
  header: i18next.t('field.adjustment_note'),
602
- imex: { header: i18next.t('field.adjustment_note'), key: 'adjustmentNote', width: 30, type: 'string' },
638
+ imex: { header: i18next.t('field.*_adjustment_note'), key: 'adjustmentNote', width: 30, type: 'string' },
603
639
  record: { editable: true },
604
640
  sortable: true,
605
641
  width: 200
@@ -656,6 +692,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
656
692
  name
657
693
  description
658
694
  }
695
+ partnerDomain {
696
+ id
697
+ }
659
698
  product {
660
699
  id
661
700
  name
@@ -672,6 +711,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
672
711
  }
673
712
  productDetail {
674
713
  id
714
+ name
675
715
  costPrice
676
716
  }
677
717
  qty
@@ -734,6 +774,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
734
774
  adjustmentNote
735
775
  serialNumbers
736
776
  obsolete
777
+ partnerDomain {
778
+ id
779
+ }
737
780
  bizplace {
738
781
  id
739
782
  name
@@ -750,6 +793,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
750
793
  }
751
794
  productDetail {
752
795
  id
796
+ name
753
797
  costPrice
754
798
  }
755
799
  qty
@@ -786,6 +830,8 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
786
830
  return {
787
831
  ...item,
788
832
  sku: item.product.sku,
833
+ productDetailName: item.productDetail.name,
834
+ productName: item.product.name,
789
835
  brand: item.product.brand,
790
836
  unitCost: parseFloat(item.unitCost == null ? 0 : item.unitCost).toFixed(2),
791
837
  lockedQty: item.lockedQty || 0,
@@ -793,6 +839,8 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
793
839
  }
794
840
  })
795
841
 
842
+ this._partnerDomainId = response.data.inventories.items[0].partnerDomain.id
843
+
796
844
  if (exportItem == false) {
797
845
  return {
798
846
  total: response.data.inventories.total || 0,
@@ -885,7 +933,6 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
885
933
  break
886
934
  case 'manufactureDate':
887
935
  if (new Date(e.detail.after) > new Date()) {
888
- // item._data.records[e.detail.row].manufactureDate = null
889
936
  this.showToast({ message: i18next.t('text.invalid_manufacture_date') })
890
937
  }
891
938
  break
@@ -967,7 +1014,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
967
1014
  if (result.isConfirmed) {
968
1015
  const response = await client.mutate({
969
1016
  mutation: gql`
970
- mutation submitInventoryChanges($patches: [InventoryPatch!]!) {
1017
+ mutation submitInventoryChanges($patches: [InventoryPatch!]) {
971
1018
  submitInventoryChanges(patches: $patches)
972
1019
  }
973
1020
  `,
@@ -996,29 +1043,19 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
996
1043
  }
997
1044
 
998
1045
  if (row.cuFlag == '+') {
999
- if (
1000
- !row.bizplace ||
1001
- !row.location ||
1002
- !row.product ||
1003
- !row.batchId ||
1004
- !row.qty ||
1005
- !row.uomValue ||
1006
- !row.adjustmentCode ||
1007
- !row.adjustmentNote ||
1008
- !row.uom ||
1009
- row?.uom.trim() == ''
1010
- ) {
1046
+ this.validation(row)
1047
+
1048
+ if (!row.product || !row.uom || row?.uom.trim() == '') {
1011
1049
  throw new Error(i18next.t('text.empty_value_in_list'))
1012
1050
  }
1013
1051
  }
1014
1052
 
1015
1053
  if (row.cuFlag == 'M') {
1016
1054
  if (
1017
- (row.hasOwnProperty('bizplace') && !row.product) ||
1018
1055
  (row.hasOwnProperty('uom') && row.uom?.trim() == '') ||
1019
1056
  (row.hasOwnProperty('packingType') && row.packingType?.trim() == '') ||
1020
1057
  (row.hasOwnProperty('unitCost') && (row.unitCost == null || row.unitCost < 0)) ||
1021
- (row.hasOwnProperty('packingSize') && (row.packingSize == null || row.packingSize < 0)) ||
1058
+ (row.hasOwnProperty('packingSize') && (row.packingSize == null || row.packingSize <= 0)) ||
1022
1059
  (row.hasOwnProperty('adjustmentCode') && row.adjustmentCode?.trim() == '') ||
1023
1060
  (row.hasOwnProperty('adjustmentNote') && row.adjustmentNote?.trim() == '')
1024
1061
  ) {
@@ -1029,13 +1066,17 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
1029
1066
  //if user is not updating adjustment code or note, check if current data has them
1030
1067
  if (!row.hasOwnProperty('adjustmentNote')) {
1031
1068
  if (!currentItem.adjustmentNote) {
1032
- throw new Error(i18next.t('text.empty_value_in_list'))
1069
+ throw new Error(
1070
+ i18next.t('text.adjustment_note_is_required_kindly_fill_in_the_adjustment_note_to_continue')
1071
+ )
1033
1072
  }
1034
1073
  }
1035
1074
 
1036
1075
  if (!row.hasOwnProperty('adjustmentCode')) {
1037
1076
  if (!currentItem.adjustmentCode) {
1038
- throw new Error(i18next.t('text.empty_value_in_list'))
1077
+ throw new Error(
1078
+ i18next.t('text.adjustment_code_is_required_kindly_fill_in_the_adjustment_code_to_continue')
1079
+ )
1039
1080
  }
1040
1081
  }
1041
1082
  }
@@ -1107,9 +1148,6 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
1107
1148
  if (itm?.packingType?.trim() == '') {
1108
1149
  throw new Error(i18next.t('text.invalid_packing_type'))
1109
1150
  }
1110
- if (itm?.packingSize <= 0) {
1111
- throw new Error(i18next.t('text.invalid_packing_size'))
1112
- }
1113
1151
  if (itm?.unitCost < 0) {
1114
1152
  throw new Error(i18next.t('text.invalid_unit_cost'))
1115
1153
  }
@@ -1131,29 +1169,20 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
1131
1169
  itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC06.value &&
1132
1170
  itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC07.value)
1133
1171
  ) {
1134
- throw new Error(i18next.t('text.invalid_adjustment_code'))
1172
+ throw new Error(i18next.t('text.adjustment_code_is_required_kindly_fill_in_the_adjustment_code_to_continue'))
1135
1173
  }
1136
1174
  if (itm?.adjustmentNote?.trim() == '') {
1137
1175
  throw new Error(i18next.t('text.invalid_adjustment_note'))
1138
1176
  }
1139
1177
 
1140
1178
  if (itm.cuFlag == '+') {
1141
- if (
1142
- !itm.bizplace?.id ||
1143
- !itm.location?.id ||
1144
- !itm.product?.id ||
1145
- !itm.batchId ||
1146
- !itm.qty ||
1147
- !itm.uomValue ||
1148
- !itm.uom ||
1149
- !itm.packingType ||
1150
- !itm.adjustmentCode ||
1151
- !itm.adjustmentNote
1152
- ) {
1153
- throw new Error(i18next.t('text.empty_value_in_list'))
1179
+ this.validation(itm)
1180
+
1181
+ if (!itm.sku) {
1182
+ throw new Error(i18next.t('text.sku_is_required_kindly_fill_in_the_sku_to_continue'))
1154
1183
  }
1155
1184
 
1156
- if (itm.qty < 1 || itm.unitCost < 0 || itm.packingSize < 1 || itm.uomValue < 1) {
1185
+ if (itm.qty < 1 || itm.unitCost < 0 || itm.uomValue < 1) {
1157
1186
  throw new Error(i18next.t('text.invalid_value_in_list'))
1158
1187
  }
1159
1188
 
@@ -1178,16 +1207,15 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
1178
1207
  }
1179
1208
  }
1180
1209
 
1181
- if (itm.unit)
1182
- if (itm.location.zone || itm.location.row || itm.location.column) {
1183
- //if user repic location after import
1184
- delete itm.location.zone
1185
- delete itm.location.row
1186
- delete itm.location.column
1187
- }
1210
+ if (itm.location.zone || itm.location.row || itm.location.column) {
1211
+ //if user repic location after import
1212
+ delete itm.location.zone
1213
+ delete itm.location.row
1214
+ delete itm.location.column
1215
+ }
1188
1216
 
1189
1217
  //if user repick product after import
1190
- if (itm.product.productId) {
1218
+ if (itm?.product?.productId) {
1191
1219
  itm.product.id = itm.product.productId
1192
1220
  delete itm.product.productId
1193
1221
  delete itm.product.brand
@@ -1251,6 +1279,11 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
1251
1279
  delete column.hidden
1252
1280
  }
1253
1281
 
1282
+ if (column.name == 'product') {
1283
+ column.name = 'productDetailName'
1284
+ column.type = 'string'
1285
+ }
1286
+
1254
1287
  return { ...column }
1255
1288
  })
1256
1289
 
@@ -1311,9 +1344,6 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
1311
1344
  case 'bizplace.name':
1312
1345
  column.arrData = bizplaces
1313
1346
  break
1314
- case 'product.name':
1315
- column.arrData = products
1316
- break
1317
1347
  case 'location.name':
1318
1348
  column.arrData = locations
1319
1349
  break
@@ -1332,7 +1362,6 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
1332
1362
  item.manufactureDate = new Date(item.manufactureDate).getTime()
1333
1363
  }
1334
1364
 
1335
- item.product.name = item.product.productInformation
1336
1365
  return {
1337
1366
  id: item.id,
1338
1367
  ...this.columns
@@ -1681,6 +1710,37 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
1681
1710
  })
1682
1711
  )
1683
1712
  }
1713
+
1714
+ //Validation if user not filled up the required column
1715
+ validation(row) {
1716
+ if (!row?.batchId) {
1717
+ throw new Error(i18next.t('text.batch_no_is_required_kindly_fill_in_the_batch_no_to_continue'))
1718
+ }
1719
+
1720
+ if (!row?.bizplace || !row?.bizplace?.id) {
1721
+ throw new Error(i18next.t('text.company_is_required_kindly_fill_in_the_company_to_continue'))
1722
+ }
1723
+
1724
+ if (!row?.qty) {
1725
+ throw new Error(i18next.t('text.qty_is_required_kindly_fill_in_the_qty_to_continue'))
1726
+ }
1727
+
1728
+ if (!row?.uomValue) {
1729
+ throw new Error(i18next.t('text.total_uom_value_is_required_kindly_fill_in_the_total_uom_value_to_continue'))
1730
+ }
1731
+
1732
+ if (!row?.location || !row?.location?.id) {
1733
+ throw new Error(i18next.t('text.location_is_required_kindly_fill_in_the_location_to_continue'))
1734
+ }
1735
+
1736
+ if (!row?.adjustmentCode) {
1737
+ throw new Error(i18next.t('text.adjustment_code_is_required_kindly_fill_in_the_adjustment_code_to_continue'))
1738
+ }
1739
+
1740
+ if (!row?.adjustmentNote) {
1741
+ throw new Error(i18next.t('text.adjustment_note_is_required_kindly_fill_in_the_adjustment_note_to_continue'))
1742
+ }
1743
+ }
1684
1744
  }
1685
1745
 
1686
1746
  window.customElements.define('inventory-adjustment', InventoryAdjustment)
@@ -2,14 +2,27 @@ import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
5
+ import {
6
+ css,
7
+ html
8
+ } from 'lit-element'
6
9
  import { connect } from 'pwa-helpers/connect-mixin'
7
10
 
8
11
  import { getCodeByName } from '@things-factory/code-base'
9
- import { i18next, localize } from '@things-factory/i18n-base'
10
- import { client, PageView, store } from '@things-factory/shell'
12
+ import {
13
+ i18next,
14
+ localize
15
+ } from '@things-factory/i18n-base'
16
+ import {
17
+ client,
18
+ PageView,
19
+ store
20
+ } from '@things-factory/shell'
11
21
  import { ScrollbarStyles } from '@things-factory/styles'
12
- import { flattenObject, isMobileDevice } from '@things-factory/utils'
22
+ import {
23
+ flattenObject,
24
+ isMobileDevice
25
+ } from '@things-factory/utils'
13
26
 
14
27
  class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
15
28
  static get styles() {
@@ -126,7 +139,7 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
126
139
  width: 120
127
140
  },
128
141
  {
129
- type: 'datetime',
142
+ type: 'string',
130
143
  name: 'initialInboundAt',
131
144
  header: i18next.t('field.initial_inbound_date'),
132
145
  width: 150
@@ -1631,7 +1631,7 @@ class B2CReleaseOrderDetail extends connect(store)(localize(i18next)(PageView))
1631
1631
  this._validateForm()
1632
1632
 
1633
1633
  let releaseOrder = this._getFormInfo()
1634
-
1634
+
1635
1635
  delete releaseOrder.warehouseTransport
1636
1636
  delete releaseOrder.bizplaceId
1637
1637
  delete releaseOrder.bizplaceName
@@ -1641,41 +1641,6 @@ class B2CReleaseOrderDetail extends connect(store)(localize(i18next)(PageView))
1641
1641
  delete releaseOrder.lmdOption
1642
1642
  let oldResorder = this._releaseOrder
1643
1643
 
1644
- let formChanged
1645
- for (const key in releaseOrder) {
1646
- if (oldResorder.orderPackages.length > 0) {
1647
- if (key == 'trackingNo' && releaseOrder[key] !== oldResorder.orderPackages[0].trackingNo) {
1648
- if (
1649
- !(
1650
- (releaseOrder[key] == '' || releaseOrder[key] == null) &&
1651
- (oldResorder.orderPackages[0].trackingNo == '' || oldResorder.orderPackages[0].trackingNo == null)
1652
- )
1653
- ) {
1654
- if (this._roInfo?.orderPackages.length === 1) {
1655
- formChanged = true
1656
- break
1657
- } else {
1658
- throw new Error(i18next.t('text.does_not_support_multi_package'))
1659
- }
1660
- }
1661
- }
1662
- } else if (releaseOrder.hasOwnProperty(key) && releaseOrder[key] !== oldResorder[key]) {
1663
- if (
1664
- !(
1665
- (releaseOrder[key] == '' || releaseOrder[key] == null) &&
1666
- (oldResorder[key] == '' || oldResorder[key] == null)
1667
- )
1668
- ) {
1669
- formChanged = true
1670
- break
1671
- }
1672
- }
1673
- }
1674
-
1675
- if (!formChanged) {
1676
- throw new Error(i18next.t('text.there_is_nothing_changed'))
1677
- }
1678
-
1679
1644
  let shippingOrderInfo = {}
1680
1645
 
1681
1646
  let contactPointInfo = this._serializeForm(this.shippingInfoForm)
@@ -1696,6 +1661,17 @@ class B2CReleaseOrderDetail extends connect(store)(localize(i18next)(PageView))
1696
1661
  shippingOrderInfo.billingCountry = contactPointInfo.country
1697
1662
  }
1698
1663
 
1664
+ let releaseOrderChanged = this._compareObjects(releaseOrder, oldResorder);
1665
+ let shippingOrderChanged = this._compareObjects(shippingOrderInfo, oldResorder);
1666
+
1667
+ if (releaseOrderChanged == true || shippingOrderChanged == true) {
1668
+ releaseOrderChanged = true
1669
+ }
1670
+
1671
+ if (!releaseOrderChanged) {
1672
+ throw new Error(i18next.t('text.there_is_nothing_changed'))
1673
+ }
1674
+
1699
1675
  let afterRemarkValue
1700
1676
  if (releaseOrder?.remark) {
1701
1677
  afterRemarkValue = releaseOrder.remark = releaseOrder.remark.trimStart()
@@ -1763,6 +1739,42 @@ class B2CReleaseOrderDetail extends connect(store)(localize(i18next)(PageView))
1763
1739
  }
1764
1740
  }
1765
1741
 
1742
+ _compareObjects(object1, object2) {
1743
+ let formChanged = false;
1744
+
1745
+ for (const key in object1) {
1746
+ if (object1?.orderPackages?.length > 0) {
1747
+ if (key == 'trackingNo' && object1[key] !== object2.orderPackages[0].trackingNo) {
1748
+ if (
1749
+ !(
1750
+ (object1[key] == '' || object1[key] == null) &&
1751
+ (object2.orderPackages[0].trackingNo == '' || object2.orderPackages[0].trackingNo == null)
1752
+ )
1753
+ ) {
1754
+ if (this._roInfo?.orderPackages.length === 1) {
1755
+ formChanged = true
1756
+ break
1757
+ } else {
1758
+ throw new Error(i18next.t('text.does_not_support_multi_package'))
1759
+ }
1760
+ }
1761
+ }
1762
+ } else if (object1.hasOwnProperty(key) && object1[key] !== object2[key]) {
1763
+ if (
1764
+ !(
1765
+ (object1[key] == '' || object1[key] == null) &&
1766
+ (object2[key] == '' || object2[key] == null)
1767
+ )
1768
+ ) {
1769
+ formChanged = true
1770
+ break
1771
+ }
1772
+ }
1773
+ }
1774
+
1775
+ return formChanged
1776
+ }
1777
+
1766
1778
  _openContactPointSelector() {
1767
1779
  openPopup(
1768
1780
  html`
@@ -2194,7 +2194,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
2194
2194
  // this.vasData = { ...this.vasData, records: this.sortByNameField(this.vasData.records, 'sku') }
2195
2195
  // console.log(this.vasData)
2196
2196
  }}"
2197
- ></vas-target-product-popupp>
2197
+ ></vas-target-product-popup>
2198
2198
  `,
2199
2199
  {
2200
2200
  backdrop: true,
@@ -2670,40 +2670,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
2670
2670
  delete releaseOrder.recall
2671
2671
  let oldResorder = this._releaseOrder
2672
2672
 
2673
- let formChanged
2674
- for (const key in releaseOrder) {
2675
- if (oldResorder.orderPackages.length > 0) {
2676
- if (key == 'trackingNo' && releaseOrder[key] !== oldResorder.orderPackages[0].trackingNo) {
2677
- if (
2678
- !(
2679
- (releaseOrder[key] == '' || releaseOrder[key] == null) &&
2680
- (oldResorder.orderPackages[0].trackingNo == '' || oldResorder.orderPackages[0].trackingNo == null)
2681
- )
2682
- ) {
2683
- if (this._roInfo?.orderPackages.length === 1) {
2684
- formChanged = true
2685
- break
2686
- } else {
2687
- throw new Error(i18next.t('text.does_not_support_multi_package'))
2688
- }
2689
- }
2690
- }
2691
- } else if (releaseOrder.hasOwnProperty(key) && releaseOrder[key] !== oldResorder[key]) {
2692
- if (
2693
- !(
2694
- (releaseOrder[key] == '' || releaseOrder[key] == null) &&
2695
- (oldResorder[key] == '' || oldResorder[key] == null)
2696
- )
2697
- ) {
2698
- formChanged = true
2699
- break
2700
- }
2701
- }
2702
- }
2703
-
2704
- if (!formChanged) {
2705
- throw new Error(i18next.t('text.there_is_nothing_changed'))
2706
- }
2673
+ let exportData = this._getExportFormInfo()
2707
2674
 
2708
2675
  let shippingOrderInfo = {}
2709
2676
 
@@ -2725,6 +2692,18 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
2725
2692
  shippingOrderInfo.billingCountry = contactPointInfo.country
2726
2693
  }
2727
2694
 
2695
+ let releaseOrderChanged = this._compareObjects(releaseOrder, oldResorder);
2696
+ let shippingOrderChanged = this._compareObjects(shippingOrderInfo, oldResorder);
2697
+ let exportDataChanged = this._compareExportObjects(exportData, oldResorder);
2698
+
2699
+ if (releaseOrderChanged == true || shippingOrderChanged == true || exportDataChanged == true) {
2700
+ releaseOrderChanged = true
2701
+ }
2702
+
2703
+ if (!releaseOrderChanged) {
2704
+ throw new Error(i18next.t('text.there_is_nothing_changed'))
2705
+ }
2706
+
2728
2707
  let afterRemarkValue
2729
2708
  if (releaseOrder?.remark) {
2730
2709
  afterRemarkValue = releaseOrder.remark = releaseOrder.remark.trimStart()
@@ -2792,6 +2771,62 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
2792
2771
  }
2793
2772
  }
2794
2773
 
2774
+ _compareObjects(object1, object2) {
2775
+ let formChanged = false;
2776
+
2777
+ for (const key in object1) {
2778
+ if (object1?.orderPackages?.length > 0) {
2779
+ if (key == 'trackingNo' && object1[key] !== object2.orderPackages[0].trackingNo) {
2780
+ if (
2781
+ !(
2782
+ (object1[key] == '' || object1[key] == null) &&
2783
+ (object2.orderPackages[0].trackingNo == '' || object2.orderPackages[0].trackingNo == null)
2784
+ )
2785
+ ) {
2786
+ if (this._roInfo?.orderPackages.length === 1) {
2787
+ formChanged = true
2788
+ break
2789
+ } else {
2790
+ throw new Error(i18next.t('text.does_not_support_multi_package'))
2791
+ }
2792
+ }
2793
+ }
2794
+ } else if (object1.hasOwnProperty(key) && object1[key] !== object2[key]) {
2795
+ if (
2796
+ !(
2797
+ (object1[key] == '' || object1[key] == null) &&
2798
+ (object2[key] == '' || object2[key] == null)
2799
+ )
2800
+ ) {
2801
+ formChanged = true
2802
+ break
2803
+ }
2804
+ }
2805
+ }
2806
+
2807
+ return formChanged
2808
+ }
2809
+
2810
+ _compareExportObjects(object1, object2) {
2811
+ let formChanged = false;
2812
+
2813
+ for (const key in object1) {
2814
+ if (object1.hasOwnProperty(key) && object1[key] !== object2.shippingOrderInfo[key]) {
2815
+ if (
2816
+ !(
2817
+ (object1[key] == '' || object1[key] == null) &&
2818
+ (object2.shippingOrderInfo[key] == '' || object2.shippingOrderInfo[key] == null)
2819
+ )
2820
+ ) {
2821
+ formChanged = true
2822
+ break
2823
+ }
2824
+ }
2825
+ }
2826
+
2827
+ return formChanged
2828
+ }
2829
+
2795
2830
  _openContactPointSelector() {
2796
2831
  openPopup(
2797
2832
  html`
@@ -2934,6 +2969,12 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
2934
2969
  return formData
2935
2970
  }
2936
2971
 
2972
+ _getExportFormInfo() {
2973
+ let formData = this._serializeForm(this.exportInfoForm)
2974
+
2975
+ return formData
2976
+ }
2977
+
2937
2978
  _serializeForm(form) {
2938
2979
  let obj = {}
2939
2980
  Array.from(form.querySelectorAll('input, select, textarea')).forEach(field => {
@@ -74,7 +74,7 @@ module.exports = {
74
74
  secureConnection: false,
75
75
  tls: {
76
76
  ciphers: 'SSLv3'
77
- }
77
+ }
78
78
  },
79
79
  sender: 'no-reply@hatiolab.com',
80
80
  notification: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.369",
3
+ "version": "4.3.372",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -91,7 +91,7 @@
91
91
  "@things-factory/print-ui": "^4.3.281",
92
92
  "@things-factory/product-base": "^4.3.357",
93
93
  "@things-factory/resource-ui": "^4.3.281",
94
- "@things-factory/sales-ui": "^4.3.369",
94
+ "@things-factory/sales-ui": "^4.3.372",
95
95
  "@things-factory/scene-data-transform": "^4.3.281",
96
96
  "@things-factory/scene-excel": "^4.3.281",
97
97
  "@things-factory/scene-firebase": "^4.3.281",
@@ -107,8 +107,8 @@
107
107
  "@things-factory/system-ui": "^4.3.281",
108
108
  "@things-factory/transport-base": "^4.3.369",
109
109
  "@things-factory/tutorial-ui": "^4.3.281",
110
- "@things-factory/warehouse-base": "^4.3.367",
111
- "@things-factory/worksheet-base": "^4.3.369"
110
+ "@things-factory/warehouse-base": "^4.3.372",
111
+ "@things-factory/worksheet-base": "^4.3.372"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.281",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "e2df2f00e1a71d0e20fd58ad8971b5c9ce965471"
120
+ "gitHead": "12e7bc82718bbf13de69714f64251fc1d29a6913"
121
121
  }
@@ -147,7 +147,9 @@
147
147
  "field.adjusted_volume": "adjusted volume",
148
148
  "field.adjusted": "adjusted",
149
149
  "field.adjustment_code": "adjustment code",
150
+ "field.*_adjustment_code": "*adjustment code",
150
151
  "field.adjustment_note": "adjustment note",
152
+ "field.*_adjustment_note": "*adjustment note",
151
153
  "field.after": "after",
152
154
  "field.amount": "amount",
153
155
  "field.arrival_notice": "arrival notice",
@@ -179,7 +181,7 @@
179
181
  "field.batch_id": "batch no",
180
182
  "field.batch_no_ref": "batch no ref",
181
183
  "field.batch_no": "batch no.",
182
- "field.batch_no_variance": "batch no variance",
184
+ "field.*_batch_no": "*batch no.",
183
185
  "field.before": "before",
184
186
  "field.billing_address": "billing address",
185
187
  "field.billing_city": "billing city",
@@ -228,6 +230,7 @@
228
230
  "field.combination": "combination",
229
231
  "field.comment": "comment",
230
232
  "field.company": "company",
233
+ "field.*_company": "*company",
231
234
  "field.completed": "completed",
232
235
  "field.completion_date": "completion date",
233
236
  "field.completion_vas_from_date": "completion vas from date",
@@ -509,6 +512,7 @@
509
512
  "field.putaway_qty": "putaway qty",
510
513
  "field.putaway_start": "putaway start",
511
514
  "field.qty": "qty",
515
+ "field.*_qty": "*qty",
512
516
  "field.quantity": "quantity",
513
517
  "field.quarantine_qty": "quarantine qty",
514
518
  "field.quarantine_stock_only": "quarantine stock only",
@@ -651,6 +655,7 @@
651
655
  "field.total_unit_gross_weight": "total unit gross weight",
652
656
  "field.total_unit_nett_weight": "total unit nett weight",
653
657
  "field.total_uom_value": "total uom value",
658
+ "field.*_total_uom_value": "*total uom value",
654
659
  "field.total_uom": "total uom",
655
660
  "field.total_volume": "total volume",
656
661
  "field.total": "total",
@@ -1176,10 +1181,10 @@
1176
1181
  "text.activate_unloading_worksheet": "activate unloading worksheet",
1177
1182
  "text.activate_vas_worksheet": "activate value added service worksheet",
1178
1183
  "text.activate": "activate",
1179
- "text.add_edit_products_has_been_submitted_for_approval": "add/edit order products has been submitted for approval",
1180
- "text.Total_uom_value_required._Kindly_fill_in_the_Total_uom_value_to_continue": "Total uom value required. Kindly fill in the Total uom value to continue",
1181
1184
  "text.add_extra_product": "add extra product",
1182
1185
  "text.adjustment_pending_admin_approval": "adjustment pending admin approval",
1186
+ "text.adjustment_code_is_required_kindly_fill_in_the_adjustment_code_to_continue": "Adjustment Code is required. Kindly fill in the adjustment code to continue",
1187
+ "text.adjustment_note_is_required_kindly_fill_in_the_adjustment_note_to_continue": "Adjustment Note is required. Kindly fill in the adjustment note to continue",
1183
1188
  "text.advise_mt_date_is_empty": "advise mt date is empty",
1184
1189
  "text.all_related_serial_number_will_be_deleted": "all related serial number will be deleted!",
1185
1190
  "text.already_existed": "row {state.text} is already existed",
@@ -1204,6 +1209,7 @@
1204
1209
  "text.batch_id_is_duplicated": "batch id is duplicated",
1205
1210
  "text.batch_is_not_selected": "batch is not selected",
1206
1211
  "text.batch_no_is_required": "batch no. is required",
1212
+ "text.batch_no_is_required_kindly_fill_in_the_batch_no_to_continue": "Batch No is required. Kindly fill in the batch no to continue",
1207
1213
  "text.batch_picking": "batch picking",
1208
1214
  "text.billing_address_is_empty_please_fill_in_the_data_before_proceed_create_order": "billing address is empty. please fill in the data before proceed create order.",
1209
1215
  "text.bin_location_is_empty": "bin location is empty",
@@ -1231,6 +1237,7 @@
1231
1237
  "text.collection_order_rejected": "collection order rejected",
1232
1238
  "text.company_field_is_empty": "company field is empty",
1233
1239
  "text.company_is_not_selected": "company is not selected",
1240
+ "text.company_is_required_kindly_fill_in_the_company_to_continue": "Company is required. Kindly fill in the company to continue",
1234
1241
  "text.company_selection_is_empty": "company selection is empty",
1235
1242
  "text.company_was_not_selected": "company was not selected",
1236
1243
  "text.complete_inspection": "complete inspection",
@@ -1426,6 +1433,7 @@
1426
1433
  "text.location_code_is_empty": "location code is empty",
1427
1434
  "text.location_id_is_empty": "location id is empty",
1428
1435
  "text.location_is_not_selected": "location is not selected",
1436
+ "text.location_is_required_kindly_fill_in_the_location_to_continue": "Location is required. Kindly fill in the location to continue",
1429
1437
  "text.location_name(s)_already_existed": "location name(s) already existed",
1430
1438
  "text.location_not_found": "location not found",
1431
1439
  "text.location_scanned_is_not_a_quarantine_zone_or_reserved_zone": "Location scanned is not a quarantine zone or reserved zone!",
@@ -1539,6 +1547,7 @@
1539
1547
  "text.qty_exceed_limit": "qty exceed limit",
1540
1548
  "text.qty_exceed_release_qty": "qty exceed release qty",
1541
1549
  "text.qty_is_empty": "qty is empty",
1550
+ "text.qty_is_required_kindly_fill_in_the_qty_to_continue": "Qty is required. Kindly fill in the qty to continue",
1542
1551
  "text.qty_should_be_positive": "qty should be positive value",
1543
1552
  "text.qty_should_not_have_decimal": "qty should not have decimal",
1544
1553
  "text.reassignment_done": "reassignment done",
@@ -1629,6 +1638,7 @@
1629
1638
  "text.sku_has_vas_changing_sku_will_need_user_to_reenter_vas_information": "SKU has vas. Changing this SKU will need user to reenter vas information",
1630
1639
  "text.sku_has_vas_releaseQty_less_than_qty_for_vas_changing_will_require_user_to_reenter_vas_information": "SKU has vas. release Qty is lesser than Qty for vas changing will require user to reenter vas information",
1631
1640
  "text.sku_is_required": "sku is required",
1641
+ "text.sku_is_required_kindly_fill_in_the_sku_to_continue": "SKU is required. Kindly fill in the sku to continue",
1632
1642
  "text.sorting_is_completed": "sorting is completed",
1633
1643
  "text.state_is_empty_please_fill_in_the_data_before_proceed_create_order": "state is empty. please fill in the data before proceed create order.",
1634
1644
  "text.status_field_is_empty": "status field is empty",
@@ -1678,6 +1688,7 @@
1678
1688
  "text.to_date_cannot_be_empty": "to date cannot be empty",
1679
1689
  "text.to_date_is_empty": "to date is empty",
1680
1690
  "text.to_lot_id_is_empty": "to lot ID is empty",
1691
+ "text.total_uom_value_is_required_kindly_fill_in_the_total_uom_value_to_continue": "Total uom value is required. Kindly fill in the total uom value to continue",
1681
1692
  "text.tote_box_(x)_is_scanned": "tote box ({x}) is scanned",
1682
1693
  "text.tote_carton_(x)_is_scanned": "tote carton ({x}) is scanned",
1683
1694
  "text.tote_field_is_empty": "tote field is empty",
@@ -1712,6 +1723,8 @@
1712
1723
  "text.uom_value_cannot_be_divided_completely": "uom value cannot be divided completely",
1713
1724
  "text.update_arrival_notice_details": "update arrival notice details",
1714
1725
  "text.update_release_order_details": "update release order details",
1726
+ "text.updating_the_carton_id_is_not_permitted": "updating the carton id is not permitted",
1727
+ "text.updating_the_pallet_id_is_not_permitted": "updating the pallet id is not permitted",
1715
1728
  "text.update_vas_order": "update vas order",
1716
1729
  "text.use_normal_pallet": "use normal pallet",
1717
1730
  "text.vas_edited": "vas edited",
@@ -713,6 +713,14 @@
713
713
  "field.completion_vas_to_date": "[ko]completion vas to date",
714
714
  "field.unit_uom_value": "[ko]unit uom value",
715
715
  "field.completion_date": "[ko]completion date",
716
+ "field.*_total_uom_value": "[ko] *total uom value",
717
+ "field.*_adjustment_code": "[ko] *adjustment code",
718
+ "field.*_adjustment_note": "[ko] *adjustment note",
719
+ "field.*_batch_no": "[ko] *batch no.",
720
+ "field.*_company": "[ko] *company",
721
+ "field.*_location": "[ko] *location",
722
+ "field.*_qty": "[ko] *qty",
723
+ "field.*_sku": "[ko] *sku",
716
724
  "label.activated": "활성화",
717
725
  "label.actual_qty": "실제 수량",
718
726
  "label.add_extension": "추가 확장",
@@ -1174,14 +1182,6 @@
1174
1182
  "text.add_edit_products_has_been_submitted_for_approval": "[ko]add/edit order products has been submitted for approval",
1175
1183
  "text.add_extra_product": "추가상품 추가",
1176
1184
  "text.adjustment_pending_admin_approval": "변경사항 적용 관리자 승인대기",
1177
- "text.Adjustment_Code_required._Kindly_fill_in_the_Adjustment_code_to_continue": "[ko] Adjustment Code required. Kindly fill in the Adjustment code to continue",
1178
- "text.Adjustment_Note_required._Kindly_fill_in_the_Adjustment_note_to_continue": "[ko] Adjustment Note required. Kindly fill in the Adjustment note to continue",
1179
- "text.Company_required._Kindly_fill_in_the_Company_to_continue": "[ko] Company required. Kindly fill in the Company to continue",
1180
- "text.Location_required._Kindly_fill_in_the_Location_to_continue": "[ko] Location required. Kindly fill in the Location to continue",
1181
- "text.Batch_No._required._Kindly_fill_in_the_Batch_no._to_continue": "[ko] Batch No. required. Kindly fill in the Batch no. to continue",
1182
- "text.SKU_required._Kindly_fill_in_the_SKU_to_continue": "[ko] SKU required. Kindly fill in the SKU to continue",
1183
- "text.Qty_required._Kindly_fill_in_the_Qty_to_continue": "[ko] Qty required. Kindly fill in the Qty to continue",
1184
- "text.Total_uom_value_required._Kindly_fill_in_the_Total_uom_value_to_continue": "[ko] Total uom value required. Kindly fill in the Total uom value to continue",
1185
1185
  "text.advise_mt_date_is_empty": "advise mt date is empty",
1186
1186
  "text.all_related_serial_number_will_be_deleted": "[ko] all related serial number will be deleted!",
1187
1187
  "text.already_existed": "행 {state.text}이(가) 이미 존재 합니다",
@@ -1743,6 +1743,8 @@
1743
1743
  "text.unpacking": "해포",
1744
1744
  "text.update_arrival_notice_details": "[ko]update arrival notice details",
1745
1745
  "text.update_release_order_details": "[ko] update release order details",
1746
+ "text.updating_the_carton_id_is_not_permitted": "[ko] updating the carton id is not permitted",
1747
+ "text.updating_the_pallet_id_is_not_permitted": "[ko] updating the pallet id is not permitted",
1746
1748
  "text.use_normal_pallet": "[ko] use normal pallet",
1747
1749
  "text.user_bizplaces_updated": "user bizplaces updated",
1748
1750
  "text.user_info_not_valid": "user infor not valid",
@@ -1782,7 +1784,14 @@
1782
1784
  "text.update_vas_order": "[ko]update vas order",
1783
1785
  "text.vas_order_updated": "[ko]vas order updated",
1784
1786
  "text.there_are_damaged_inventories": "[ko]there are damaged inventories",
1785
- "title.add_inventory": "[ko] add inventory",
1787
+ "text.adjustment_code_is_required_kindly_fill_in_the_adjustment_code_to_continue": "[ko] Adjustment Code is required. Kindly fill in the adjustment code to continue",
1788
+ "text.adjustment_note_is_required_kindly_fill_in_the_adjustment_note_to_continue": "[ko] Adjustment Note is required. Kindly fill in the adjustment note to continue",
1789
+ "text.company_is_required_kindly_fill_in_the_company_to_continue": "[ko] Company is required. Kindly fill in the company to continue",
1790
+ "text.location_is_required_kindly_fill_in_the_location_to_continue": "[ko] Location is required. Kindly fill in the location to continue",
1791
+ "text.batch_no_is_required_kindly_fill_in_the_batch_no_to_continue": "[ko] Batch No is required. Kindly fill in the batch no to continue",
1792
+ "text.sku_is_required_kindly_fill_in_the_sku_to_continue": "[ko] SKU is required. Kindly fill in the sku to continue",
1793
+ "text.qty_is_required_kindly_fill_in_the_qty_to_continue": "[ko] Qty is required. Kindly fill in the qty to continue",
1794
+ "text.total_uom_value_is_required_kindly_fill_in_the_total_uom_value_to_continue": "[ko] Total uom value is required. Kindly fill in the total uom value to continue",
1786
1795
  "title.add_product": "[ko] add product",
1787
1796
  "title.add_rule_field": "규칙 필드 추가",
1788
1797
  "title.add_tracking_no": "[ko] add tracking no",
@@ -694,6 +694,14 @@
694
694
  "field.completion_vas_to_date": "[ms]completion vas to date",
695
695
  "field.unit_uom_value": "[ms]unit uom value",
696
696
  "field.completion_date": "[ms]completion date",
697
+ "field.*_total_uom_value": "[ms] *total uom value",
698
+ "field.*_adjustment_code": "[ms] *adjustment code",
699
+ "field.*_adjustment_note": "[ms] *adjustment note",
700
+ "field.*_batch_no": "[ms] *batch no.",
701
+ "field.*_company": "[ms] *company",
702
+ "field.*_location": "[ms] *location",
703
+ "field.*_qty": "[ms] *qty",
704
+ "field.*_sku": "[ms] *sku",
697
705
  "label.activated": "activated",
698
706
  "label.actual_qty": "qty sebenar",
699
707
  "label.add_extension": "add extension",
@@ -1150,14 +1158,6 @@
1150
1158
  "text.add_edit_products_has_been_submitted_for_approval": "[ms]add/edit order products has been submitted for approval",
1151
1159
  "text.add_extra_product": "add extra product",
1152
1160
  "text.adjustment_pending_admin_approval": "adjustment pending admin approval",
1153
- "text.Adjustment_Code_required._Kindly_fill_in_the_Adjustment_code_to_continue": "[ms] Adjustment Code required. Kindly fill in the Adjustment code to continue",
1154
- "text.Adjustment_Note_required._Kindly_fill_in_the_Adjustment_note_to_continue": "[ms] Adjustment Note required. Kindly fill in the Adjustment note to continue",
1155
- "text.Company_required._Kindly_fill_in_the_Company_to_continue": "[ms] Company required. Kindly fill in the Company to continue",
1156
- "text.Location_required._Kindly_fill_in_the_Location_to_continue": "[ms] Location required. Kindly fill in the Location to continue",
1157
- "text.Batch_No._required._Kindly_fill_in_the_Batch_no._to_continue": "[ms] Batch No. required. Kindly fill in the Batch no. to continue",
1158
- "text.SKU_required._Kindly_fill_in_the_SKU_to_continue": "[ms] SKU required. Kindly fill in the SKU to continue",
1159
- "text.Qty_required._Kindly_fill_in_the_Qty_to_continue": "[ms] Qty required. Kindly fill in the Qty to continue",
1160
- "text.Total_uom_value_required._Kindly_fill_in_the_Total_uom_value_to_continue": "[ms] Total uom value required. Kindly fill in the Total uom value to continue",
1161
1161
  "text.advise_mt_date_is_empty": "advise mt date is empty",
1162
1162
  "text.all_related_serial_number_will_be_deleted": "[ms] all related serial number will be deleted!",
1163
1163
  "text.already_existed": "baris {state.text} telah tersedia",
@@ -1665,6 +1665,8 @@
1665
1665
  "text.unpacking": "tidak dibungkus",
1666
1666
  "text.update_arrival_notice_details": "[ms]update arrival notice details",
1667
1667
  "text.update_release_order_details": "[ms] update release order details",
1668
+ "text.updating_the_carton_id_is_not_permitted": "[ms] updating the carton id is not permitted",
1669
+ "text.updating_the_pallet_id_is_not_permitted": "[ms] updating the pallet id is not permitted",
1668
1670
  "text.use_normal_pallet": "[ms] use normal pallet",
1669
1671
  "text.vas_has_been_completed": "VAS telah selesai",
1670
1672
  "text.vas_is_completed": "VAS selesai",
@@ -1699,7 +1701,14 @@
1699
1701
  "text.update_vas_order": "[ms]update vas order",
1700
1702
  "text.vas_order_updated": "[ms]vas order updated",
1701
1703
  "text.there_are_damaged_inventories": "[ms]there are damaged inventories",
1702
- "title.add_inventory": "[ms] add inventory",
1704
+ "text.adjustment_code_is_required_kindly_fill_in_the_adjustment_code_to_continue": "[ms] Adjustment Code is required. Kindly fill in the adjustment code to continue",
1705
+ "text.adjustment_note_is_required_kindly_fill_in_the_adjustment_note_to_continue": "[ms] Adjustment Note is required. Kindly fill in the adjustment note to continue",
1706
+ "text.company_is_required_kindly_fill_in_the_company_to_continue": "[ms] Company is required. Kindly fill in the company to continue",
1707
+ "text.location_is_required_kindly_fill_in_the_location_to_continue": "[ms] Location is required. Kindly fill in the location to continue",
1708
+ "text.batch_no_is_required_kindly_fill_in_the_batch_no_to_continue": "[ms] Batch No is required. Kindly fill in the batch no to continue",
1709
+ "text.sku_is_required_kindly_fill_in_the_sku_to_continue": "[ms] SKU is required. Kindly fill in the sku to continue",
1710
+ "text.qty_is_required_kindly_fill_in_the_qty_to_continue": "[ms] Qty is required. Kindly fill in the qty to continue",
1711
+ "text.total_uom_value_is_required_kindly_fill_in_the_total_uom_value_to_continue": "[ms] Total uom value is required. Kindly fill in the total uom value to continue",
1703
1712
  "title.add_product": "[ms] add product",
1704
1713
  "title.add_rule_field": "add rule field",
1705
1714
  "title.add_tracking_no": "[ms] add tracking no",
@@ -673,6 +673,14 @@
673
673
  "field.completion_vas_to_date": "[zh]completion vas to date",
674
674
  "field.unit_uom_value": "[zh]unit uom value",
675
675
  "field.completion_date": "[zh]completion date",
676
+ "field.*_total_uom_value": "[zh] *total uom value",
677
+ "field.*_adjustment_code": "[zh] *adjustment code",
678
+ "field.*_adjustment_note": "[zh] *adjustment note",
679
+ "field.*_batch_no": "[zh] *batch no.",
680
+ "field.*_company": "[zh] *company",
681
+ "field.*_location": "[zh] *location",
682
+ "field.*_qty": "[zh] *qty",
683
+ "field.*_sku": "[zh] *sku",
676
684
  "label.activated": "activated",
677
685
  "label.actual_qty": "actual qty",
678
686
  "label.add_extension": "add extension",
@@ -1117,14 +1125,6 @@
1117
1125
  "text.add_edit_products_has_been_submitted_for_approval": "[zh]add/edit order products has been submitted for approval",
1118
1126
  "text.add_extra_product": "add extra product",
1119
1127
  "text.adjustment_pending_admin_approval": "adjustment pending admin approval",
1120
- "text.Adjustment_Code_required._Kindly_fill_in_the_Adjustment_code_to_continue": "[zh] Adjustment Code required. Kindly fill in the Adjustment code to continue",
1121
- "text.Adjustment_Note_required._Kindly_fill_in_the_Adjustment_note_to_continue": "[zh] Adjustment Note required. Kindly fill in the Adjustment note to continue",
1122
- "text.Company_required._Kindly_fill_in_the_Company_to_continue": "[zh] Company required. Kindly fill in the Company to continue",
1123
- "text.Location_required._Kindly_fill_in_the_Location_to_continue": "[zh] Location required. Kindly fill in the Location to continue",
1124
- "text.Batch_No._required._Kindly_fill_in_the_Batch_no._to_continue": "[zh] Batch No. required. Kindly fill in the Batch no. to continue",
1125
- "text.SKU_required._Kindly_fill_in_the_SKU_to_continue": "[zh] SKU required. Kindly fill in the SKU to continue",
1126
- "text.Qty_required._Kindly_fill_in_the_Qty_to_continue": "[zh] Qty required. Kindly fill in the Qty to continue",
1127
- "text.Total_uom_value_required._Kindly_fill_in_the_Total_uom_value_to_continue": "[zh] Total uom value required. Kindly fill in the Total uom value to continue",
1128
1128
  "text.advise_mt_date_is_empty": "advise mt date is empty",
1129
1129
  "text.all_related_serial_number_will_be_deleted": "[zh] all related serial number will be deleted!",
1130
1130
  "text.already_existed": "row {state.text} is already existed",
@@ -1632,6 +1632,8 @@
1632
1632
  "text.unpacking": "unpacking",
1633
1633
  "text.update_arrival_notice_details": "[zh]update arrival notice details",
1634
1634
  "text.update_release_order_details": "[zh] update release order details",
1635
+ "text.updating_the_carton_id_is_not_permitted": "[zh] updating the carton id is not permitted",
1636
+ "text.updating_the_pallet_id_is_not_permitted": "[zh] updating the pallet id is not permitted",
1635
1637
  "text.use_normal_pallet": "[zh] use normal pallet",
1636
1638
  "text.vas_has_been_completed": "vas has been completed",
1637
1639
  "text.vas_is_completed": "vas is completed",
@@ -1665,7 +1667,14 @@
1665
1667
  "text.update_vas_order": "[zh]update vas order",
1666
1668
  "text.vas_order_updated": "[zh]vas order updated",
1667
1669
  "text.there_are_damaged_inventories": "[zh]there are damaged inventories",
1668
- "title.add_inventory": "[zh] add inventory",
1670
+ "text.adjustment_code_is_required_kindly_fill_in_the_adjustment_code_to_continue": "[zh] Adjustment Code is required. Kindly fill in the adjustment code to continue",
1671
+ "text.adjustment_note_is_required_kindly_fill_in_the_adjustment_note_to_continue": "[zh] Adjustment Note is required. Kindly fill in the adjustment note to continue",
1672
+ "text.company_is_required_kindly_fill_in_the_company_to_continue": "[zh] Company is required. Kindly fill in the company to continue",
1673
+ "text.location_is_required_kindly_fill_in_the_location_to_continue": "[zh] Location is required. Kindly fill in the location to continue",
1674
+ "text.batch_no_is_required_kindly_fill_in_the_batch_no_to_continue": "[zh] Batch No is required. Kindly fill in the batch no to continue",
1675
+ "text.sku_is_required_kindly_fill_in_the_sku_to_continue": "[zh] SKU is required. Kindly fill in the sku to continue",
1676
+ "text.qty_is_required_kindly_fill_in_the_qty_to_continue": "[zh] Qty is required. Kindly fill in the qty to continue",
1677
+ "text.total_uom_value_is_required_kindly_fill_in_the_total_uom_value_to_continue": "[zh] Total uom value is required. Kindly fill in the total uom value to continue",
1669
1678
  "title.add_product": "[zh] add product",
1670
1679
  "title.add_rule_field": "add rule field",
1671
1680
  "title.add_tracking_no": "[zh] add tracking no",