@things-factory/operato-wms 4.3.341 → 4.3.343
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/constants/replenishment-config.js +50 -1
- package/client/pages/constants/replenishment.js +4 -4
- package/client/pages/inbound/putaway-product.js +91 -9
- package/client/pages/inbound/putaway-replenishment-inventory-popup.js +138 -0
- package/client/pages/inventory/inventory-adjustment.js +46 -4
- package/client/pages/inventory/onhand-inventory.js +28 -0
- package/client/pages/order/draft-release-good/draft-release-good-list.js +16 -0
- package/client/pages/order/release-order/b2c/b2c-order-requests.js +36 -2
- package/client/pages/outbound/single-outbound-worksheet.js +16 -15
- package/client/pages/replenishment/replenishment.js +131 -6
- package/client/pages/report/outbound-order-details-report.js +17 -0
- package/client/pages/report/replenishment-report.js +361 -0
- package/client/route.js +4 -0
- package/config.development.js +16 -15
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js +6 -3
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js.map +1 -1
- package/dist-server/graphql/types/reports/outbound-order-details-report.js +1 -0
- package/dist-server/graphql/types/reports/outbound-order-details-report.js.map +1 -1
- package/package.json +5 -5
- package/server/graphql/resolvers/reports/outbound-order-details-report.ts +6 -3
- package/server/graphql/types/reports/outbound-order-details-report.ts +1 -0
- package/things-factory.config.js +4 -0
- package/translations/en.json +6 -0
- package/translations/ko.json +6 -0
- package/translations/ms.json +6 -0
- package/translations/zh.json +6 -0
|
@@ -16,6 +16,7 @@ exports.outboundOrderDetailsReport = {
|
|
|
16
16
|
let doNo = params.filters.find(data => data.name === 'doNo');
|
|
17
17
|
let status = params.filters.find(data => data.name === 'status');
|
|
18
18
|
let binLocation = params.filters.find(data => data.name === 'binLocation');
|
|
19
|
+
let priorityDelivery = params.filters.find(data => data.name === 'priorityDelivery');
|
|
19
20
|
if (userFilter) {
|
|
20
21
|
const user = await tx.getRepository(auth_base_1.User).findOne({
|
|
21
22
|
where: { id: userFilter.value },
|
|
@@ -53,7 +54,7 @@ exports.outboundOrderDetailsReport = {
|
|
|
53
54
|
coalesce(do2.truck_no, tv.name, rg.truck_no) as vehicle_no,
|
|
54
55
|
do2.name AS "delivery_order_no", do2.delivery_date::timestamp AS "delivery_order_delivery_date", do2."to", do2.contact_point_ref_id, do2.pallet_qty,
|
|
55
56
|
coalesce(do2.delivery_date_time, do2.delivery_date::timestamp, ms.dispatched_at, null) as "dispatched_at",
|
|
56
|
-
rg.bizplace_id, $5 AS "bizplace_name", $6 AS "bizplace_description",
|
|
57
|
+
rg.bizplace_id, $5 AS "bizplace_name", $6 AS "bizplace_description", rg.priority_delivery as "priority_delivery",
|
|
57
58
|
coalesce( concat(do2.delivery_address_1, do2.delivery_address_2, do2.delivery_address_3, do2.delivery_address_4, do2.delivery_address_5, do2.postal_code, do2.country), concat(rg.delivery_address_1, rg.delivery_address_2, rg.delivery_address_3, rg.delivery_address_4, rg.delivery_address_5, rg.postal_code, rg.country)) as delivery_address,
|
|
58
59
|
so.container_no, so.container_size,
|
|
59
60
|
rg.export_option, rg.name AS "ro_no", rg."type" as "ro_type", rg.ref_no AS "ref_no_1", rg.ref_no_2 AS "ref_no_2", rg.ref_no_3 AS "ref_no_3", rg.status as "ro_status",
|
|
@@ -82,6 +83,7 @@ exports.outboundOrderDetailsReport = {
|
|
|
82
83
|
and oi.status <> 'REPLACED'
|
|
83
84
|
${status ? `and rg.status = '${status.value}' ` : ``}
|
|
84
85
|
${binLocation ? `and l.name ilike '${binLocation.value}' ` : ``}
|
|
86
|
+
${priorityDelivery ? `and rg.priority_delivery = ${priorityDelivery.value} ` : ``}
|
|
85
87
|
) src
|
|
86
88
|
where 1=1
|
|
87
89
|
${extraQueryFilters}
|
|
@@ -93,7 +95,7 @@ exports.outboundOrderDetailsReport = {
|
|
|
93
95
|
NULL, NULL,
|
|
94
96
|
NULL, NULL::timestamp, NULL, null::uuid, null,
|
|
95
97
|
null::timestamp,
|
|
96
|
-
rg.bizplace_id, $5 AS "bizplace_name", $6 AS "bizplace_description",
|
|
98
|
+
rg.bizplace_id, $5 AS "bizplace_name", $6 AS "bizplace_description", rg.priority_delivery as "priority_delivery",
|
|
97
99
|
NULL, so.container_no, so.container_size,
|
|
98
100
|
rg.export_option, rg.name AS "ro_no", rg."type" as "ro_type", rg.ref_no AS "ref_no_1", rg.ref_no_2 AS "ref_no_2", rg.ref_no_3 AS "ref_no_3", rg.status as "ro_status",
|
|
99
101
|
u1.name as "order_created_by", rg.created_at AS "order_created_at",
|
|
@@ -254,7 +256,8 @@ exports.outboundOrderDetailsReport = {
|
|
|
254
256
|
palletQty: itm.pallet_qty,
|
|
255
257
|
transportOption: itm.own_transport ? 'Own Transport' : 'Warehouse Transport',
|
|
256
258
|
vehicleNo: itm.vehicle_no,
|
|
257
|
-
driverName: itm.driver_name
|
|
259
|
+
driverName: itm.driver_name,
|
|
260
|
+
priorityDelivery: itm.priority_delivery
|
|
258
261
|
};
|
|
259
262
|
});
|
|
260
263
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,0BAA0B,GAAG;IACxC,KAAK,CAAC,0BAA0B,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACtE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;YAC1D,IAAI,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAClE,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACpE,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YAChE,IAAI,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAC5D,IAAI,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAC5D,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YAChE,IAAI,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,aAAa,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,0BAA0B,GAAG;IACxC,KAAK,CAAC,0BAA0B,CAAC,CAAM,EAAE,MAAiB,EAAE,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,CAA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,cAAc;oBACjC,SAAS,EAAE,GAAG,CAAC,UAAU;oBACzB,eAAe,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,qBAAqB;oBAC5E,SAAS,EAAE,GAAG,CAAC,UAAU;oBACzB,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,gBAAgB,EAAE,GAAG,CAAC,iBAAiB;iBACxC,CAAA;YACH,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;aACtB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA
|
|
1
|
+
{"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqE5C,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.343",
|
|
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.318",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.281",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.343",
|
|
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.301",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.281",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.343",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.343"
|
|
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": "
|
|
120
|
+
"gitHead": "791002cce6e317c1c017ca2c446131bddcb2920d"
|
|
121
121
|
}
|
|
@@ -18,6 +18,7 @@ export const outboundOrderDetailsReport = {
|
|
|
18
18
|
let doNo = params.filters.find(data => data.name === 'doNo')
|
|
19
19
|
let status = params.filters.find(data => data.name === 'status')
|
|
20
20
|
let binLocation = params.filters.find(data => data.name === 'binLocation')
|
|
21
|
+
let priorityDelivery = params.filters.find(data => data.name === 'priorityDelivery')
|
|
21
22
|
|
|
22
23
|
if (userFilter) {
|
|
23
24
|
const user: User = await tx.getRepository(User).findOne({
|
|
@@ -62,7 +63,7 @@ export const outboundOrderDetailsReport = {
|
|
|
62
63
|
coalesce(do2.truck_no, tv.name, rg.truck_no) as vehicle_no,
|
|
63
64
|
do2.name AS "delivery_order_no", do2.delivery_date::timestamp AS "delivery_order_delivery_date", do2."to", do2.contact_point_ref_id, do2.pallet_qty,
|
|
64
65
|
coalesce(do2.delivery_date_time, do2.delivery_date::timestamp, ms.dispatched_at, null) as "dispatched_at",
|
|
65
|
-
rg.bizplace_id, $5 AS "bizplace_name", $6 AS "bizplace_description",
|
|
66
|
+
rg.bizplace_id, $5 AS "bizplace_name", $6 AS "bizplace_description", rg.priority_delivery as "priority_delivery",
|
|
66
67
|
coalesce( concat(do2.delivery_address_1, do2.delivery_address_2, do2.delivery_address_3, do2.delivery_address_4, do2.delivery_address_5, do2.postal_code, do2.country), concat(rg.delivery_address_1, rg.delivery_address_2, rg.delivery_address_3, rg.delivery_address_4, rg.delivery_address_5, rg.postal_code, rg.country)) as delivery_address,
|
|
67
68
|
so.container_no, so.container_size,
|
|
68
69
|
rg.export_option, rg.name AS "ro_no", rg."type" as "ro_type", rg.ref_no AS "ref_no_1", rg.ref_no_2 AS "ref_no_2", rg.ref_no_3 AS "ref_no_3", rg.status as "ro_status",
|
|
@@ -91,6 +92,7 @@ export const outboundOrderDetailsReport = {
|
|
|
91
92
|
and oi.status <> 'REPLACED'
|
|
92
93
|
${status ? `and rg.status = '${status.value}' ` : ``}
|
|
93
94
|
${binLocation ? `and l.name ilike '${binLocation.value}' ` : ``}
|
|
95
|
+
${priorityDelivery ? `and rg.priority_delivery = ${priorityDelivery.value} ` : ``}
|
|
94
96
|
) src
|
|
95
97
|
where 1=1
|
|
96
98
|
${extraQueryFilters}
|
|
@@ -102,7 +104,7 @@ export const outboundOrderDetailsReport = {
|
|
|
102
104
|
NULL, NULL,
|
|
103
105
|
NULL, NULL::timestamp, NULL, null::uuid, null,
|
|
104
106
|
null::timestamp,
|
|
105
|
-
rg.bizplace_id, $5 AS "bizplace_name", $6 AS "bizplace_description",
|
|
107
|
+
rg.bizplace_id, $5 AS "bizplace_name", $6 AS "bizplace_description", rg.priority_delivery as "priority_delivery",
|
|
106
108
|
NULL, so.container_no, so.container_size,
|
|
107
109
|
rg.export_option, rg.name AS "ro_no", rg."type" as "ro_type", rg.ref_no AS "ref_no_1", rg.ref_no_2 AS "ref_no_2", rg.ref_no_3 AS "ref_no_3", rg.status as "ro_status",
|
|
108
110
|
u1.name as "order_created_by", rg.created_at AS "order_created_at",
|
|
@@ -275,7 +277,8 @@ export const outboundOrderDetailsReport = {
|
|
|
275
277
|
palletQty: itm.pallet_qty,
|
|
276
278
|
transportOption: itm.own_transport ? 'Own Transport' : 'Warehouse Transport',
|
|
277
279
|
vehicleNo: itm.vehicle_no,
|
|
278
|
-
driverName: itm.driver_name
|
|
280
|
+
driverName: itm.driver_name,
|
|
281
|
+
priorityDelivery: itm.priority_delivery
|
|
279
282
|
}
|
|
280
283
|
})
|
|
281
284
|
|
package/things-factory.config.js
CHANGED
package/translations/en.json
CHANGED
|
@@ -478,6 +478,7 @@
|
|
|
478
478
|
"field.primary_unit": "primary unit",
|
|
479
479
|
"field.print_qty": "print qty",
|
|
480
480
|
"field.priority": "priority",
|
|
481
|
+
"field.priority_delivery": "priority delivery",
|
|
481
482
|
"field.privileges": "privileges",
|
|
482
483
|
"field.product_brand": "product brand",
|
|
483
484
|
"field.product_code": "product code",
|
|
@@ -649,6 +650,7 @@
|
|
|
649
650
|
"field.transaction_type": "transaction type",
|
|
650
651
|
"field.transaction": "transaction",
|
|
651
652
|
"field.transfer_qty": "transfer qty",
|
|
653
|
+
"field.transfer_uom_value": "transfer uom value",
|
|
652
654
|
"field.transport_driver": "transport driver",
|
|
653
655
|
"field.transport_option": "transport option",
|
|
654
656
|
"field.transport_vehicle": "transport vehicle",
|
|
@@ -1619,6 +1621,7 @@
|
|
|
1619
1621
|
"text.supplier": "supplier",
|
|
1620
1622
|
"text.target_does_not_selected": "target is not selected",
|
|
1621
1623
|
"text.target_is_not_selected": "target is not selected",
|
|
1624
|
+
"text.the_entered_quantity_exceeds_the_transfer_qty": "the entered quantity exceeds the Transfer Qty. please adjust the quantity and try again.",
|
|
1622
1625
|
"text.there_are_damaged_inventories": "there are damaged inventories",
|
|
1623
1626
|
"text.there_is_additional_operation": "there is additional operation",
|
|
1624
1627
|
"text.there_is_completed_item_already": "there is completed item already",
|
|
@@ -1664,6 +1667,7 @@
|
|
|
1664
1667
|
"text.tracking_no_already_exist_in_other_manifest_list": "tracking no already exist in other manifest list",
|
|
1665
1668
|
"text.transfer_inventory_to_different_location": "transfer inventory to different location",
|
|
1666
1669
|
"text.transfer_location_completed": "transfer location completed",
|
|
1670
|
+
"text.transfer_quantity_cannot_be_uploaded_as_it_does_not_meet_the_minimum_required_quantity": "transfer quantity cannot be uploaded as it does not meet the minimum required quantity",
|
|
1667
1671
|
"text.truck_is_not_selected": "truck is not selected",
|
|
1668
1672
|
"text.truck_no_is_empty": "truck number is empty",
|
|
1669
1673
|
"text.unable_to_find_matching_x": "unable to find matching {state.x}",
|
|
@@ -1931,6 +1935,7 @@
|
|
|
1931
1935
|
"title.product_sku_x": "product sku: {x}",
|
|
1932
1936
|
"title.product": "product",
|
|
1933
1937
|
"title.putaway": "putaway",
|
|
1938
|
+
"title.putaway_inventories": "putaway inventories",
|
|
1934
1939
|
"title.ready_to_ship": "ready to ship",
|
|
1935
1940
|
"title.reassign_inventory": "reassign inventory",
|
|
1936
1941
|
"title.receive_arrival_notice": "receive arrival notice",
|
|
@@ -1963,6 +1968,7 @@
|
|
|
1963
1968
|
"title.replenishment_worksheet_list": "replenishment worksheet list",
|
|
1964
1969
|
"title.replenishment_worksheet": "replenishment worksheet",
|
|
1965
1970
|
"title.replenishment": "replenishment",
|
|
1971
|
+
"title.replenishment_report": "replenishment report",
|
|
1966
1972
|
"title.retail_replenishment_order_detail": "retail replenishment order detail",
|
|
1967
1973
|
"title.retail_replenishment_order_no": "replenishment order number",
|
|
1968
1974
|
"title.retail_replenishment_order_requests": "retail replenishment order requests",
|
package/translations/ko.json
CHANGED
|
@@ -476,6 +476,7 @@
|
|
|
476
476
|
"field.primary_unit": "주요 단위",
|
|
477
477
|
"field.print_qty": "출력 수량",
|
|
478
478
|
"field.priority": "[ko] priority",
|
|
479
|
+
"field.priority_delivery": "[ko] priority delivery",
|
|
479
480
|
"field.privileges": "권한",
|
|
480
481
|
"field.product_brand": "[ko]product brand",
|
|
481
482
|
"field.product_code": "제품 코드",
|
|
@@ -646,6 +647,7 @@
|
|
|
646
647
|
"field.transaction_type": "트랜잭션 유형",
|
|
647
648
|
"field.transaction": "트랜잭션",
|
|
648
649
|
"field.transfer_qty": "[ko] transfer qty",
|
|
650
|
+
"field.transfer_uom_value": "[ko] transfer uom value",
|
|
649
651
|
"field.transport_driver": "운송 운전자",
|
|
650
652
|
"field.transport_option": "[ko]transport option",
|
|
651
653
|
"field.transport_vehicle": "운송 차량",
|
|
@@ -1643,6 +1645,7 @@
|
|
|
1643
1645
|
"text.supplier": "공급사",
|
|
1644
1646
|
"text.target_is_not_selected": "대상이 선택되지 않았습니다",
|
|
1645
1647
|
"text.text.target_does_not_selected": "대상이 선택되지 않았습니다",
|
|
1648
|
+
"text.the_entered_quantity_exceeds_the_transfer_qty": "[ko] the entered quantity exceeds the Transfer Qty. please adjust the quantity and try again.",
|
|
1646
1649
|
"text.there_are_remain_products": "there are remain products",
|
|
1647
1650
|
"text.there_is_additional_operation": "추가작업이 있습니다",
|
|
1648
1651
|
"text.there_is_completed_item_already": "이미 완료된 상품이 있습니다",
|
|
@@ -1693,6 +1696,7 @@
|
|
|
1693
1696
|
"text.tracking_no_already_exist_in_other_manifest_list": "[ko]tracking no already exist in other manifest list",
|
|
1694
1697
|
"text.transfer_inventory_to_different_location": "[ko] transfer inventory to different location",
|
|
1695
1698
|
"text.transfer_location_completed": "이동 완료",
|
|
1699
|
+
"text.transfer_quantity_cannot_be_uploaded_as_it_does_not_meet_the_minimum_required_quantity": "[ko] transfer quantity cannot be uploaded as it does not meet the minimum required quantity",
|
|
1696
1700
|
"text.truck_is_not_selected": "[ko] truck is not selected",
|
|
1697
1701
|
"text.truck_no_is_empty": "[ko] truck number is empty",
|
|
1698
1702
|
"text.turn_to_pdf_successfully": "turn to pdf successfully",
|
|
@@ -2005,6 +2009,7 @@
|
|
|
2005
2009
|
"title.putaway_goods_master": "적치 상품 정보",
|
|
2006
2010
|
"title.putaway_goods_scan_area": "적치 상품 스캔 로케이션",
|
|
2007
2011
|
"title.putaway": "적치 작업",
|
|
2012
|
+
"title.putaway_inventories": "[ko] putaway inventories",
|
|
2008
2013
|
"title.ready_to_ship": "[ko]ready to ship",
|
|
2009
2014
|
"title.reassign_inventory": "[ko]reassign inventory",
|
|
2010
2015
|
"title.receive_arrival_notice": "입고 통지 접수",
|
|
@@ -2048,6 +2053,7 @@
|
|
|
2048
2053
|
"title.replenishment_worksheet_list": "[ko] replenishment worksheet list",
|
|
2049
2054
|
"title.replenishment_worksheet": "[ko] replenishment worksheet",
|
|
2050
2055
|
"title.replenishment": "[ko] replenishment",
|
|
2056
|
+
"title.replenishment_report": "[ko] replenishment report",
|
|
2051
2057
|
"title.report_inventory_warehouse": "report inventory warehouse",
|
|
2052
2058
|
"title.retail_replenishment_order_detail": "재고보충주문 상세",
|
|
2053
2059
|
"title.retail_replenishment_order_no": "재고보충주문 번호",
|
package/translations/ms.json
CHANGED
|
@@ -457,6 +457,7 @@
|
|
|
457
457
|
"field.primary_unit": "unit utama",
|
|
458
458
|
"field.print_qty": "cetak kuantiti",
|
|
459
459
|
"field.priority": "[ms] priority",
|
|
460
|
+
"field.priority_delivery": "[ms] priority delivery",
|
|
460
461
|
"field.privileges": "peranan",
|
|
461
462
|
"field.product_brand": "[ms]product brand",
|
|
462
463
|
"field.product_code": "msd produk",
|
|
@@ -627,6 +628,7 @@
|
|
|
627
628
|
"field.transaction_type": "jenis transaksi",
|
|
628
629
|
"field.transaction": "transaksi",
|
|
629
630
|
"field.transfer_qty": "[ms] transfer qty",
|
|
631
|
+
"field.transfer_uom_value": "[ms] transfer uom value",
|
|
630
632
|
"field.transport_driver": "pemandu pengangkutan",
|
|
631
633
|
"field.transport_option": "[ms]transport option",
|
|
632
634
|
"field.transport_vehicle": "kenderaan pengangkutan",
|
|
@@ -1572,6 +1574,7 @@
|
|
|
1572
1574
|
"text.supplier": "pembekal",
|
|
1573
1575
|
"text.target_is_not_selected": "sasaran tidak dipilih",
|
|
1574
1576
|
"text.text.target_does_not_selected": "tiada sasaran produk dipilih",
|
|
1577
|
+
"text.the_entered_quantity_exceeds_the_transfer_qty": "[ms] the entered quantity exceeds the Transfer Qty. please adjust the quantity and try again.",
|
|
1575
1578
|
"text.there_is_additional_operation": "terdapat operasi tambahan",
|
|
1576
1579
|
"text.there_is_completed_item_already": "there is completed item already",
|
|
1577
1580
|
"text.there_is_duplicated_products": "[ms]there is duplicated products",
|
|
@@ -1616,6 +1619,7 @@
|
|
|
1616
1619
|
"text.tracking_no_already_exist_in_other_manifest_list": "[ms]tracking no already exist in other manifest list",
|
|
1617
1620
|
"text.transfer_inventory_to_different_location": "[ms] transfer inventory to different location",
|
|
1618
1621
|
"text.transfer_location_completed": "[ms] transfer location completed",
|
|
1622
|
+
"text.transfer_quantity_cannot_be_uploaded_as_it_does_not_meet_the_minimum_required_quantity": "[ms] transfer quantity cannot be uploaded as it does not meet the minimum required quantity",
|
|
1619
1623
|
"text.truck_is_not_selected": "[ms] truck is not selected",
|
|
1620
1624
|
"text.truck_no_is_empty": "[ms] truck number is empty",
|
|
1621
1625
|
"text.unable_to_save_print_history_x": "[ms] unable to save print history ({state.counter} label(s) printed). Kindly contact our support",
|
|
@@ -1903,6 +1907,7 @@
|
|
|
1903
1907
|
"title.putaway_goods_master": "perletakan barang utama",
|
|
1904
1908
|
"title.putaway_goods_scan_area": "lokasi mengimbas perletakan barang",
|
|
1905
1909
|
"title.putaway": "peletakkan",
|
|
1910
|
+
"title.putaway_inventories": "[ms] putaway inventories",
|
|
1906
1911
|
"title.ready_to_ship": "[ms]ready to ship",
|
|
1907
1912
|
"title.reassign_inventory": "[ms]reassign inventory",
|
|
1908
1913
|
"title.receive_arrival_notice": "terima notis ketibaan",
|
|
@@ -1937,6 +1942,7 @@
|
|
|
1937
1942
|
"title.replenishment_worksheet_list": "[ms] replenishment worksheet list",
|
|
1938
1943
|
"title.replenishment_worksheet": "[ms] replenishment worksheet",
|
|
1939
1944
|
"title.replenishment": "[ms] replenishment",
|
|
1945
|
+
"title.replenishment_report": "[ms] replenishment report",
|
|
1940
1946
|
"title.retail_replenishment_order_detail": "perincian pesanan tambahan runcit",
|
|
1941
1947
|
"title.retail_replenishment_order_no": "nombor pesanan tambahan",
|
|
1942
1948
|
"title.retail_replenishment_order_requests": "permintaan pesanan tambahan runcit",
|
package/translations/zh.json
CHANGED
|
@@ -439,6 +439,7 @@
|
|
|
439
439
|
"field.primary_unit": "primary unit",
|
|
440
440
|
"field.print_qty": "print qty",
|
|
441
441
|
"field.priority": "[zh] priority",
|
|
442
|
+
"field.priority_delivery": "[zh] priority delivery",
|
|
442
443
|
"field.privileges": "privileges",
|
|
443
444
|
"field.product_brand": "[zh]product brand",
|
|
444
445
|
"field.product_code": "产品代码",
|
|
@@ -607,6 +608,7 @@
|
|
|
607
608
|
"field.transaction_type": "transaction type",
|
|
608
609
|
"field.transaction": "transaction",
|
|
609
610
|
"field.transfer_qty": "[zh] transfer qty",
|
|
611
|
+
"field.transfer_uom_value": "[zh] transfer uom value",
|
|
610
612
|
"field.transport_driver": "transport driver",
|
|
611
613
|
"field.transport_option": "[zh]transport option",
|
|
612
614
|
"field.transport_vehicle": "transport vehicle",
|
|
@@ -1539,6 +1541,7 @@
|
|
|
1539
1541
|
"text.supplier": "supplier",
|
|
1540
1542
|
"text.target_is_not_selected": "target is not selected",
|
|
1541
1543
|
"text.text.target_does_not_selected": "target is not selected",
|
|
1544
|
+
"text.the_entered_quantity_exceeds_the_transfer_qty": "[zh] the entered quantity exceeds the Transfer Qty. please adjust the quantity and try again.",
|
|
1542
1545
|
"text.there_is_additional_operation": "[zh]there is additional operation",
|
|
1543
1546
|
"text.there_is_completed_item_already": "[zh]there is completed item already",
|
|
1544
1547
|
"text.there_is_duplicated_products": "[zh]there is duplicated products",
|
|
@@ -1583,6 +1586,7 @@
|
|
|
1583
1586
|
"text.tracking_no_already_exist_in_other_manifest_list": "[zh]tracking no already exist in other manifest list",
|
|
1584
1587
|
"text.transfer_inventory_to_different_location": "[zh] transfer inventory to different location",
|
|
1585
1588
|
"text.transfer_location_completed": "[zh] transfer location completed",
|
|
1589
|
+
"text.transfer_quantity_cannot_be_uploaded_as_it_does_not_meet_the_minimum_required_quantity": "[zh] transfer quantity cannot be uploaded as it does not meet the minimum required quantity",
|
|
1586
1590
|
"text.truck_is_not_selected": "[zh] truck is not selected",
|
|
1587
1591
|
"text.truck_no_is_empty": "[zh] truck number is empty",
|
|
1588
1592
|
"text.unable_to_save_print_history_x": "[zh] unable to save print history ({state.counter} label(s) printed). Kindly contact our support",
|
|
@@ -1857,6 +1861,7 @@
|
|
|
1857
1861
|
"title.putaway_goods_master": "货物上架主单",
|
|
1858
1862
|
"title.putaway_goods_scan_area": "货物上架扫描区域",
|
|
1859
1863
|
"title.putaway": "putaway",
|
|
1864
|
+
"title.putaway_inventories": "[zh] putaway inventories",
|
|
1860
1865
|
"title.ready_to_ship": "[zh]ready to ship",
|
|
1861
1866
|
"title.reassign_inventory": "[zh]reassign inventory",
|
|
1862
1867
|
"title.receive_arrival_notice": "接受到货通知单",
|
|
@@ -1893,6 +1898,7 @@
|
|
|
1893
1898
|
"title.replenishment_worksheet_list": "[zh] replenishment worksheet list",
|
|
1894
1899
|
"title.replenishment_worksheet": "[zh] replenishment worksheet",
|
|
1895
1900
|
"title.replenishment": "[zh] replenishment",
|
|
1901
|
+
"title.replenishment_report": "[zh] replenishment report",
|
|
1896
1902
|
"title.retail_replenishment_order_detail": "retail replenishment order detail",
|
|
1897
1903
|
"title.retail_replenishment_order_no": "replenishment order number",
|
|
1898
1904
|
"title.retail_replenishment_order_requests": "retail replenishment order requests",
|