@things-factory/operato-wms 4.1.34 → 4.1.37

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.
@@ -859,7 +859,6 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
859
859
  this._showToast(e)
860
860
  }
861
861
  }
862
-
863
862
  async _scanProductUnload() {
864
863
  if (this._scanning) return this._showToast({ message: i18next.t('text.previous_scan_is_executing') })
865
864
  this._scanning = true
@@ -1011,8 +1010,9 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1011
1010
  }
1012
1011
  } catch (e) {
1013
1012
  this._showToast(e)
1013
+ } finally {
1014
+ this._scanning = false
1014
1015
  }
1015
- this._scanning = false
1016
1016
  }
1017
1017
 
1018
1018
  async fetchProductDetail(gtin, productId) {
@@ -0,0 +1,297 @@
1
+ import '@things-factory/form-ui'
2
+ import '@things-factory/grist-ui'
3
+
4
+ import gql from 'graphql-tag'
5
+ import { css, html } from 'lit-element'
6
+ import { connect } from 'pwa-helpers/connect-mixin'
7
+
8
+ import { i18next, localize } from '@things-factory/i18n-base'
9
+ import { client, PageView, store } from '@things-factory/shell'
10
+ import { ScrollbarStyles } from '@things-factory/styles'
11
+ import { isMobileDevice } from '@things-factory/utils'
12
+
13
+ class NonLoadedInventory extends connect(store)(localize(i18next)(PageView)) {
14
+ static get styles() {
15
+ return [
16
+ ScrollbarStyles,
17
+ css`
18
+ :host {
19
+ display: flex;
20
+ flex-direction: column;
21
+ overflow: hidden;
22
+ }
23
+ search-form {
24
+ overflow: visible;
25
+ }
26
+ data-grist {
27
+ overflow-y: auto;
28
+ flex: 1;
29
+ }
30
+ `
31
+ ]
32
+ }
33
+
34
+ static get properties() {
35
+ return {
36
+ _email: String,
37
+ _searchFields: Array,
38
+ _expSearchFields: Array,
39
+ _showExpiration: Boolean,
40
+ config: Object,
41
+ data: Object
42
+ }
43
+ }
44
+
45
+ render() {
46
+ return html`
47
+ <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
48
+
49
+ ${this._showExpiration
50
+ ? html`<search-form
51
+ id="search-exp-form"
52
+ .fields=${this._expSearchFields}
53
+ .hideSearchButton=${true}
54
+ @submit=${e => this.dataGrist.fetch()}
55
+ ></search-form>`
56
+ : html``}
57
+
58
+ <data-grist
59
+ .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
60
+ .config=${this.config}
61
+ .fetchHandler="${this.fetchHandler.bind(this)}"
62
+ ></data-grist>
63
+ `
64
+ }
65
+
66
+ get context() {
67
+ return {
68
+ title: i18next.t('title.non_loaded_inventory')
69
+ }
70
+ }
71
+
72
+ async pageInitialized() {
73
+ this.config = {
74
+ list: {
75
+ fields: [
76
+ 'roNo',
77
+ 'palletId',
78
+ 'cartonId',
79
+ 'batchId',
80
+ 'productSku',
81
+ 'productInformation',
82
+ 'product_brand',
83
+ 'packingType',
84
+ 'qty',
85
+ 'uomValue',
86
+ 'uom',
87
+ 'binLocation'
88
+ ]
89
+ },
90
+ pagination: { pages: [20, 50, 100, 500, 999] },
91
+ rows: {
92
+ appendable: false
93
+ },
94
+ columns: [
95
+ { type: 'gutter', gutterName: 'sequence' },
96
+ { type: 'gutter', gutterName: 'row-selector', multiple: true },
97
+ {
98
+ type: 'string',
99
+ name: 'releaseOrderNo',
100
+ header: i18next.t('field.ro_no'),
101
+ sortable: true,
102
+ width: 150
103
+ },
104
+ {
105
+ type: 'string',
106
+ name: 'palletId',
107
+ header: i18next.t('field.lot_id'),
108
+ sortable: true,
109
+ width: 150
110
+ },
111
+ {
112
+ type: 'string',
113
+ name: 'cartonId',
114
+ header: i18next.t('field.carton_id'),
115
+ sortable: true,
116
+ width: 120
117
+ },
118
+ {
119
+ type: 'string',
120
+ name: 'batchId',
121
+ header: i18next.t('field.batch_id'),
122
+ imex: { header: i18next.t('field.batch_id'), key: 'batchId', width: 30, type: 'string' },
123
+ sortable: true,
124
+ width: 120
125
+ },
126
+ {
127
+ type: 'string',
128
+ name: 'productSku',
129
+ header: i18next.t('field.sku'),
130
+ sortable: true,
131
+ width: 150
132
+ },
133
+ {
134
+ type: 'string',
135
+ name: 'productName',
136
+ header: i18next.t('field.product'),
137
+ sortable: true,
138
+ width: 250
139
+ },
140
+ {
141
+ type: 'string',
142
+ name: 'productBrand',
143
+ header: i18next.t('field.brand'),
144
+ sortable: true,
145
+ width: 150
146
+ },
147
+ {
148
+ type: 'string',
149
+ name: 'packingType',
150
+ header: i18next.t('field.packing_type'),
151
+ sortable: true,
152
+ width: 150
153
+ },
154
+ {
155
+ type: 'number',
156
+ name: 'pickedQty',
157
+ header: i18next.t('field.qty'),
158
+ width: 80
159
+ },
160
+ {
161
+ type: 'float',
162
+ name: 'pickedUomValue',
163
+ header: i18next.t('field.total_uom_value'),
164
+ width: 110
165
+ },
166
+ {
167
+ type: 'string',
168
+ name: 'uom',
169
+ header: i18next.t('field.uom'),
170
+ sortable: true,
171
+ width: 80
172
+ },
173
+ {
174
+ type: 'string',
175
+ name: 'binLocation',
176
+ header: i18next.t('field.bin_location'),
177
+ sortable: true,
178
+ width: 120
179
+ }
180
+ ]
181
+ }
182
+
183
+ this._searchFields = [
184
+ {
185
+ label: i18next.t('field.product_info'),
186
+ name: 'productInfo',
187
+ type: 'text',
188
+ props: { searchOper: 'eq' }
189
+ },
190
+ {
191
+ label: i18next.t('field.batch_id'),
192
+ name: 'batchId',
193
+ type: 'text',
194
+ props: { searchOper: 'i_like' }
195
+ },
196
+ {
197
+ label: i18next.t('field.lot_id'),
198
+ name: 'palletId',
199
+ type: 'text',
200
+ props: { searchOper: 'i_like' }
201
+ },
202
+ {
203
+ label: i18next.t('field.carton_id'),
204
+ name: 'cartonId',
205
+ type: 'text',
206
+ props: { searchOper: 'i_like' }
207
+ },
208
+ {
209
+ label: i18next.t('field.ro_no'),
210
+ name: 'roNo',
211
+ type: 'text',
212
+ props: { searchOper: 'i_like' }
213
+ },
214
+ {
215
+ label: i18next.t('field.bin_location'),
216
+ name: 'binLocation',
217
+ type: 'text',
218
+ props: { searchOper: 'i_like' }
219
+ }
220
+ ]
221
+ }
222
+
223
+ async pageUpdated(changes, lifecycle) {
224
+ if (this.active) {
225
+ this.dataGrist.fetch()
226
+ }
227
+ }
228
+
229
+ get dataGrist() {
230
+ return this.shadowRoot.querySelector('data-grist')
231
+ }
232
+
233
+ get searchForm() {
234
+ return this.shadowRoot.querySelector('#search-form')
235
+ }
236
+
237
+ async fetchHandler({ page, limit, sorters = [] }) {
238
+ const filters = await this.searchForm.getQueryFilters()
239
+ const response = await client.query({
240
+ query: gql`
241
+ query nonLoadedOrderInventories($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
242
+ nonLoadedOrderInventories(filters: $filters, pagination: $pagination, sortings: $sortings) {
243
+ items {
244
+ releaseGood {
245
+ name
246
+ }
247
+ inventory {
248
+ palletId
249
+ cartonId
250
+ }
251
+ packingType
252
+ batchId
253
+ pickedQty
254
+ pickedUomValue
255
+ uom
256
+ product {
257
+ sku
258
+ name
259
+ brand
260
+ description
261
+ }
262
+ binLocation {
263
+ name
264
+ }
265
+ updatedAt
266
+ }
267
+ total
268
+ }
269
+ }
270
+ `,
271
+ variables: {
272
+ filters,
273
+ pagination: { page, limit },
274
+ sortings: sorters
275
+ }
276
+ })
277
+
278
+ return {
279
+ total: response.data.nonLoadedOrderInventories.total || 0,
280
+ records:
281
+ response.data.nonLoadedOrderInventories.items.map(item => {
282
+ return {
283
+ ...item,
284
+ productName: `${item.product.name} ${item.product.description}`,
285
+ productSku: item.product.sku,
286
+ productBrand: item.product.brand,
287
+ binLocation: item.binLocation.name,
288
+ palletId: item.inventory.palletId,
289
+ cartonId: item.inventory.cartonId,
290
+ releaseOrderNo: item.releaseGood.name
291
+ }
292
+ }) || []
293
+ }
294
+ }
295
+ }
296
+
297
+ window.customElements.define('non-loaded-inventory', NonLoadedInventory)
@@ -3,19 +3,38 @@ import '@things-factory/grist-ui'
3
3
  import '../batch-picking-popup'
4
4
 
5
5
  import gql from 'graphql-tag'
6
- import { css, html } from 'lit-element'
6
+ import {
7
+ css,
8
+ html
9
+ } from 'lit-element'
7
10
  import { connect } from 'pwa-helpers/connect-mixin'
8
11
 
9
- import { DirectPrinter } from '@things-factory/barcode-base'
10
12
  import { GhostPrint } from '@operato/ghost-print'
13
+ import { DirectPrinter } from '@things-factory/barcode-base'
11
14
  import { getCodeByName } from '@things-factory/code-base'
12
- import { i18next, localize } from '@things-factory/i18n-base'
15
+ import {
16
+ i18next,
17
+ localize
18
+ } from '@things-factory/i18n-base'
13
19
  import { openPopup } from '@things-factory/layout-base'
14
- import { client, navigate, PageView, store, CustomAlert } from '@things-factory/shell'
15
- import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
20
+ import {
21
+ client,
22
+ CustomAlert,
23
+ navigate,
24
+ PageView,
25
+ store
26
+ } from '@things-factory/shell'
27
+ import {
28
+ CommonButtonStyles,
29
+ ScrollbarStyles
30
+ } from '@things-factory/styles'
16
31
  import { isMobileDevice } from '@things-factory/utils'
17
32
 
18
- import { INTENALIZED_AWB_SETTING_KEY, ORDER_STATUS } from '../../../constants'
33
+ import { fetchSettingRule } from '../../../../fetch-setting-value'
34
+ import {
35
+ INTENALIZED_AWB_SETTING_KEY,
36
+ ORDER_STATUS
37
+ } from '../../../constants'
19
38
 
20
39
  const HEADER_JSON = {
21
40
  'Content-Type': 'application/json',
@@ -123,6 +142,7 @@ class B2cOrderRequests extends connect(store)(localize(i18next)(PageView)) {
123
142
  }
124
143
 
125
144
  async pageInitialized() {
145
+ const _enablePrintSCAwb = await fetchSettingRule('enable-print-sellercraft-airway-bill')
126
146
  const _orderStatus = await getCodeByName('RO_REQUESTS_STATUS')
127
147
  const _partners = await this._fetchPartners()
128
148
  const _shippingProviders = await this._fetchShippingProviders()
@@ -260,6 +280,29 @@ class B2cOrderRequests extends connect(store)(localize(i18next)(PageView)) {
260
280
  }
261
281
  }
262
282
  },
283
+ {
284
+ type: 'gutter',
285
+ gutterName: 'button',
286
+ icon: 'receipt',
287
+ hidden: !_enablePrintSCAwb,
288
+ handlers: {
289
+ click: async (columns, data, column, record, rowIndex) => {
290
+ if (record.airwayBill) {
291
+ let convertedPdfUrl = ''
292
+ if (record.airwayBill.includes('partner.shopeemobile.com')) {
293
+ convertedPdfUrl = `/pdf/merge?urls=${record.airwayBill}`
294
+ } else {
295
+ let url = new URL(window.location)
296
+ convertedPdfUrl = `${url.origin}/proxy?url=${record.airwayBill}`
297
+ }
298
+
299
+ this._callPrintDialog(convertedPdfUrl, true)
300
+ } else {
301
+ this._showToast({ message: i18next.t('text.there_is_no_airway_bill_for_this_ro') })
302
+ }
303
+ }
304
+ }
305
+ },
263
306
  {
264
307
  type: 'string',
265
308
  name: 'name',
@@ -417,6 +460,8 @@ class B2cOrderRequests extends connect(store)(localize(i18next)(PageView)) {
417
460
  name
418
461
  description
419
462
  }
463
+ airwayBill
464
+ trackingNo
420
465
  }
421
466
  total
422
467
  }
@@ -621,13 +666,22 @@ class B2cOrderRequests extends connect(store)(localize(i18next)(PageView)) {
621
666
  }
622
667
  }
623
668
 
624
- async _callPrintDialog(contentSource) {
625
- GhostPrint.print({
626
- srcdoc: contentSource,
627
- onfinish: () => {
628
- this._showToast({ message: i18next.t('text.document_has_been_generated') })
629
- }
630
- })
669
+ async _callPrintDialog(contentSource, isSellerCraft = false) {
670
+ if (isSellerCraft) {
671
+ GhostPrint.print({
672
+ src: contentSource,
673
+ onfinish: () => {
674
+ this._showToast({ message: i18next.t('text.document_has_been_generated') })
675
+ }
676
+ })
677
+ } else {
678
+ GhostPrint.print({
679
+ srcdoc: contentSource,
680
+ onfinish: () => {
681
+ this._showToast({ message: i18next.t('text.document_has_been_generated') })
682
+ }
683
+ })
684
+ }
631
685
  }
632
686
 
633
687
  _compareValues(key, order = 'asc') {
@@ -698,19 +698,22 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
698
698
  }
699
699
 
700
700
  //find product match with input barcode
701
- const foundOrderInventory = this.data.records.filter(itm =>
702
- itm.product.productDetails.filter(
703
- detail =>
704
- detail.gtin === this.productBarcodeInput.value.trim() &&
705
- detail.packingType == itm.product.packingType &&
706
- detail.packingSize == itm.product.packingSize
707
- )
701
+ const foundOrderInventory = this.data.records.find(
702
+ itm =>
703
+ itm.product.productDetails.find(
704
+ detail =>
705
+ detail.gtin === this.productBarcodeInput.value.trim() &&
706
+ detail.packingType == itm.packingType &&
707
+ detail.packingSize == itm.packingSize
708
+ ) != undefined
708
709
  )
709
710
 
710
- if (foundOrderInventory?.length > 0 && foundOrderInventory[0]?.status === WORKSHEET_STATUS.EXECUTING.value) {
711
- this._selectedOrderInventory = foundOrderInventory[0]
712
- } else if (foundOrderInventory?.length == 1 && foundOrderInventory[0]?.status === WORKSHEET_STATUS.DONE.value) {
713
- throw new Error(i18next.t('text.scanned_product_status_is_done'))
711
+ if (foundOrderInventory) {
712
+ if (foundOrderInventory?.status === WORKSHEET_STATUS.EXECUTING.value) {
713
+ this._selectedOrderInventory = foundOrderInventory
714
+ } else if (foundOrderInventory?.status === WORKSHEET_STATUS.DONE.value) {
715
+ throw new Error(i18next.t('text.scanned_product_status_is_done'))
716
+ }
714
717
  } else {
715
718
  throw new Error(i18next.t('text.incorrect_product_barcode'))
716
719
  }
@@ -38,6 +38,8 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
38
38
  _locationName: String,
39
39
  _reusablePalletList: Object,
40
40
  _worksheetInfo: Object,
41
+ _locationName: String,
42
+ _scannable: Boolean,
41
43
  config: Object,
42
44
  data: Object,
43
45
  isWholePicking: Boolean,
@@ -166,12 +168,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
166
168
  ?.shadowRoot?.querySelector('input')
167
169
  }
168
170
 
169
- get scannable() {
170
- let result =
171
- this._selectedOrderInventory && this._selectedOrderInventory.pickedQty != this._selectedOrderInventory.releaseQty
172
- return result
173
- }
174
-
175
171
  get taskNoInput() {
176
172
  return this.shadowRoot.querySelector('barcode-scanable-input[name=taskNo]')?.shadowRoot.querySelector('input')
177
173
  }
@@ -266,6 +262,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
266
262
  this._hasBinPicking = false
267
263
  this._reusablePalletList = { records: [] }
268
264
  this._selectedOrderInventory = null
265
+ this.scannable = false
269
266
  }
270
267
 
271
268
  render() {
@@ -298,6 +295,12 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
298
295
  @keypress="${async e => {
299
296
  if (e.keyCode === 13) {
300
297
  e.preventDefault()
298
+ if (this.binLocationInput) this.binLocationInput.value = ''
299
+ if (this.productBarcodeInput) this.productBarcodeInput.value = ''
300
+ if (this.cartonInput) this.cartonInput.value = ''
301
+ if (this.palletInput) this.palletInput.value = ''
302
+ if (this.serialInput) this.serialInput.value = ''
303
+ this._selectedOrderInventory = null
301
304
  this._currentBinLocation = null
302
305
  if (this.refPickingType === PICKING_TYPES.PICKING.value) {
303
306
  if (this.releaseGoodNoInput.value) {
@@ -664,7 +667,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
664
667
  })
665
668
 
666
669
  if (!response.errors) {
667
- if (!this._selectedOrderInventory) this.clearView()
668
670
  this.releaseGoodNo = response.data.pickingWorksheet.worksheetInfo.releaseGood.name
669
671
  this.releaseGoodId = response.data.pickingWorksheet.worksheetInfo.releaseGood.id
670
672
  if (!response.data?.pickingWorksheet) return
@@ -676,10 +678,23 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
676
678
  this._worksheetInfo = worksheetInfo
677
679
  this.data = { records: this.formatWorksheetDetailInfos(worksheetDetailInfos) }
678
680
 
681
+ if (!this._selectedOrderInventory) {
682
+ this._selectedOrderInventory = this.data.records[0]
683
+ }
684
+
685
+ if (
686
+ this._selectedOrderInventory &&
687
+ this._selectedOrderInventory.pickedQty != this._selectedOrderInventory.releaseQty
688
+ ) {
689
+ this.scannable = true
690
+ }
691
+
679
692
  if (this._selectedOrderInventory) {
680
693
  const record = this.data.records.find(record => record.name === this._selectedOrderInventory.name)
694
+ this._selectedOrderInventory = record
681
695
  this.updateSelectedItemProp(record)
682
696
  await this.updateComplete
697
+ await this.grist.reset()
683
698
  this.fillUpForm(this.inputForm, {
684
699
  ...record,
685
700
  binLocation: record?.binLocation ? record.binLocation : ''
@@ -768,6 +783,17 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
768
783
  this._worksheetInfo = worksheetInfo
769
784
  this.data = { records: this.formatWorksheetDetailInfos(worksheetDetailInfos) }
770
785
 
786
+ if (!this._selectedOrderInventory) {
787
+ this._selectedOrderInventory = this.data.records[0]
788
+ }
789
+
790
+ if (
791
+ this._selectedOrderInventory &&
792
+ this._selectedOrderInventory.pickedQty != this._selectedOrderInventory.releaseQty
793
+ ) {
794
+ this.scannable = true
795
+ }
796
+
771
797
  this._enableProductScanning = await fetchSettingRule('enable-product-scanning', worksheetInfo.partnerDomainId)
772
798
 
773
799
  if (this._selectedOrderInventory) {
@@ -777,6 +803,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
777
803
  record.palletId === this._selectedOrderInventory.palletId
778
804
  )
779
805
 
806
+ this._selectedOrderInventory = record
780
807
  this.updateSelectedItemProp(record)
781
808
 
782
809
  if (record.pickedQty == record.releaseQty) {
@@ -933,17 +960,29 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
933
960
 
934
961
  if (!this._isCartonLabel && !this._isRequireSerialNumberScanningOutbound) {
935
962
  this.palletInput.value = ''
936
- // this._selectedTaskStatus = null
937
- this._selectedOrderInventory = null
938
963
  }
939
964
 
940
965
  if (!this.isWholePicking && !this._crossDocking && !this._isCartonLabel && this.locationInput)
941
966
  this.locationInput.value = ''
942
967
  if (this.refPickingType === PICKING_TYPES.PICKING.value) {
943
- this.fetchInventories(this.releaseGoodNo)
968
+ await this.fetchInventories(this.releaseGoodNo)
944
969
  } else {
945
- this.fetchInventories(this.taskNo)
970
+ await this.fetchInventories(this.taskNo)
971
+ }
972
+
973
+ if (
974
+ this._selectedOrderInventory &&
975
+ this._selectedOrderInventory.pickedQty == this._selectedOrderInventory.releaseQty
976
+ ) {
977
+ this._selectedOrderInventory = null
978
+ if (this.refPickingType === PICKING_TYPES.PICKING.value) {
979
+ await this.fetchInventories(this.releaseGoodNo)
980
+ } else {
981
+ await this.fetchInventories(this.taskNo)
982
+ }
946
983
  }
984
+
985
+ this.focusOnInput()
947
986
  }
948
987
 
949
988
  this.isReplacement = false
@@ -960,6 +999,8 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
960
999
  .refPickingType="${this.refPickingType}"
961
1000
  .replacePalletId="${this.palletInput.value}"
962
1001
  @completed="${() => {
1002
+ this._selectedOrderInventory = null
1003
+ let a = this._selectedOrderInventory
963
1004
  if (this.refPickingType === PICKING_TYPES.PICKING.value) {
964
1005
  this.fetchInventories(this.releaseGoodNoInput.value)
965
1006
  this.fetchPalletsHandler(this.releaseGoodNoInput.value)
@@ -968,8 +1009,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
968
1009
  this.fetchPalletsHandler(this.taskNoInput.value)
969
1010
  }
970
1011
  // this._selectedTaskStatus = null
971
- this._selectedOrderInventory = null
972
- this.isReplacement = false
1012
+ this._isReplacement = false
973
1013
  this._isExecuting = false
974
1014
  }}"
975
1015
  ></picking-replacement-popup>
@@ -1204,8 +1244,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
1204
1244
 
1205
1245
  async validatePicking() {
1206
1246
  // validate for order selection
1207
- if (!this._selectedOrderInventory) throw new Error(i18next.t('text.target_is_not_selected'))
1208
-
1209
1247
  // pallet id existing
1210
1248
  if (!this._isCartonLabel) {
1211
1249
  if (!this.palletInput.value) {
@@ -1603,7 +1641,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
1603
1641
  if (this._selectedOrderInventory) {
1604
1642
  const record = this.data.records.find(record => record.name === this._selectedOrderInventory.name)
1605
1643
  if (record.pickedQty == record.releaseQty) {
1606
- if (this._isCartonLabel && this.scannable) {
1644
+ if (this._isCartonLabel) {
1607
1645
  this.cartonInput.value = ''
1608
1646
  this._focusOnCartonNoInput()
1609
1647
  }
@@ -185,8 +185,14 @@ class OutboundSerialNumberReport extends connect(store)(localize(i18next)(PageVi
185
185
  },
186
186
  {
187
187
  type: 'string',
188
- name: 'deliverTo',
189
- header: i18next.t('field.deliver_to'),
188
+ name: 'attentionTo',
189
+ header: i18next.t('field.attention_to'),
190
+ width: 200
191
+ },
192
+ {
193
+ type: 'string',
194
+ name: 'fullDeliveryAddress',
195
+ header: i18next.t('field.full_delivery_address'),
190
196
  width: 200
191
197
  },
192
198
  {
@@ -258,7 +264,7 @@ class OutboundSerialNumberReport extends connect(store)(localize(i18next)(PageVi
258
264
  'refNo1',
259
265
  'refNo2',
260
266
  'refNo3',
261
- 'deliverTo',
267
+ 'fullDeliveryAddress',
262
268
  'palletId',
263
269
  'cartonId',
264
270
  'product|sku',
@@ -336,7 +342,8 @@ class OutboundSerialNumberReport extends connect(store)(localize(i18next)(PageVi
336
342
  refNo1
337
343
  refNo2
338
344
  refNo3
339
- deliverTo
345
+ fullDeliveryAddress
346
+ attentionTo
340
347
  palletId
341
348
  cartonId
342
349
  product {
package/client/route.js CHANGED
@@ -265,6 +265,10 @@ export default function route(page) {
265
265
  import('./pages/inventory/inventory-adjustment-approval')
266
266
  return page
267
267
 
268
+ case 'non_loaded_inventory':
269
+ import('./pages/inventory/non-loaded-inventory')
270
+ return page
271
+
268
272
  case 'create_cycle_count':
269
273
  import('./pages/inventory-check/create-cycle-count')
270
274
  return page
@@ -176,7 +176,11 @@ exports.addReleaseGoodProducts = {
176
176
  }
177
177
  if (existingOrderInv) {
178
178
  // if found existing OrderInventory and worksheetDetail then qty, uomValue, and status are updated
179
- newOrderInv = Object.assign(Object.assign({}, existingOrderInv), { releaseQty: existingOrderInv.releaseQty + newOrderInv.releaseQty, releaseUomValue: existingOrderInv.releaseUomValue + newOrderInv.releaseUomValue, status: existingOrderInv.status === sales_base_1.ORDER_INVENTORY_STATUS.CANCELLED
179
+ newOrderInv = Object.assign(Object.assign({}, existingOrderInv), { releaseQty: existingOrderInv.status === sales_base_1.ORDER_INVENTORY_STATUS.REPLACED
180
+ ? newOrderInv.releaseQty
181
+ : existingOrderInv.releaseQty + newOrderInv.releaseQty, releaseUomValue: sales_base_1.ORDER_INVENTORY_STATUS.REPLACED
182
+ ? newOrderInv.releaseUomValue
183
+ : existingOrderInv.releaseUomValue + newOrderInv.releaseUomValue, status: existingOrderInv.status === sales_base_1.ORDER_INVENTORY_STATUS.CANCELLED
180
184
  ? pickingWorksheet
181
185
  ? sales_base_1.ORDER_INVENTORY_STATUS.PICKING
182
186
  : sales_base_1.ORDER_INVENTORY_STATUS.PENDING
@@ -1 +1 @@
1
- {"version":3,"file":"add-release-good-products.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/extra/add-release-good-products.ts"],"names":[],"mappings":";;;AAIA,+DAAsD;AACtD,2DAAkH;AAElH,mEAAwG;AACxG,mEAMuC;AAE1B,QAAA,sBAAsB,GAAG;IACpC,KAAK,CAAC,sBAAsB,CAAC,CAAM,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,EAAE,OAAY;;QACrG,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAsD,OAAO,CAAC,KAAK,CAAA;YAE7F,IAAI,WAAW,GAAgB,MAAM,EAAE,CAAC,aAAa,CAAC,wBAAW,CAAC,CAAC,OAAO,CAAC;gBACzE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;gBAC7B,SAAS,EAAE,CAAC,UAAU,CAAC;aACxB,CAAC,CAAA;YAEF,MAAM,QAAQ,GAAa,WAAW,CAAC,QAAQ,CAAA;YAE/C,IAAI,gBAAgB,GAAc,MAAM,EAAE,CAAC,aAAa,CAAC,0BAAS,CAAC,CAAC,OAAO,CAAC;gBAC1E,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,+BAAc,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ACF;gBAED,MAAM,EAAE,CAAC,aAAa,CAAC,0BAAS,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;aACzD;YAED,IAAI,gBAAgB,EAAE;gBACpB,yIAAyI;gBACzI,gBAAgB,mCACX,gBAAgB,KACnB,MAAM,EAAE,iCAAgB,CAAC,WAAW,GACrC,CAAA;gBAED,MAAM,EAAE,CAAC,aAAa,CAAC,0BAAS,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;aACzD;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"add-release-good-products.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/extra/add-release-good-products.ts"],"names":[],"mappings":";;;AAIA,+DAAsD;AACtD,2DAAkH;AAElH,mEAAwG;AACxG,mEAMuC;AAE1B,QAAA,sBAAsB,GAAG;IACpC,KAAK,CAAC,sBAAsB,CAAC,CAAM,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,EAAE,OAAY;;QACrG,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAsD,OAAO,CAAC,KAAK,CAAA;YAE7F,IAAI,WAAW,GAAgB,MAAM,EAAE,CAAC,aAAa,CAAC,wBAAW,CAAC,CAAC,OAAO,CAAC;gBACzE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;gBAC7B,SAAS,EAAE,CAAC,UAAU,CAAC;aACxB,CAAC,CAAA;YAEF,MAAM,QAAQ,GAAa,WAAW,CAAC,QAAQ,CAAA;YAE/C,IAAI,gBAAgB,GAAc,MAAM,EAAE,CAAC,aAAa,CAAC,0BAAS,CAAC,CAAC,OAAO,CAAC;gBAC1E,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,+BAAc,CAAC,OAAO,EAAE;aACrD,CAAC,CAAA;YAEF,IAAI,gBA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BACzC,yGAAyG;4BACzG,MAAM,IAAA,+CAA8B,EAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,CAAC,CAAA;yBACxF;qBACF;iBACF;gBAED,MAAM,EAAE,CAAC,aAAa,CAAC,0BAAS,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;aACzD;YAED,IAAI,gBAAgB,EAAE;gBACpB,yIAAyI;gBACzI,gBAAgB,mCACX,gBAAgB,KACnB,MAAM,EAAE,iCAAgB,CAAC,WAAW,GACrC,CAAA;gBAED,MAAM,EAAE,CAAC,aAAa,CAAC,0BAAS,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;aACzD;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
@@ -41,7 +41,8 @@ exports.outboundSerialNumberReport = {
41
41
  select * from (
42
42
  select
43
43
  row_number() over(partition by rg."name" order by coalesce(w.started_at, ii.created_at), p.sku ) as "no",
44
- rg."name" as "order_no", coalesce(cp2.company_name, cp2.name, cp2.company_name, cp.name, rg.attention_company, rg.attention_to) as "deliver_to",
44
+ rg."name" as "order_no", concat_ws(', ',rg.delivery_address_1,rg.delivery_address_2,rg.delivery_address_3,rg.delivery_address_4,rg.delivery_address_5,rg.postal_code,rg.city,rg.state) as "full_delivery_address",
45
+ rg."attention_to" as "attention_to",
45
46
  i.pallet_id, i.carton_id, rg.ref_no, rg.ref_no_2, rg.ref_no_3,
46
47
  p.id as "product_id", p.sku as "product_sku", p.brand_sku as "product_brand_sku",
47
48
  p.name as "product_name", p.description as "product_description", p."type" as "product_type",
@@ -82,7 +83,8 @@ exports.outboundSerialNumberReport = {
82
83
  description: bizplace.description,
83
84
  name: bizplace.name
84
85
  },
85
- deliverTo: itm.deliver_to,
86
+ fullDeliveryAddress: itm.full_delivery_address,
87
+ attentionTo: itm.attention_to,
86
88
  palletId: itm.pallet_id,
87
89
  cartonId: itm.carton_id,
88
90
  orderNo: itm.order_no,
@@ -1 +1 @@
1
- {"version":3,"file":"outbound-serial-number-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/outbound-serial-number-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,0BAA0B,GAAG;IACxC,KAAK,CAAC,0BAA0B,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACtE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;YAC1D,IAAI,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAClE,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACpE,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YAChE,IAAI,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,OAAO,CAAC,CAAA;YAE9D,IAAI,UAAU,EAAE;gBACd,MAAM,IAAI,GAAS,MAAM,EAAE,CAAC,aAAa,CAAC,gBAAI,CAAC,CAAC,OAAO,CAAC;oBACtD,KAAK,EAAE,EAAE,EAAE,EAAE,UAAU,CAAC,KAAK,EAAE;oBAC/B,SAAS,EAAE,CAAC,WAAW,CAAC;iBACzB,CAAC,CAAA;gBAEF,MAAM,QAAQ,GAA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OutboundSerialNumberReport {
10
10
  no: Int
11
11
  bizplace: Bizplace
12
- deliverTo: String
12
+ fullDeliveryAddress: String
13
+ attentionTo:String
13
14
  palletId: String
14
15
  cartonId: String
15
16
  orderNo: String
@@ -1 +1 @@
1
- {"version":3,"file":"outbound-serial-number-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/outbound-serial-number-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;CAe5C,CAAA"}
1
+ {"version":3,"file":"outbound-serial-number-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/outbound-serial-number-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;CAgB5C,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.1.34",
3
+ "version": "4.1.37",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -84,9 +84,9 @@
84
84
  "@things-factory/print-proxy-service": "^4.1.28",
85
85
  "@things-factory/print-service": "^4.1.28",
86
86
  "@things-factory/print-ui": "^4.1.28",
87
- "@things-factory/product-base": "^4.1.34",
87
+ "@things-factory/product-base": "^4.1.37",
88
88
  "@things-factory/resource-ui": "^4.1.28",
89
- "@things-factory/sales-ui": "^4.1.34",
89
+ "@things-factory/sales-ui": "^4.1.37",
90
90
  "@things-factory/scene-data-transform": "^4.1.28",
91
91
  "@things-factory/scene-excel": "^4.1.28",
92
92
  "@things-factory/scene-firebase": "^4.1.28",
@@ -100,13 +100,13 @@
100
100
  "@things-factory/scene-visualizer": "^4.1.28",
101
101
  "@things-factory/setting-ui": "^4.1.28",
102
102
  "@things-factory/system-ui": "^4.1.28",
103
- "@things-factory/transport-base": "^4.1.28",
103
+ "@things-factory/transport-base": "^4.1.37",
104
104
  "@things-factory/tutorial-ui": "^4.1.28",
105
- "@things-factory/warehouse-base": "^4.1.34",
106
- "@things-factory/worksheet-base": "^4.1.34"
105
+ "@things-factory/warehouse-base": "^4.1.37",
106
+ "@things-factory/worksheet-base": "^4.1.37"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@things-factory/builder": "^4.1.28"
110
110
  },
111
- "gitHead": "44aa74caa0f26a4b09ddf29c16cf8f3bfcd9b6bd"
111
+ "gitHead": "cc34a73ab56ed192e1f2babe6954a817c473a46c"
112
112
  }
@@ -251,8 +251,13 @@ export const addReleaseGoodProducts = {
251
251
  // if found existing OrderInventory and worksheetDetail then qty, uomValue, and status are updated
252
252
  newOrderInv = {
253
253
  ...existingOrderInv,
254
- releaseQty: existingOrderInv.releaseQty + newOrderInv.releaseQty,
255
- releaseUomValue: existingOrderInv.releaseUomValue + newOrderInv.releaseUomValue,
254
+ releaseQty:
255
+ existingOrderInv.status === ORDER_INVENTORY_STATUS.REPLACED
256
+ ? newOrderInv.releaseQty
257
+ : existingOrderInv.releaseQty + newOrderInv.releaseQty,
258
+ releaseUomValue: ORDER_INVENTORY_STATUS.REPLACED
259
+ ? newOrderInv.releaseUomValue
260
+ : existingOrderInv.releaseUomValue + newOrderInv.releaseUomValue,
256
261
  status:
257
262
  existingOrderInv.status === ORDER_INVENTORY_STATUS.CANCELLED
258
263
  ? pickingWorksheet
@@ -50,7 +50,8 @@ export const outboundSerialNumberReport = {
50
50
  select * from (
51
51
  select
52
52
  row_number() over(partition by rg."name" order by coalesce(w.started_at, ii.created_at), p.sku ) as "no",
53
- rg."name" as "order_no", coalesce(cp2.company_name, cp2.name, cp2.company_name, cp.name, rg.attention_company, rg.attention_to) as "deliver_to",
53
+ rg."name" as "order_no", concat_ws(', ',rg.delivery_address_1,rg.delivery_address_2,rg.delivery_address_3,rg.delivery_address_4,rg.delivery_address_5,rg.postal_code,rg.city,rg.state) as "full_delivery_address",
54
+ rg."attention_to" as "attention_to",
54
55
  i.pallet_id, i.carton_id, rg.ref_no, rg.ref_no_2, rg.ref_no_3,
55
56
  p.id as "product_id", p.sku as "product_sku", p.brand_sku as "product_brand_sku",
56
57
  p.name as "product_name", p.description as "product_description", p."type" as "product_type",
@@ -99,7 +100,8 @@ export const outboundSerialNumberReport = {
99
100
  description: bizplace.description,
100
101
  name: bizplace.name
101
102
  },
102
- deliverTo: itm.deliver_to,
103
+ fullDeliveryAddress: itm.full_delivery_address,
104
+ attentionTo:itm.attention_to,
103
105
  palletId: itm.pallet_id,
104
106
  cartonId: itm.carton_id,
105
107
  orderNo: itm.order_no,
@@ -4,7 +4,8 @@ export const OutboundSerialNumberReport = gql`
4
4
  type OutboundSerialNumberReport {
5
5
  no: Int
6
6
  bizplace: Bizplace
7
- deliverTo: String
7
+ fullDeliveryAddress: String
8
+ attentionTo:String
8
9
  palletId: String
9
10
  cartonId: String
10
11
  orderNo: String
@@ -265,6 +265,10 @@ export default {
265
265
  tagname: 'inventory-adjustment-approval',
266
266
  page: 'inventory_adjustment_approval'
267
267
  },
268
+ {
269
+ tagname: 'non-loaded-inventory',
270
+ page: 'non_loaded_inventory'
271
+ },
268
272
  {
269
273
  tagname: 'create-cycle-count',
270
274
  page: 'create_cycle_count'
@@ -151,6 +151,7 @@
151
151
  "field.batch_no": "batch no.",
152
152
  "field.before": "before",
153
153
  "field.billing_mode": "billing mode",
154
+ "field.bin_location": "bin location",
154
155
  "field.branch": "branch",
155
156
  "field.brand_sku": "brand sku",
156
157
  "field.brand": "brand",
@@ -244,6 +245,7 @@
244
245
  "field.from_date": "from date",
245
246
  "field.from_pallet": "from pallet",
246
247
  "field.from": "from",
248
+ "field.full_delivery_address": "full delivery address",
247
249
  "field.gan_no": "GAN No.",
248
250
  "field.gan_status": "GAN status",
249
251
  "field.gan": "GAN",
@@ -1314,6 +1316,7 @@
1314
1316
  "text.there_is_additional_operation": "there is additional operation",
1315
1317
  "text.there_is_completed_item_already": "there is completed item already",
1316
1318
  "text.there_is_duplicated_products": "there is duplicated products",
1319
+ "text.there_is_no_airway_bill_for_this_ro": "there is no airway bill for this RO",
1317
1320
  "text.there_is_no_arrival_notice_no": "there is no arrival notice no",
1318
1321
  "text.there_is_no_from_location": "there is no from location",
1319
1322
  "text.there_is_no_inventory": "there is no inventory",
@@ -1540,6 +1543,7 @@
1540
1543
  "title.my_worksheet_list": "my worksheet list",
1541
1544
  "title.new_release_product_list": "new release product list",
1542
1545
  "title.non_assigned_vas": "unassigned vas",
1546
+ "title.non_loaded_inventory": "non loaded inventory",
1543
1547
  "title.onhand_inventory": "onhand inventory",
1544
1548
  "title.operation_type": "operation type",
1545
1549
  "title.order_information": "order information",
@@ -161,6 +161,7 @@
161
161
  "field.batch_no": "[ko]batch no.",
162
162
  "field.before": "이전",
163
163
  "field.billing_mode": "청구 유형",
164
+ "field.bin_location": "[ko]bin location",
164
165
  "field.branch": "지점",
165
166
  "field.brand_image": "[ko]brand image",
166
167
  "field.brand_name": "[ko]brand name",
@@ -1399,6 +1400,7 @@
1399
1400
  "text.there_is_additional_operation": "추가작업이 있습니다",
1400
1401
  "text.there_is_completed_item_already": "이미 완료된 상품이 있습니다",
1401
1402
  "text.there_is_duplicated_products": "[ko]there is duplicated products",
1403
+ "text.there_is_no_airway_bill_for_this_ro": "[ko]there is no airway bill for this RO",
1402
1404
  "text.there_is_no_arrival_notice_no": "출고주문번호가 없습니다",
1403
1405
  "text.there_is_no_from_location": "from 로케이션이 없습니다",
1404
1406
  "text.there_is_no_input_for_truck_no": "there is no input for truck no",
@@ -1667,6 +1669,7 @@
1667
1669
  "title.my_worksheet_list": "내 작업리스트",
1668
1670
  "title.new_release_product_list": "새 출고 상품 목록",
1669
1671
  "title.non_assigned_vas": "미할당 부가서비스",
1672
+ "title.non_loaded_inventory": "[ko]non loaded inventory",
1670
1673
  "title.onhand_inventory": "관리중 재고",
1671
1674
  "title.operation_type": "작업 유형",
1672
1675
  "title.order_information": "[ko] order information",
@@ -155,6 +155,7 @@
155
155
  "field.batch_no": "[ms]batch no.",
156
156
  "field.before": "before",
157
157
  "field.billing_mode": "mod pengiraan bil",
158
+ "field.bin_location": "[ms]bin location",
158
159
  "field.branch": "cawangan",
159
160
  "field.brand_sku": "[ms]brand sku",
160
161
  "field.brand": "[ms] brand",
@@ -1322,6 +1323,7 @@
1322
1323
  "text.there_is_additional_operation": "terdapat operasi tambahan",
1323
1324
  "text.there_is_completed_item_already": "there is completed item already",
1324
1325
  "text.there_is_duplicated_products": "[ms]there is duplicated products",
1326
+ "text.there_is_no_airway_bill_for_this_ro": "[ms]there is no airway bill for this RO",
1325
1327
  "text.there_is_no_arrival_notice_no": "pesanan ketibaan tidak dapat dicari",
1326
1328
  "text.there_is_no_from_location": "tiada dari lokasi",
1327
1329
  "text.there_is_no_inventory": "tiada inventori",
@@ -1561,6 +1563,7 @@
1561
1563
  "title.my_worksheet_list": "[ms] my worksheet list",
1562
1564
  "title.new_release_product_list": "new release product list",
1563
1565
  "title.non_assigned_vas": "unassigned vas",
1566
+ "title.non_loaded_inventory": "[ms]non loaded inventory",
1564
1567
  "title.onhand_inventory": "inventori yang diperoleh",
1565
1568
  "title.operation_type": "jenis operasi",
1566
1569
  "title.order_information": "[ms] order information",
@@ -152,6 +152,7 @@
152
152
  "field.batch_no": "[zh]batch no.",
153
153
  "field.before": "before",
154
154
  "field.billing_mode": "billing mode",
155
+ "field.bin_location": "[zh]bin location",
155
156
  "field.branch": "branch",
156
157
  "field.brand_sku": "[zh]brand sku",
157
158
  "field.brand": "[zh] brand",
@@ -1289,6 +1290,7 @@
1289
1290
  "text.there_is_additional_operation": "[zh]there is additional operation",
1290
1291
  "text.there_is_completed_item_already": "[zh]there is completed item already",
1291
1292
  "text.there_is_duplicated_products": "[zh]there is duplicated products",
1293
+ "text.there_is_no_airway_bill_for_this_ro": "[zh]there is no airway bill for this RO",
1292
1294
  "text.there_is_no_arrival_notice_no": "[zh]there is no arrival notice no",
1293
1295
  "text.there_is_no_from_location": "[zh]there is no from location",
1294
1296
  "text.there_is_no_inventory": "[zh]there is no inventory",
@@ -1518,6 +1520,7 @@
1518
1520
  "title.my_worksheet_list": "[zh] my worksheet list",
1519
1521
  "title.new_release_product_list": "[zh] new release product list",
1520
1522
  "title.non_assigned_vas": "[zh] unassigned vas",
1523
+ "title.non_loaded_inventory": "[zh]non loaded inventory",
1521
1524
  "title.onhand_inventory": "[zh] onhand inventory",
1522
1525
  "title.operation_type": "[zh] operation type",
1523
1526
  "title.order_information": "[zh] order information",