@things-factory/operato-wms 4.3.79 → 4.3.80-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/pages/bulk-operation/bulk-operation.js +1 -0
- package/client/pages/components/select-inventory-popup.js +8 -2
- package/client/pages/components/select-product-popup.js +31 -2
- package/client/pages/inventory/inventory-adjustment-approval.js +4 -5
- package/client/pages/inventory/inventory-adjustment.js +7 -0
- package/client/pages/inventory-check/create-cycle-count.js +2 -3
- package/client/pages/order/arrival-notice/arrival-notice-detail.js +1 -1
- package/client/pages/order/arrival-notice/create-arrival-notice.js +1 -0
- package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +2 -0
- package/client/pages/order/arrival-notice/edit-product-popup.js +2 -0
- package/client/pages/order/draft-release-good/draft-release-good-detail.js +7 -1
- package/client/pages/order/release-order/create-release-order.js +29 -19
- package/client/pages/order/release-order/release-extra-product-popup.js +4 -1
- package/client/pages/order/release-order/release-order-detail.js +5 -1
- package/client/pages/order/return-order/create-return-order.js +1 -0
- package/client/pages/order/return-order/return-order-inventory-popup.js +1 -0
- package/client/pages/outbound/inventory-reassign-popup.js +6 -0
- package/client/pages/outbound/picking-product.js +11 -1
- package/dist-server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.js +4 -5
- package/dist-server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.js.map +1 -1
- package/dist-server/graphql/resolvers/other/add-release-good-products.js +7 -11
- package/dist-server/graphql/resolvers/other/add-release-good-products.js.map +1 -1
- package/dist-server/graphql/resolvers/reports/costing-report.js +18 -24
- package/dist-server/graphql/resolvers/reports/costing-report.js.map +1 -1
- package/dist-server/graphql/resolvers/reports/inbound-order-details-report.js +6 -6
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js +5 -6
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js.map +1 -1
- package/package.json +50 -50
- package/server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.ts +4 -5
- package/server/graphql/resolvers/other/add-release-good-products.ts +8 -12
- package/server/graphql/resolvers/reports/costing-report.ts +18 -24
- package/server/graphql/resolvers/reports/inbound-order-details-report.ts +6 -6
- package/server/graphql/resolvers/reports/outbound-order-details-report.ts +5 -6
- package/translations/en.json +2 -2
- package/translations/ko.json +2 -2
- package/translations/ms.json +2 -2
- package/translations/zh.json +1 -1
|
@@ -477,6 +477,7 @@ class BulkOperation extends localize(i18next)(PageView) {
|
|
|
477
477
|
country: String(record.country || ''),
|
|
478
478
|
sku: String(record.sku || ''),
|
|
479
479
|
productId: String(record.productId || ''),
|
|
480
|
+
productDetailId: String(record.productDetailId || ''),
|
|
480
481
|
packingType: record.packingType && record.packingType != '' ? String(record.packingType) : null,
|
|
481
482
|
packingSize: !isNaN(Number(record.packingSize || 'x')) ? Number(record.packingSize) : null,
|
|
482
483
|
uom: record.uom && record.uom != '' ? String(record.uom) : null,
|
|
@@ -422,7 +422,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
if (paneType === 'product') {
|
|
425
|
-
const data = this.inventoryData
|
|
425
|
+
const data = this.inventoryData
|
|
426
426
|
|
|
427
427
|
if (data?.length > 0) {
|
|
428
428
|
const remapData = data.map(res => {
|
|
@@ -446,6 +446,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
446
446
|
items {
|
|
447
447
|
id
|
|
448
448
|
productId
|
|
449
|
+
productDetailId
|
|
449
450
|
batchId
|
|
450
451
|
batchIdRef
|
|
451
452
|
groupType
|
|
@@ -493,6 +494,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
493
494
|
palletId
|
|
494
495
|
cartonId
|
|
495
496
|
productId
|
|
497
|
+
productDetailId
|
|
496
498
|
productSKU
|
|
497
499
|
productName
|
|
498
500
|
productBrand
|
|
@@ -540,7 +542,6 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
540
542
|
this.dispatchEvent(
|
|
541
543
|
new CustomEvent('selected', {
|
|
542
544
|
detail: {
|
|
543
|
-
productDetailId: selectedProduct.id,
|
|
544
545
|
packingType: selectedProduct.packingType,
|
|
545
546
|
uom: selectedProduct.uom,
|
|
546
547
|
uomValue: selectedProduct.uomValue,
|
|
@@ -555,6 +556,9 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
555
556
|
packingSize: selectedProduct.packingSize,
|
|
556
557
|
primaryUnit: selectedProduct.uom,
|
|
557
558
|
primaryValue: selectedProduct.uomValue
|
|
559
|
+
},
|
|
560
|
+
productDetail: {
|
|
561
|
+
id: selectedProduct.productDetailId
|
|
558
562
|
}
|
|
559
563
|
}
|
|
560
564
|
})
|
|
@@ -582,6 +586,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
582
586
|
remainQty: itm.remainQty,
|
|
583
587
|
remainUomValueWithUom: itm.remainUomValueWithUom,
|
|
584
588
|
productId: itm.productId,
|
|
589
|
+
productId: itm.productDetailId,
|
|
585
590
|
remainUomValue: itm.remainUomValue,
|
|
586
591
|
batchId: itm.batchId,
|
|
587
592
|
batchIdRef: itm.batchIdRef,
|
|
@@ -603,6 +608,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
603
608
|
remainQty: itm.remainQty,
|
|
604
609
|
remainUomValueWithUom: itm.remainUomValueWithUom,
|
|
605
610
|
productId: itm.productId,
|
|
611
|
+
productDetailId: itm.productDetailId,
|
|
606
612
|
remainUomValue: itm.remainUomValue,
|
|
607
613
|
batchId: itm.batchId,
|
|
608
614
|
batchIdRef: itm.batchIdRef,
|
|
@@ -121,7 +121,8 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
|
|
|
121
121
|
pagination: { pages: [10, 20, 50, 100] },
|
|
122
122
|
rows: {
|
|
123
123
|
appendable: false,
|
|
124
|
-
selectable: { multiple: this.selectMultipleProducts ? this.selectMultipleProducts : false }
|
|
124
|
+
selectable: { multiple: this.selectMultipleProducts ? this.selectMultipleProducts : false },
|
|
125
|
+
handlers: { dblclick: this._dblClickHandler.bind(this) }
|
|
125
126
|
},
|
|
126
127
|
columns: [
|
|
127
128
|
{ type: 'gutter', gutterName: 'sequence' },
|
|
@@ -229,6 +230,7 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
|
|
|
229
230
|
response.data.productDetails.items.map(item => {
|
|
230
231
|
return {
|
|
231
232
|
...item,
|
|
233
|
+
productName: item.product.name,
|
|
232
234
|
productId: item.product.id,
|
|
233
235
|
sku: item.product.sku,
|
|
234
236
|
brand: item.product.brand,
|
|
@@ -240,7 +242,34 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
|
|
|
240
242
|
}
|
|
241
243
|
}
|
|
242
244
|
|
|
243
|
-
|
|
245
|
+
_dblClickHandler(columns, data, column, record, rowIndex, target) {
|
|
246
|
+
if (this.selectMultipleProducts) return
|
|
247
|
+
this.dispatchEvent(
|
|
248
|
+
new CustomEvent('selected', {
|
|
249
|
+
detail: {
|
|
250
|
+
productDetailId: record.id,
|
|
251
|
+
packingType: record.packingType,
|
|
252
|
+
uom: record.uom,
|
|
253
|
+
uomValue: record.uomValue,
|
|
254
|
+
productName: `${record.name}(${record.description}(${record.sku}))`,
|
|
255
|
+
isError: false,
|
|
256
|
+
productBrand: record.brand,
|
|
257
|
+
product: {
|
|
258
|
+
id: record.productId,
|
|
259
|
+
name: record.name,
|
|
260
|
+
sku: record.sku,
|
|
261
|
+
packingType: record.packingType,
|
|
262
|
+
packingSize: record.packingSize,
|
|
263
|
+
primaryUnit: record.uom,
|
|
264
|
+
primaryValue: record.uomValue
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
})
|
|
268
|
+
)
|
|
269
|
+
history.back()
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
selectProduct(record) {
|
|
244
273
|
if (this.selectMultipleProducts !== true) {
|
|
245
274
|
const selectedProduct = this.productGrist.selected[0]
|
|
246
275
|
if (selectedProduct) {
|
|
@@ -8,7 +8,7 @@ import { connect } from 'pwa-helpers/connect-mixin'
|
|
|
8
8
|
|
|
9
9
|
import { getCodeByName } from '@things-factory/code-base'
|
|
10
10
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
11
|
-
import { client, PageView, store,gqlContext } from '@things-factory/shell'
|
|
11
|
+
import { client, PageView, store, gqlContext } from '@things-factory/shell'
|
|
12
12
|
import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
|
|
13
13
|
import { isMobileDevice } from '@things-factory/utils'
|
|
14
14
|
import { openPopup } from '@things-factory/layout-base'
|
|
@@ -142,8 +142,7 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
|
|
|
142
142
|
{ column: 'manufactureDate', name: 'Mfg. Date' },
|
|
143
143
|
{ column: 'unitCost', name: 'Unit Cost' },
|
|
144
144
|
{ column: 'inventoryItemChange', name: 'Inventory Item Changes' },
|
|
145
|
-
{ column: 'status', name: 'Status' }
|
|
146
|
-
|
|
145
|
+
{ column: 'status', name: 'Status' }
|
|
147
146
|
]
|
|
148
147
|
|
|
149
148
|
this.config = {
|
|
@@ -200,7 +199,7 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
|
|
|
200
199
|
|
|
201
200
|
if (item.column == 'status' && record.transactionType == 'MISSING') {
|
|
202
201
|
updatedVal = record.transactionType || '[N/A]'
|
|
203
|
-
}else if(item.column == 'status'){
|
|
202
|
+
} else if (item.column == 'status') {
|
|
204
203
|
updatedVal = '[N/A]'
|
|
205
204
|
}
|
|
206
205
|
|
|
@@ -692,4 +691,4 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
|
|
|
692
691
|
}
|
|
693
692
|
}
|
|
694
693
|
|
|
695
|
-
window.customElements.define('inventory-adjustment-approval', InventoryAdjustmentApproval)
|
|
694
|
+
window.customElements.define('inventory-adjustment-approval', InventoryAdjustmentApproval)
|
|
@@ -586,6 +586,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
586
586
|
isRequireSerialNumberScanningOutbound
|
|
587
587
|
isRequireSerialNumberScanningInbound
|
|
588
588
|
}
|
|
589
|
+
productDetail {
|
|
590
|
+
id
|
|
591
|
+
}
|
|
589
592
|
qty
|
|
590
593
|
lockedQty
|
|
591
594
|
warehouse {
|
|
@@ -651,6 +654,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
651
654
|
description
|
|
652
655
|
productInformation
|
|
653
656
|
}
|
|
657
|
+
productDetail {
|
|
658
|
+
id
|
|
659
|
+
}
|
|
654
660
|
qty
|
|
655
661
|
lockedQty
|
|
656
662
|
warehouse {
|
|
@@ -895,6 +901,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
895
901
|
|
|
896
902
|
row.bizplace = row.bizplace ? { id: row.bizplace.id } : undefined
|
|
897
903
|
row.location = row.location ? { id: row.location.id } : undefined
|
|
904
|
+
row.productDetailId = row.product ? row.product.id : undefined
|
|
898
905
|
row.product = row.product ? { id: row.product.productId } : undefined
|
|
899
906
|
row.uomValue = row.uomValue ? parseFloat(row.uomValue) : undefined
|
|
900
907
|
row.unitCost = row.unitCost ? parseFloat(row.unitCost) : undefined
|
|
@@ -166,6 +166,7 @@ class CreateCycleCount extends localize(i18next)(PageView) {
|
|
|
166
166
|
descriptionField: 'productName',
|
|
167
167
|
select: [
|
|
168
168
|
{ name: 'productId', hidden: true },
|
|
169
|
+
{ name: 'productDetailId', hidden: true },
|
|
169
170
|
{ name: 'remainUomValue', hidden: true },
|
|
170
171
|
{ name: 'uom', hidden: true },
|
|
171
172
|
{ name: 'batchId', header: i18next.t('field.batch_id') },
|
|
@@ -553,9 +554,7 @@ class CreateCycleCount extends localize(i18next)(PageView) {
|
|
|
553
554
|
return {
|
|
554
555
|
batchId: itm.batchId,
|
|
555
556
|
batchIdRef: itm.batchIdRef,
|
|
556
|
-
|
|
557
|
-
packingType: itm.packingType,
|
|
558
|
-
productId: itm.productId
|
|
557
|
+
productDetailId: itm.productDetailId
|
|
559
558
|
}
|
|
560
559
|
}) || []
|
|
561
560
|
|
|
@@ -217,7 +217,7 @@ class ArrivalNoticeDetail extends localize(i18next)(PageView) {
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
if (this.isUserBelongsDomain) {
|
|
220
|
+
if (this.isUserBelongsDomain) {
|
|
221
221
|
if (this._status === ORDER_STATUS.PROCESSING.value || this._status === ORDER_STATUS.READY_TO_UNLOAD.value) {
|
|
222
222
|
actions.push(
|
|
223
223
|
{
|
|
@@ -1352,6 +1352,7 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1352
1352
|
batchId: record.batchId,
|
|
1353
1353
|
batchIdRef: record?.batchIdRef ? record.batchIdRef : null,
|
|
1354
1354
|
product: { id: record.product.id },
|
|
1355
|
+
productDetail: { id: record.productDetailId },
|
|
1355
1356
|
packingType: record.packingType,
|
|
1356
1357
|
packingSize: record.packingSize || record.product.packingSize,
|
|
1357
1358
|
uomValue: record?.uomValue ? record.uomValue : 0,
|
|
@@ -1425,6 +1425,7 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1425
1425
|
batchId: record.batchId,
|
|
1426
1426
|
batchIdRef: record?.batchIdRef ? record.batchIdRef : null,
|
|
1427
1427
|
product: { id: record.product.id },
|
|
1428
|
+
productDetail: { id: record.productDetailId },
|
|
1428
1429
|
packingType: record.packingType,
|
|
1429
1430
|
packingSize: record?.product?.packingSize ? record.product.packingSize : record.packingSize,
|
|
1430
1431
|
uomValue: record?.uomValue ? record.uomValue : 0,
|
|
@@ -1480,6 +1481,7 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1480
1481
|
} else if (record.targetType === VAS_BATCH_AND_PRODUCT_TYPE) {
|
|
1481
1482
|
result.targetBatchId = record.target.batchId
|
|
1482
1483
|
result.targetProduct = { id: record.target.productId }
|
|
1484
|
+
result.targetProductDetail = { id: record.target.productDetailId }
|
|
1483
1485
|
result.packingType = record.packingType
|
|
1484
1486
|
result.qty = record.qty
|
|
1485
1487
|
result.uomValue = record.uomValue
|
|
@@ -650,6 +650,7 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
650
650
|
palletQty: 0,
|
|
651
651
|
adjustedPalletQty: record?.palletQty ? record.palletQty : null,
|
|
652
652
|
product: { id: record.product.id },
|
|
653
|
+
productDetail: { id: record.productDetailId },
|
|
653
654
|
packingType: 'N/A',
|
|
654
655
|
adjustedPackingType: record.packingType,
|
|
655
656
|
uomValue: 0,
|
|
@@ -682,6 +683,7 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
682
683
|
adjustedBatchIdRef: record.batchIdRef === record.__origin__.batchIdRef ? null : record.batchIdRef,
|
|
683
684
|
adjustedPalletQty: record.palletQty == record.__origin__.palletQty ? null : record.palletQty,
|
|
684
685
|
product: { id: record.product.id },
|
|
686
|
+
productDetail: { id: record.productDetailId },
|
|
685
687
|
adjustedPackingType: record.packingType === record.__origin__.packingType ? null : record.packingType,
|
|
686
688
|
adjustedUomValue: record.uomValue == record.__origin__.uomValue ? null : record.uomValue,
|
|
687
689
|
adjustedUom: record.uom === record.__origin__.uom ? null : record.uom,
|
|
@@ -543,7 +543,8 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
|
|
|
543
543
|
let returnObj = {
|
|
544
544
|
...record,
|
|
545
545
|
...record.product,
|
|
546
|
-
product: { ...record.product, id: record.product
|
|
546
|
+
product: { ...record.product, id: record.product?.id || record.product.productId },
|
|
547
|
+
productDetail: { id: record.productDetail?.id || record.product.productDetailId },
|
|
547
548
|
name: record.name ? record.name : idx,
|
|
548
549
|
releaseQty: record.releaseQty < 0 ? 0 : record.releaseQty,
|
|
549
550
|
id: record.id
|
|
@@ -597,6 +598,7 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
|
|
|
597
598
|
select: [
|
|
598
599
|
{ name: 'id', hidden: true },
|
|
599
600
|
{ name: 'productId', hidden: true },
|
|
601
|
+
{ name: 'productDetailId', hidden: true },
|
|
600
602
|
{ name: 'remainUomValue', hidden: true },
|
|
601
603
|
{
|
|
602
604
|
name: 'groupType',
|
|
@@ -816,6 +818,9 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
|
|
|
816
818
|
sku
|
|
817
819
|
description
|
|
818
820
|
}
|
|
821
|
+
productDetail {
|
|
822
|
+
id
|
|
823
|
+
}
|
|
819
824
|
packingType
|
|
820
825
|
packingSize
|
|
821
826
|
uomValue
|
|
@@ -1042,6 +1047,7 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
|
|
|
1042
1047
|
id: record.id ? record.id.toString() : null,
|
|
1043
1048
|
name: record.name ? record.name.toString() : null,
|
|
1044
1049
|
product: { id: record.product.id },
|
|
1050
|
+
productDetail: { id: record.productDetail.id },
|
|
1045
1051
|
packingType: record.packingType,
|
|
1046
1052
|
uomValue: record?.uomValue ? record.uomValue : 0,
|
|
1047
1053
|
uom: record.uom,
|
|
@@ -1265,7 +1265,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
1265
1265
|
imex: { header: i18next.t('field.inventory_list'), key: 'productName', width: 50, type: 'string' },
|
|
1266
1266
|
handlers: {
|
|
1267
1267
|
click: (columns, data, column, record, rowIndex) => {
|
|
1268
|
-
this._openBulkProductSelection('product'
|
|
1268
|
+
this._openBulkProductSelection('product')
|
|
1269
1269
|
}
|
|
1270
1270
|
},
|
|
1271
1271
|
width: 350
|
|
@@ -1377,7 +1377,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
1377
1377
|
imex: { header: i18next.t('field.inventory_list'), key: 'productName', width: 50, type: 'string' },
|
|
1378
1378
|
handlers: {
|
|
1379
1379
|
click: (columns, data, column, record, rowIndex) => {
|
|
1380
|
-
this._openBulkProductSelection('pallet'
|
|
1380
|
+
this._openBulkProductSelection('pallet')
|
|
1381
1381
|
}
|
|
1382
1382
|
},
|
|
1383
1383
|
width: 350
|
|
@@ -1554,6 +1554,9 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
1554
1554
|
product: {
|
|
1555
1555
|
id: record?.inventory?.productId,
|
|
1556
1556
|
name: record?.inventory?.productName
|
|
1557
|
+
},
|
|
1558
|
+
productDetail: {
|
|
1559
|
+
id: record?.inventory?.productDetailId
|
|
1557
1560
|
}
|
|
1558
1561
|
}
|
|
1559
1562
|
}
|
|
@@ -1786,6 +1789,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
1786
1789
|
bundleId
|
|
1787
1790
|
bundleQty
|
|
1788
1791
|
productId
|
|
1792
|
+
productDetailId
|
|
1789
1793
|
productSku
|
|
1790
1794
|
productName
|
|
1791
1795
|
productDescription
|
|
@@ -2060,7 +2064,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2060
2064
|
if (!this.vasGrist.dirtyData.records.every(record => record.ready)) throw new Error('there_is_not_ready_vas')
|
|
2061
2065
|
}
|
|
2062
2066
|
|
|
2063
|
-
_openBulkProductSelection(type
|
|
2067
|
+
_openBulkProductSelection(type) {
|
|
2064
2068
|
if (this._bizplaceId) {
|
|
2065
2069
|
openPopup(
|
|
2066
2070
|
html`
|
|
@@ -2075,22 +2079,9 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2075
2079
|
for (let i = 0; i < e.detail.multipleProducts.length; i++) {
|
|
2076
2080
|
newRecords.push(e.detail.multipleProducts[i])
|
|
2077
2081
|
}
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
this.
|
|
2081
|
-
...this.inventoryData,
|
|
2082
|
-
records: [...this.inventoryGrist.dirtyData.records, ...newRecords]
|
|
2083
|
-
}
|
|
2084
|
-
} else {
|
|
2085
|
-
// update existing inventory data records
|
|
2086
|
-
this.inventoryGrist.dirtyData.records.splice(rowIndex, 1, {
|
|
2087
|
-
...this.inventoryGrist.dirtyData.records[rowIndex],
|
|
2088
|
-
...newRecords[0]
|
|
2089
|
-
})
|
|
2090
|
-
this.inventoryData = {
|
|
2091
|
-
...this.inventoryData,
|
|
2092
|
-
records: [...this.inventoryGrist.dirtyData.records]
|
|
2093
|
-
}
|
|
2082
|
+
this.inventoryData = {
|
|
2083
|
+
...this.inventoryData,
|
|
2084
|
+
records: [...this.inventoryGrist.dirtyData.records, ...newRecords]
|
|
2094
2085
|
}
|
|
2095
2086
|
}}"
|
|
2096
2087
|
></select-inventory-popup>
|
|
@@ -2116,6 +2107,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2116
2107
|
packingType: record?.inventory?.packingType,
|
|
2117
2108
|
packingSize: record?.inventory?.packingSize,
|
|
2118
2109
|
productId: record?.inventory?.productId,
|
|
2110
|
+
productDetailId: record?.inventory?.productDetailId,
|
|
2119
2111
|
groupType: record?.inventory?.groupType,
|
|
2120
2112
|
releaseQty: record.releaseQty || 0,
|
|
2121
2113
|
releaseUomValue: record.releaseUomValue || 0
|
|
@@ -2290,6 +2282,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2290
2282
|
bundleReleaseDetail = bundleReleaseDetail.records.map(item => {
|
|
2291
2283
|
return {
|
|
2292
2284
|
product: { id: item.productId, name: item.productName },
|
|
2285
|
+
productDetail: { id: item.productDetailId },
|
|
2293
2286
|
batchId: item.batchId,
|
|
2294
2287
|
packingType: item.packingType,
|
|
2295
2288
|
packingSize: item.packingSize,
|
|
@@ -2326,11 +2319,17 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2326
2319
|
id: record.inventory.productId,
|
|
2327
2320
|
name: record.inventory.productName
|
|
2328
2321
|
}
|
|
2322
|
+
newRecord.productDetail = {
|
|
2323
|
+
id: record.inventory.productDetailId
|
|
2324
|
+
}
|
|
2329
2325
|
} else {
|
|
2330
2326
|
newRecord.product = {
|
|
2331
2327
|
id: record.inventory.productId || record.inventory.product.id,
|
|
2332
2328
|
name: record.inventory.productName || record.inventory.product.name
|
|
2333
2329
|
}
|
|
2330
|
+
newRecord.productDetail = {
|
|
2331
|
+
id: record.inventory.productDetailId || record.inventory.productDetail.id
|
|
2332
|
+
}
|
|
2334
2333
|
newRecord.inventory = { id: record.id }
|
|
2335
2334
|
}
|
|
2336
2335
|
|
|
@@ -2625,6 +2624,10 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2625
2624
|
name
|
|
2626
2625
|
description
|
|
2627
2626
|
}
|
|
2627
|
+
productDetail {
|
|
2628
|
+
id
|
|
2629
|
+
name
|
|
2630
|
+
}
|
|
2628
2631
|
}
|
|
2629
2632
|
}
|
|
2630
2633
|
}
|
|
@@ -2644,6 +2647,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2644
2647
|
op.inventory = {
|
|
2645
2648
|
batchId: op.batchId,
|
|
2646
2649
|
productId: op.product.id,
|
|
2650
|
+
productDetailId: op.productDetail.id,
|
|
2647
2651
|
product: op.product,
|
|
2648
2652
|
productName: op.product.name,
|
|
2649
2653
|
palletId: i18next.t('label.cross_docking'),
|
|
@@ -2728,6 +2732,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2728
2732
|
batchId
|
|
2729
2733
|
batchIdRef
|
|
2730
2734
|
productId
|
|
2735
|
+
productDetailId
|
|
2731
2736
|
productSKU
|
|
2732
2737
|
productName
|
|
2733
2738
|
remainQty
|
|
@@ -2744,6 +2749,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2744
2749
|
batchId
|
|
2745
2750
|
batchIdRef
|
|
2746
2751
|
productId
|
|
2752
|
+
productDetailId
|
|
2747
2753
|
productSKU
|
|
2748
2754
|
productName
|
|
2749
2755
|
remainQty
|
|
@@ -2758,6 +2764,10 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2758
2764
|
name
|
|
2759
2765
|
sku
|
|
2760
2766
|
}
|
|
2767
|
+
productDetail {
|
|
2768
|
+
id
|
|
2769
|
+
name
|
|
2770
|
+
}
|
|
2761
2771
|
}
|
|
2762
2772
|
}
|
|
2763
2773
|
`,
|
|
@@ -356,6 +356,7 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
|
|
|
356
356
|
{ name: 'palletId', header: i18next.t('field.lot_id') },
|
|
357
357
|
{ name: 'cartonId', header: i18next.t('field.carton_id') },
|
|
358
358
|
{ name: 'product', type: 'object', queryName: 'products' },
|
|
359
|
+
{ name: 'productDetail', type: 'object', queryName: 'products', hidden: true },
|
|
359
360
|
{ name: 'batchId', header: i18next.t('field.batch_id') },
|
|
360
361
|
{
|
|
361
362
|
name: 'location',
|
|
@@ -846,6 +847,7 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
|
|
|
846
847
|
} else {
|
|
847
848
|
newRecord.product = { id: record.inventory.product.id, name: record.inventory.product.name }
|
|
848
849
|
newRecord.inventory = { id: record.id }
|
|
850
|
+
newRecord.productDetail = { id: record.inventory.productDetail.id }
|
|
849
851
|
}
|
|
850
852
|
|
|
851
853
|
return newRecord
|
|
@@ -865,13 +867,14 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
|
|
|
865
867
|
status: ORDER_INVENTORY_STATUS.PENDING.value
|
|
866
868
|
}
|
|
867
869
|
|
|
868
|
-
if (record.isCrossDocking)
|
|
870
|
+
if (record.isCrossDocking) existRecord.crossDocking = true
|
|
869
871
|
|
|
870
872
|
if (this._pickingStd === PICKING_STANDARD.SELECT_BY_PRODUCT.value) {
|
|
871
873
|
existRecord.product = { id: record.inventory.productId, name: record.inventory.productName }
|
|
872
874
|
} else {
|
|
873
875
|
existRecord.product = { id: record.inventory.product.id, name: record.inventory.product.name }
|
|
874
876
|
existRecord.inventory = { id: record.id }
|
|
877
|
+
existRecord.productDetail = { id: record.inventory.productDetail.id }
|
|
875
878
|
}
|
|
876
879
|
|
|
877
880
|
return existRecord
|
|
@@ -1266,6 +1266,9 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1266
1266
|
name
|
|
1267
1267
|
description
|
|
1268
1268
|
}
|
|
1269
|
+
productDetail {
|
|
1270
|
+
id
|
|
1271
|
+
}
|
|
1269
1272
|
productName
|
|
1270
1273
|
packingType
|
|
1271
1274
|
packingSize
|
|
@@ -1352,6 +1355,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1352
1355
|
name: inventoryInfo.name,
|
|
1353
1356
|
palletId: inventoryInfo.palletId,
|
|
1354
1357
|
product: inventoryInfo.product,
|
|
1358
|
+
productDetail: inventoryInfo.productDetail,
|
|
1355
1359
|
batchId: inventoryInfo.batchId,
|
|
1356
1360
|
batchIdRef: inventoryInfo.batchIdRef,
|
|
1357
1361
|
location: inventoryInfo.location,
|
|
@@ -1618,7 +1622,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1618
1622
|
try {
|
|
1619
1623
|
const response = await client.mutate({
|
|
1620
1624
|
mutation: gql`
|
|
1621
|
-
mutation generateReleaseGoodWorksheet($releaseGoodNo: String!, $currentStatus: String) {
|
|
1625
|
+
mutation generateReleaseGoodWorksheet($releaseGoodNo: String!, $currentStatus: String) {
|
|
1622
1626
|
generateReleaseGoodWorksheet(releaseGoodNo: $releaseGoodNo, currentStatus: $currentStatus) {
|
|
1623
1627
|
pickingWorksheet {
|
|
1624
1628
|
name
|
|
@@ -792,6 +792,7 @@ class CreateReturnOrder extends localize(i18next)(PageView) {
|
|
|
792
792
|
status: ORDER_INVENTORY_STATUS.PENDING.value
|
|
793
793
|
}
|
|
794
794
|
newRecord.product = { id: record?.productId, name: record?.productName }
|
|
795
|
+
newRecord.productDetail = { id: record?.productDetailId }
|
|
795
796
|
newRecord.inventory = { id: record.id }
|
|
796
797
|
return newRecord
|
|
797
798
|
})
|
|
@@ -502,6 +502,9 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
502
502
|
description
|
|
503
503
|
sku
|
|
504
504
|
}
|
|
505
|
+
productDetail {
|
|
506
|
+
id
|
|
507
|
+
}
|
|
505
508
|
releaseGood {
|
|
506
509
|
id
|
|
507
510
|
name
|
|
@@ -1025,6 +1028,7 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
1025
1028
|
$worksheetNo: String!
|
|
1026
1029
|
$batchId: String!
|
|
1027
1030
|
$productId: String!
|
|
1031
|
+
$productDetailId: String!
|
|
1028
1032
|
$packingType: String!
|
|
1029
1033
|
$packingSize: Float!
|
|
1030
1034
|
$orderProductId: String!
|
|
@@ -1034,6 +1038,7 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
1034
1038
|
worksheetNo: $worksheetNo
|
|
1035
1039
|
batchId: $batchId
|
|
1036
1040
|
productId: $productId
|
|
1041
|
+
productDetailId: $productDetailId
|
|
1037
1042
|
packingType: $packingType
|
|
1038
1043
|
packingSize: $packingSize
|
|
1039
1044
|
orderProductId: $orderProductId
|
|
@@ -1045,6 +1050,7 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
1045
1050
|
worksheetNo: this.worksheetNo,
|
|
1046
1051
|
batchId: this._selectedOrderProduct?.batchId,
|
|
1047
1052
|
productId: this._selectedOrderProduct?.product?.id,
|
|
1053
|
+
productDetailId: this._selectedOrderProduct?.productDetail?.id,
|
|
1048
1054
|
packingType: this._selectedOrderProduct?.packingType,
|
|
1049
1055
|
packingSize: this._selectedOrderProduct?.packingSize,
|
|
1050
1056
|
orderProductId: this._selectedOrderProduct?.id,
|
|
@@ -704,6 +704,9 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
704
704
|
description
|
|
705
705
|
isRequireSerialNumberScanningOutbound
|
|
706
706
|
}
|
|
707
|
+
productDetail {
|
|
708
|
+
id
|
|
709
|
+
}
|
|
707
710
|
}
|
|
708
711
|
}
|
|
709
712
|
}
|
|
@@ -844,6 +847,9 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
844
847
|
description
|
|
845
848
|
sku
|
|
846
849
|
}
|
|
850
|
+
productDetail {
|
|
851
|
+
id
|
|
852
|
+
}
|
|
847
853
|
}
|
|
848
854
|
}
|
|
849
855
|
}
|
|
@@ -946,6 +952,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
946
952
|
}
|
|
947
953
|
record.locationName = record?.location?.name
|
|
948
954
|
record.product = record?.relatedOrderInv && record?.relatedOrderInv?.product
|
|
955
|
+
record.productDetail = record?.relatedOrderInv.productDetail
|
|
949
956
|
|
|
950
957
|
if (this._crossDocking) {
|
|
951
958
|
record.batchId = record.relatedOrderInv.batchId
|
|
@@ -1394,7 +1401,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1394
1401
|
batchId: this._selectedOrderInventory.batchId,
|
|
1395
1402
|
packingType: this._selectedOrderInventory.packingType,
|
|
1396
1403
|
packingSize: this._selectedOrderInventory.packingSize,
|
|
1397
|
-
|
|
1404
|
+
productDetail: { id: this._selectedOrderInventory.productDetail.id }
|
|
1398
1405
|
},
|
|
1399
1406
|
binLocationName:
|
|
1400
1407
|
this._hasBinPicking && (!this.toteNo || this.tote == '') ? this.binLocationInput.value : null,
|
|
@@ -1855,6 +1862,9 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1855
1862
|
name
|
|
1856
1863
|
description
|
|
1857
1864
|
}
|
|
1865
|
+
productDetail {
|
|
1866
|
+
id
|
|
1867
|
+
}
|
|
1858
1868
|
}
|
|
1859
1869
|
}
|
|
1860
1870
|
}
|
|
@@ -49,7 +49,7 @@ exports.elcclInventoryHistoryReport = {
|
|
|
49
49
|
create temp table temp_data_src AS
|
|
50
50
|
(
|
|
51
51
|
SELECT prd.sku AS product_sku, prd.name AS product_name, prd.description AS product_description, trim(invh.batch_id) as batch_id, invh.product_id,
|
|
52
|
-
invh.packing_type, invh.bizplace_id, invh.domain_id,
|
|
52
|
+
invh.product_detail_id, invh.packing_type, invh.bizplace_id, invh.domain_id,
|
|
53
53
|
invh.ref_order_id, invh.order_no, invh.order_ref_no, invh.transaction_type, invh.created_at,
|
|
54
54
|
invh.qty, invh.opening_qty, invh.uom_value, invh.opening_uom_value
|
|
55
55
|
FROM reduced_inventory_histories invh
|
|
@@ -74,15 +74,14 @@ exports.elcclInventoryHistoryReport = {
|
|
|
74
74
|
0 AS rn,
|
|
75
75
|
$1 AS created_at
|
|
76
76
|
FROM (
|
|
77
|
-
SELECT src.product_sku, src.product_name, src.product_description, src.batch_id, src.product_id, src.packing_type, src.bizplace_id,
|
|
77
|
+
SELECT src.product_sku, src.product_name, src.product_description, src.batch_id, src.product_id, src.product_detail_id, src.packing_type, src.bizplace_id,
|
|
78
78
|
src.domain_id
|
|
79
79
|
FROM temp_data_src src
|
|
80
|
-
GROUP BY src.product_sku, src.product_name, src.product_description, src.batch_id, src.product_id, src.packing_type, src.bizplace_id,
|
|
80
|
+
GROUP BY src.product_sku, src.product_name, src.product_description, src.batch_id, src.product_id, src.product_detail_id, src.packing_type, src.bizplace_id,
|
|
81
81
|
src.domain_id
|
|
82
82
|
) AS src
|
|
83
83
|
LEFT JOIN inventory_histories invh ON src.batch_id = trim(invh.batch_id) AND
|
|
84
|
-
src.
|
|
85
|
-
src.packing_type = invh.packing_type AND
|
|
84
|
+
src.product_detail_id = invh.product_detail_id AND
|
|
86
85
|
src.bizplace_id = invh.bizplace_id AND
|
|
87
86
|
src.domain_id = invh.domain_id AND
|
|
88
87
|
invh.created_at < $1::timestamp AND
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elccl-inventory-history-report.js","sourceRoot":"","sources":["../../../../../server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.ts"],"names":[],"mappings":";;;AAEA,uDAAmD;AAGtC,QAAA,2BAA2B,GAAG;IACzC,KAAK,CAAC,2BAA2B,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACvE,IAAI;YACF,oDAAoD;YACpD,MAA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AAC,CAAC;6BACD,IAAI,CAAC,GAAG,CAAC;wBACZ,IAAI,CAAA;aACP;YAED,IAAI,YAAY,GAAG,EAAE,CAAA;YACrB,IAAI,OAAO,EAAE;gBACX,IAAI,YAAY,GAAG,OAAO,CAAC,KAAK;qBAC7B,WAAW,EAAE;qBACb,KAAK,CAAC,GAAG,CAAC;qBACV,GAAG,CAAC,IAAI,CAAC,EAAE;oBACV,OAAO,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,IAAI,CAAA;gBACtD,CAAC,CAAC;qBACD,IAAI,CAAC,GAAG,CAAC,CAAA;gBACZ,YAAY,GAAG;2CACoB,YAAY;6CACV,YAAY;qDACJ,YAAY;UACvD,CAAA;aACH;YAED,MAAM,EAAE,CAAC,KAAK,CACZ;;;;;;;;;;;;cAYM,YAAY;cACZ,YAAY;;SAEjB,EACD,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,CACrD,CAAA;YAED,MAAM,EAAE,CAAC,KAAK,CACZ
|
|
1
|
+
{"version":3,"file":"elccl-inventory-history-report.js","sourceRoot":"","sources":["../../../../../server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.ts"],"names":[],"mappings":";;;AAEA,uDAAmD;AAGtC,QAAA,2BAA2B,GAAG;IACzC,KAAK,CAAC,2BAA2B,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACvE,IAAI;YACF,oDAAoD;YACpD,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YAEnD,IAAI,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YAE1E,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAA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