@things-factory/operato-wms 4.3.60 → 4.3.63
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/components/select-inventory-popup.js +626 -0
- package/client/pages/inbound/unload-product.js +10 -9
- package/client/pages/inventory/inventory-adjustment.js +1 -1
- package/client/pages/inventory/inventory-by-product-detail.js +99 -92
- package/client/pages/inventory/inventory-by-product.js +170 -68
- package/client/pages/inventory-check/inspecting-product.js +1 -1
- package/client/pages/order/release-order/b2b/b2b-order-list.js +76 -80
- package/client/pages/order/release-order/b2c/b2c-order-requests.js +93 -81
- package/client/pages/order/release-order/batch-picking-popup.js +11 -0
- package/client/pages/order/release-order/create-release-order.js +258 -252
- package/client/pages/order/release-order/release-extra-product-popup.js +10 -3
- package/client/pages/order/release-order/release-order-detail.js +202 -63
- package/client/pages/order/transport-order/delivery-note-popup.js +12 -17
- package/client/pages/order/transport-order/upload-delivery-note.js +6 -4
- package/client/pages/order/transport-order/view-delivery-note.js +0 -1
- package/client/pages/outbound/generate-worksheet-popup.js +337 -0
- package/client/pages/outbound/inventory-reassign-popup.js +1097 -0
- package/client/pages/outbound/loading-product.js +2 -2
- package/client/pages/outbound/picking-product.js +174 -100
- package/client/pages/outbound/sorting-product.js +5 -5
- package/client/pages/outbound/worksheet-batch-picking.js +39 -5
- package/client/pages/outbound/worksheet-picking.js +45 -6
- package/client/pages/report/outbound-order-details-report.js +181 -49
- package/client/pages/report/release-inventory-report.js +503 -0
- package/client/route.js +5 -0
- package/dist-server/graphql/resolvers/extra/add-release-good-products.js +54 -3
- package/dist-server/graphql/resolvers/extra/add-release-good-products.js.map +1 -1
- package/dist-server/graphql/resolvers/reports/index.js +2 -1
- package/dist-server/graphql/resolvers/reports/index.js.map +1 -1
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js +63 -28
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js.map +1 -1
- package/dist-server/graphql/resolvers/reports/release-inventory-report.js +180 -0
- package/dist-server/graphql/resolvers/reports/release-inventory-report.js.map +1 -0
- package/dist-server/graphql/types/reports/index.js +6 -1
- package/dist-server/graphql/types/reports/index.js.map +1 -1
- package/dist-server/graphql/types/reports/outbound-order-details-report.js +14 -1
- package/dist-server/graphql/types/reports/outbound-order-details-report.js.map +1 -1
- package/dist-server/graphql/types/reports/release-inventory-report-list.js +14 -0
- package/dist-server/graphql/types/reports/release-inventory-report-list.js.map +1 -0
- package/dist-server/graphql/types/reports/release-inventory-report.js +29 -0
- package/dist-server/graphql/types/reports/release-inventory-report.js.map +1 -0
- package/dist-server/utils/report-query-util.js +4 -2
- package/dist-server/utils/report-query-util.js.map +1 -1
- package/helps/release-note.ko.md +13 -7
- package/helps/release-note.md +13 -7
- package/helps/release-note.ms.md +13 -7
- package/helps/release-note.zh.md +13 -7
- package/package.json +9 -9
- package/server/graphql/resolvers/extra/add-release-good-products.ts +66 -3
- package/server/graphql/resolvers/reports/index.ts +3 -1
- package/server/graphql/resolvers/reports/outbound-order-details-report.ts +66 -29
- package/server/graphql/resolvers/reports/release-inventory-report.ts +202 -0
- package/server/graphql/types/reports/index.ts +6 -1
- package/server/graphql/types/reports/outbound-order-details-report.ts +14 -1
- package/server/graphql/types/reports/release-inventory-report-list.ts +8 -0
- package/server/graphql/types/reports/release-inventory-report.ts +23 -0
- package/server/utils/report-query-util.ts +4 -2
- package/things-factory.config.js +4 -0
- package/translations/en.json +73 -16
- package/translations/ko.json +157 -110
- package/translations/ms.json +65 -16
- package/translations/zh.json +79 -29
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/index.ts"],"names":[],"mappings":";;;AAAA,iFAA0E;AAC1E,mFAA4E;AAE5E,qDAAgD;AAChD,iFAA0E;AAC1E,mFAA4E;AAC5E,iEAA2D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/index.ts"],"names":[],"mappings":";;;AAAA,iFAA0E;AAC1E,mFAA4E;AAE5E,qDAAgD;AAChD,iFAA0E;AAC1E,mFAA4E;AAC5E,iEAA2D;AAC3D,yEAAmE;AAEtD,QAAA,KAAK,yGACb,wDAAyB,GACzB,0DAA0B,GAC1B,8BAAa,GACb,wDAAyB,GACzB,0DAA0B,GAC1B,yCAAkB,GAClB,iDAAsB,EAC1B"}
|
|
@@ -45,40 +45,55 @@ exports.outboundOrderDetailsReport = {
|
|
|
45
45
|
await tx.query(`
|
|
46
46
|
create temp table temp_outbound_order_report on commit drop as (
|
|
47
47
|
select * from (
|
|
48
|
-
select oi.id,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
select oi.id,
|
|
49
|
+
oi.release_qty AS "release_qty", oi.picked_at, oi.picked_by, oi.packed_at, oi.packed_by, oi.loaded_at, oi.loaded_by,
|
|
50
|
+
oi.release_qty as "qty", oi.release_uom_value as "uom_value", oi.return_to_location_qty, oi.return_to_location_uom_value,
|
|
51
|
+
coalesce(do2.other_driver, td.name) as driver_name,
|
|
52
|
+
coalesce(do2.truck_no, tv.name, rg.truck_no) as vehicle_no,
|
|
53
|
+
do2.name AS "delivery_order_no", do2.delivery_date AS "delivery_order_delivery_date", do2."to", do2.contact_point_ref_id, do2.pallet_qty,
|
|
54
|
+
coalesce(do2.delivery_date_time, do2.delivery_date::timestamp, ms.dispatched_at, null) as "dispatched_at",
|
|
55
|
+
rg.bizplace_id, $5 AS "bizplace_name", $6 AS "bizplace_description",
|
|
56
|
+
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,
|
|
57
|
+
so.container_no, so.container_size,
|
|
58
|
+
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",
|
|
59
|
+
rg.created_at AS "order_created_at", rg.accepted_at, u4.name as accepted_by, rg.checked_remark_by, rg.checked_remark_at, coalesce(do2.own_collection, rg.own_transport) AS own_transport,
|
|
53
60
|
p.id as "product_id", p.sku as "product_sku", p.name AS "product_name", p.description AS "product_description", p.type as "product_type",
|
|
54
|
-
i.packing_type as "pack_type", i.packing_size as "pack_size",
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
inner join release_goods rg on rg.id = oi.release_good_id
|
|
61
|
+
i.packing_type as "pack_type", i.packing_size as "pack_size",
|
|
62
|
+
i.uom, i.unit_cost,
|
|
63
|
+
i.id as inventory_id, i.pallet_id, i.carton_id, i.batch_id, i.batch_id_ref, i.expiration_date, i.manufacture_date,
|
|
64
|
+
coalesce(ms.name,'') as manifest_no, coalesce(rg.manifested_at, ms.created_at) as manifested_at, coalesce(u6.name, u5.name) as manifested_by
|
|
65
|
+
from release_goods rg
|
|
66
|
+
inner join order_inventories oi on rg.id = oi.release_good_id
|
|
61
67
|
left join shipping_orders so on so.id = rg.shipping_order_id
|
|
62
68
|
left join users u4 on u4.id = rg.accepted_by_id
|
|
69
|
+
left join manifests ms on ms.id = rg.manifest_id
|
|
70
|
+
left join users u5 on u5.id = ms.creator_id
|
|
71
|
+
left join users u6 on u6.id = rg.manifested_by_id
|
|
63
72
|
inner join inventories i on i.id = oi.inventory_id
|
|
64
73
|
inner join temp_products p on p.id = oi.product_id
|
|
65
74
|
left join delivery_orders do2 on do2.id = oi.delivery_order_id
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
)
|
|
75
|
+
left join transport_drivers td ON td.id = do2.transport_driver_id
|
|
76
|
+
left join transport_vehicles tv on tv.id = do2.transport_vehicle_id
|
|
77
|
+
where rg.bizplace_id = $2 and rg.domain_id = $1
|
|
78
|
+
and rg.created_at >= $3 and rg.created_at <= $4
|
|
71
79
|
and oi.status <> 'REPLACED'
|
|
72
80
|
${status ? `and rg.status = '${status.value}' ` : ``}
|
|
73
81
|
) src
|
|
74
82
|
where 1=1
|
|
75
83
|
${extraQueryFilters}
|
|
76
84
|
)
|
|
77
|
-
`, [context.state.domain.id, bizplace.id, fromDate.value, toDate.value]);
|
|
85
|
+
`, [context.state.domain.id, bizplace.id, fromDate.value, toDate.value, bizplace.name, bizplace.description]);
|
|
78
86
|
console.timeEnd('temp');
|
|
79
87
|
const total = await tx.query(`
|
|
80
88
|
select count(*) from temp_outbound_order_report
|
|
81
89
|
`);
|
|
90
|
+
await tx.query(`
|
|
91
|
+
create temp table temp_outbound_order_worksheet on commit drop as (
|
|
92
|
+
select oi.id, w.started_at, w.ended_at, w.type from temp_outbound_order_report oi
|
|
93
|
+
inner join worksheet_details wd on wd.target_inventory_id = oi.id
|
|
94
|
+
inner join worksheets w on w.id = wd.worksheet_id
|
|
95
|
+
)
|
|
96
|
+
`);
|
|
82
97
|
console.time('result');
|
|
83
98
|
const result = await tx.query(`
|
|
84
99
|
select *,
|
|
@@ -86,10 +101,12 @@ exports.outboundOrderDetailsReport = {
|
|
|
86
101
|
round((qty * unit_nett_weight)::numeric ,4) as total_unit_nett_weight,
|
|
87
102
|
round((qty * unit_gross_weight)::numeric ,4) as total_unit_gross_weight
|
|
88
103
|
from (
|
|
89
|
-
select
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
104
|
+
select oi.*,
|
|
105
|
+
wpick.started_at as picking_start, wpick.ended_at as picking_complete,
|
|
106
|
+
wpack.started_at as packing_start, wpack.ended_at as packing_complete,
|
|
107
|
+
wsort.started_at as sorting_start, wsort.ended_at as sorting_complete,
|
|
108
|
+
wload.started_at as loading_start, wload.ended_at as loading_complete,
|
|
109
|
+
coalesce(delivery_address, concat(cp.address, cp.address_2)) as "delivery_address",
|
|
93
110
|
coalesce((select volume from product_details pd where pd.product_id = oi.product_id and pd.packing_type = oi.pack_type and pd.packing_size = oi.pack_size
|
|
94
111
|
order by created_at desc
|
|
95
112
|
fetch first 1 rows only),0) as unit_volume,
|
|
@@ -109,10 +126,15 @@ exports.outboundOrderDetailsReport = {
|
|
|
109
126
|
order by created_at desc
|
|
110
127
|
fetch first 1 rows only), oi.unit_cost, 0) as unit_cost
|
|
111
128
|
from temp_outbound_order_report oi
|
|
112
|
-
left join worksheet_details wd on wd.target_inventory_id = oi.id
|
|
113
|
-
left join worksheets w on w.id = wd.worksheet_id
|
|
114
129
|
left join contact_points cp on cp.id = oi.contact_point_ref_id
|
|
115
|
-
|
|
130
|
+
left join temp_outbound_order_worksheet wpick on wpick.id = oi.id
|
|
131
|
+
and (wpick.type= 'PICKING' OR wpick.type = 'BATCH_PICKING')
|
|
132
|
+
left join temp_outbound_order_worksheet wpack on wpack.id = oi.id
|
|
133
|
+
and wpack.type= 'PACKING'
|
|
134
|
+
left join temp_outbound_order_worksheet wsort on wsort.id = oi.id
|
|
135
|
+
and wsort.type= 'SORTING'
|
|
136
|
+
left join temp_outbound_order_worksheet wload on wload.id = oi.id
|
|
137
|
+
and wload.type= 'LOADING'
|
|
116
138
|
order by oi.ro_no, oi.product_sku
|
|
117
139
|
offset $1 limit $2
|
|
118
140
|
) src
|
|
@@ -126,8 +148,10 @@ exports.outboundOrderDetailsReport = {
|
|
|
126
148
|
description: itm.bizplace_description
|
|
127
149
|
},
|
|
128
150
|
doNo: itm.delivery_order_no,
|
|
129
|
-
doDeliveryDate: itm.
|
|
151
|
+
doDeliveryDate: itm.delivery_order_delivery_date,
|
|
152
|
+
dispatchedAt: itm.dispatched_at,
|
|
130
153
|
deliveryAddress: itm.delivery_address,
|
|
154
|
+
manifestNo: itm.manifest_no,
|
|
131
155
|
roNo: itm.ro_no,
|
|
132
156
|
roType: itm.ro_type,
|
|
133
157
|
status: itm.ro_status,
|
|
@@ -139,6 +163,12 @@ exports.outboundOrderDetailsReport = {
|
|
|
139
163
|
orderCreatedAt: itm.order_created_at,
|
|
140
164
|
pickingStart: itm.picking_start,
|
|
141
165
|
pickingComplete: itm.picking_complete,
|
|
166
|
+
packingStart: itm.packing_start,
|
|
167
|
+
packingComplete: itm.packing_complete,
|
|
168
|
+
sortingStart: itm.sorting_start,
|
|
169
|
+
sortingComplete: itm.sorting_complete,
|
|
170
|
+
loadingStart: itm.loading_start,
|
|
171
|
+
loadingComplete: itm.loading_complete,
|
|
142
172
|
product: {
|
|
143
173
|
id: itm.product_id,
|
|
144
174
|
sku: itm.product_sku,
|
|
@@ -175,10 +205,15 @@ exports.outboundOrderDetailsReport = {
|
|
|
175
205
|
checkedRemarkAt: itm.checked_remark_at,
|
|
176
206
|
loadedAt: itm.loaded_at,
|
|
177
207
|
loadedBy: itm.loaded_by,
|
|
178
|
-
|
|
208
|
+
manifestedAt: itm.manifested_at,
|
|
209
|
+
manifestedBy: itm.manifested_by,
|
|
179
210
|
exportOption: itm.export_option,
|
|
180
211
|
containerNo: itm.container_no,
|
|
181
|
-
|
|
212
|
+
containerSize: itm.container_size,
|
|
213
|
+
palletQty: itm.pallet_qty,
|
|
214
|
+
transportOption: itm.own_transport ? 'Own Transport' : 'Warehouse Transport',
|
|
215
|
+
vehicleNo: itm.vehicle_no,
|
|
216
|
+
driverName: itm.driver_name
|
|
182
217
|
};
|
|
183
218
|
});
|
|
184
219
|
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,IAA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AAU,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAA;aAC1E;iBAAM;gBACL,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;aACvE;YAED,IAAI,CAAC,cAAc,IAAI,CAAC,QAAQ,IAAI,CAAC,MAAM;gBAAE,MAAM,eAAe,CAAA;YAElE,MAAM,QAAQ,GAAa,MAAM,EAAE,CAAC,aAAa,CAAC,mBAAQ,CAAC,CAAC,OAAO,CAAC;gBAClE,EAAE,EAAE,cAAc,CAAC,KAAK;aACzB,CAAC,CAAA;YAEF,MAAM,IAAA,wBAAgB,EAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAA;YAE5C,IAAI,iBAAiB,GAAG,EAAE,CAAA;YAC1B,IAAI,IAAI,EAAE;gBACR,iBAAiB,GAAG,GAAG,iBAAiB,qBAAqB,IAAI,CAAC,KAAK,KAAK,CAAA;aAC7E;YACD,IAAI,IAAI,EAAE;gBACR,iBAAiB,GAAG,GAAG,iBAAiB,iCAAiC,IAAI,CAAC,KAAK,KAAK,CAAA;aACzF;YAED,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;YACpB,MAAM,EAAE,CAAC,KAAK,CACZ
|
|
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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 0;
|
|
4
|
+
const biz_base_1 = require("@things-factory/biz-base");
|
|
5
|
+
const utils_1 = require("../../../utils");
|
|
6
|
+
exports.releaseInventoryReport = {
|
|
7
|
+
async releaseInventoryReport(_, params, context) {
|
|
8
|
+
try {
|
|
9
|
+
const { tx } = context.state;
|
|
10
|
+
// let bizplaceFilter = { name: '', operator: '', value: '' }
|
|
11
|
+
// let userFilter = params.filters.find(data => data.name === 'user')
|
|
12
|
+
let order = params.filters.find(data => data.name === 'order');
|
|
13
|
+
let orderDate = params.filters.find(data => data.name === 'orderDate');
|
|
14
|
+
let product = params.filters.find(data => data.name === 'product');
|
|
15
|
+
let bizplace = params.filters.find(data => data.name === 'bizplace');
|
|
16
|
+
let palletId = params.filters.find(data => data.name === 'palletId');
|
|
17
|
+
let cartonId = params.filters.find(data => data.name === 'cartonId');
|
|
18
|
+
// if (userFilter) {
|
|
19
|
+
// const user: User = await tx.getRepository(User).findOne({
|
|
20
|
+
// where: { id: userFilter.value },
|
|
21
|
+
// relations: ['bizplaces']
|
|
22
|
+
// })
|
|
23
|
+
// const bizplace: Bizplace = user.bizplaces[0]
|
|
24
|
+
if (!bizplace)
|
|
25
|
+
throw 'Invalid input';
|
|
26
|
+
// bizplaceFilter = { name: 'bizplace', operator: 'eq', value: bizplace.id }
|
|
27
|
+
// } else {
|
|
28
|
+
// bizplaceFilter = params.filters.find(data => data.name === 'bizplace')
|
|
29
|
+
// }
|
|
30
|
+
// if (!bizplaceFilter) throw 'Invalid input'
|
|
31
|
+
let roFilter = '', ccFilter = '', queryFilter = '';
|
|
32
|
+
if (order) {
|
|
33
|
+
let orderValue = order.value
|
|
34
|
+
.toLowerCase()
|
|
35
|
+
.split(',')
|
|
36
|
+
.map(prod => {
|
|
37
|
+
return "'%" + prod.trim().replace(/'/g, "''") + "%'";
|
|
38
|
+
})
|
|
39
|
+
.join(',');
|
|
40
|
+
roFilter += `AND (
|
|
41
|
+
Lower(od.name) LIKE ANY(ARRAY[${orderValue}])
|
|
42
|
+
OR Lower(od.ref_no) LIKE ANY(ARRAY[${orderValue}])
|
|
43
|
+
OR Lower(od.ref_no_2) LIKE ANY(ARRAY[${orderValue}])
|
|
44
|
+
OR Lower(od.ref_no_3) LIKE ANY(ARRAY[${orderValue}])
|
|
45
|
+
)`;
|
|
46
|
+
ccFilter += `AND (
|
|
47
|
+
Lower(od.name) LIKE ANY(ARRAY[${orderValue}])
|
|
48
|
+
)`;
|
|
49
|
+
}
|
|
50
|
+
if (orderDate) {
|
|
51
|
+
queryFilter += ` AND od.created_at between '${orderDate.value}'::timestamp and '${orderDate.value}'::timestamp + INTERVAL '1 day'`;
|
|
52
|
+
}
|
|
53
|
+
if (palletId) {
|
|
54
|
+
queryFilter += ` AND lower(i.pallet_id) like '%${palletId.value.toLowerCase()}%'`;
|
|
55
|
+
}
|
|
56
|
+
if (cartonId) {
|
|
57
|
+
queryFilter += ` AND lower(i.carton_id) like '%${cartonId.value.toLowerCase()}%'`;
|
|
58
|
+
}
|
|
59
|
+
if (bizplace) {
|
|
60
|
+
queryFilter += ` AND od.bizplace_id = '${bizplace.value}'`;
|
|
61
|
+
}
|
|
62
|
+
const bizplaceObj = await tx.getRepository(biz_base_1.Bizplace).findOne({
|
|
63
|
+
id: bizplace.value
|
|
64
|
+
});
|
|
65
|
+
await (0, utils_1.rawProductsQuery)(tx, params, bizplaceObj);
|
|
66
|
+
// let productQuery = ''
|
|
67
|
+
// if (product) {
|
|
68
|
+
// let productValue = product.value
|
|
69
|
+
// .toLowerCase()
|
|
70
|
+
// .split(',')
|
|
71
|
+
// .map(prod => {
|
|
72
|
+
// return "'%" + prod.trim().replace(/'/g, "''") + "%'"
|
|
73
|
+
// })
|
|
74
|
+
// .join(',')
|
|
75
|
+
// queryFilter = `AND (
|
|
76
|
+
// Lower(p.name) LIKE ANY(ARRAY[${productValue}])
|
|
77
|
+
// OR Lower(p.sku) LIKE ANY(ARRAY[${productValue}])
|
|
78
|
+
// OR Lower(p.description) LIKE ANY(ARRAY[${productValue}])
|
|
79
|
+
// OR Lower(p.brand_sku) LIKE ANY(ARRAY[${productValue}])
|
|
80
|
+
// OR Lower(p.brand) LIKE ANY(ARRAY[${productValue}])
|
|
81
|
+
// )`
|
|
82
|
+
// }
|
|
83
|
+
await tx.query(`
|
|
84
|
+
create temp table data_src on commit drop as (
|
|
85
|
+
select * from (
|
|
86
|
+
select p.sku as product_sku, p.name as product_name, p.description as product_description, p.brand as product_brand,
|
|
87
|
+
b.id as bizplace_id, b.name as bizplace_name, b.description as bizplace_description, i.packing_type,
|
|
88
|
+
oi.release_qty as assigned_qty, oi.release_uom_value as uom_value, i.uom,
|
|
89
|
+
od.name as order_no, od.type::varchar as "type", od.status, od.created_at as order_at, od.release_date,
|
|
90
|
+
i.pallet_id, i.carton_id, i.batch_id, i.batch_id_ref, i.expiration_date, i.manufacture_date, l.name as location_name
|
|
91
|
+
from (
|
|
92
|
+
select inventory_id, release_good_id, sum(release_qty) as release_qty, sum(release_uom_value) as release_uom_value from order_inventories oi
|
|
93
|
+
inner join release_goods od on od.id = oi.release_good_id
|
|
94
|
+
where release_good_id is not null
|
|
95
|
+
and od.status in ('PENDING', 'PENDING_RECEIVE', 'PENDING_CANCEL', 'PENDING_WORKSHEET', 'READY_TO_PICK', 'PICKING')
|
|
96
|
+
and od.domain_id = $1
|
|
97
|
+
and oi.status != 'REPLACED'
|
|
98
|
+
group by inventory_id, release_good_id
|
|
99
|
+
) oi
|
|
100
|
+
inner join release_goods od on od.id = oi.release_good_id
|
|
101
|
+
inner join bizplaces b on b.id = od.bizplace_id
|
|
102
|
+
inner join inventories i on i.id = oi.inventory_id
|
|
103
|
+
inner join locations l on l.id = i.location_id
|
|
104
|
+
inner join temp_products p on p.id = i.product_id
|
|
105
|
+
where 1 = 1
|
|
106
|
+
${roFilter}
|
|
107
|
+
${queryFilter}
|
|
108
|
+
union all
|
|
109
|
+
select p.sku as product_sku, p.name as product_name, p.description as product_description, p.brand as product_brand,
|
|
110
|
+
b.id as bizplace_id, b.name as bizplace_name, b.description as bizplace_description, i.packing_type,
|
|
111
|
+
oi.release_qty as assigned_qty, oi.release_uom_value as uom_value, i.uom,
|
|
112
|
+
od.name as order_no, 'cc' as "type", od.status, od.created_at as order_at, od.execution_date,
|
|
113
|
+
i.pallet_id, i.carton_id, i.batch_id, i.batch_id_ref, i.expiration_date, i.manufacture_date, l.name as location_name
|
|
114
|
+
from order_inventories oi
|
|
115
|
+
inner join bizplaces b on b.id = oi.bizplace_id
|
|
116
|
+
inner join inventory_checks od on od.id = oi.inventory_check_id
|
|
117
|
+
inner join inventories i on i.id = oi.inventory_id
|
|
118
|
+
inner join locations l on l.id = i.location_id
|
|
119
|
+
inner join temp_products p on p.id = i.product_id
|
|
120
|
+
where od.status <> 'DONE'
|
|
121
|
+
and od.domain_id = $1
|
|
122
|
+
${ccFilter}
|
|
123
|
+
${queryFilter}
|
|
124
|
+
) src
|
|
125
|
+
order by product_sku, packing_type, order_no
|
|
126
|
+
);
|
|
127
|
+
`, [context.state.domain.id]);
|
|
128
|
+
const total = await tx.query(`
|
|
129
|
+
select count(*) from data_src
|
|
130
|
+
`);
|
|
131
|
+
const result = await tx.query(`
|
|
132
|
+
select * from data_src
|
|
133
|
+
offset $1 limit $2
|
|
134
|
+
`, [(params.pagination.page - 1) * params.pagination.limit, params.pagination.limit]);
|
|
135
|
+
let items = result.map(itm => {
|
|
136
|
+
let data = {
|
|
137
|
+
bizplace: {
|
|
138
|
+
id: itm.bizplace_id,
|
|
139
|
+
name: itm.bizplace_name,
|
|
140
|
+
description: itm.bizplace_description
|
|
141
|
+
},
|
|
142
|
+
product: {
|
|
143
|
+
id: itm.product_id,
|
|
144
|
+
sku: itm.product_sku,
|
|
145
|
+
name: itm.product_name,
|
|
146
|
+
description: itm.product_description,
|
|
147
|
+
brand: itm.product_brand,
|
|
148
|
+
},
|
|
149
|
+
location: {
|
|
150
|
+
name: itm.location_name,
|
|
151
|
+
},
|
|
152
|
+
packingType: itm.packing_type,
|
|
153
|
+
assignedQty: itm.assigned_qty,
|
|
154
|
+
assignedUomValue: itm.uom_value,
|
|
155
|
+
assignedUom: itm.uom,
|
|
156
|
+
orderNo: itm.order_no,
|
|
157
|
+
type: itm.type,
|
|
158
|
+
status: itm.status,
|
|
159
|
+
orderAt: itm.order_at,
|
|
160
|
+
releaseDate: itm.release_date,
|
|
161
|
+
palletId: itm.pallet_id,
|
|
162
|
+
cartonId: itm.carton_id,
|
|
163
|
+
batchId: itm.batch_id,
|
|
164
|
+
batchIdRef: itm.batch_id_ref,
|
|
165
|
+
expirationDate: itm.expiration_date,
|
|
166
|
+
manufactureDate: itm.manufacture_date
|
|
167
|
+
};
|
|
168
|
+
return data;
|
|
169
|
+
});
|
|
170
|
+
return {
|
|
171
|
+
items,
|
|
172
|
+
total: total[0].count
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
catch (error) {
|
|
176
|
+
throw error;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
//# sourceMappingURL=release-inventory-report.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"release-inventory-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/release-inventory-report.ts"],"names":[],"mappings":";;;AAGA,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,sBAAsB,GAAG;IACpC,KAAK,CAAC,sBAAsB,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QAClE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,6DAA6D;YAC7D,qEAAqE;YACrE,IAAI,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,OAAO,CAAC,CAAA;YAC9D,IAAI,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,WA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nC,eAAe,EAAE,GAAG,CAAC,gBAAgB;iBACtC,CAAA;gBAED,OAAO,IAAI,CAAA;YACb,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"}
|
|
@@ -13,6 +13,8 @@ const product_label_report_1 = require("./product-label-report");
|
|
|
13
13
|
const product_label_report_list_1 = require("./product-label-report-list");
|
|
14
14
|
const costing_report_1 = require("./costing-report");
|
|
15
15
|
const costing_report_list_1 = require("./costing-report-list");
|
|
16
|
+
const release_inventory_report_1 = require("./release-inventory-report");
|
|
17
|
+
const release_inventory_report_list_1 = require("./release-inventory-report-list");
|
|
16
18
|
exports.Query = `
|
|
17
19
|
inboundSerialNumberReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): InboundSerialNumberReportList @transaction
|
|
18
20
|
outboundSerialNumberReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): OutboundSerialNumberReportList @transaction
|
|
@@ -20,6 +22,7 @@ exports.Query = `
|
|
|
20
22
|
outboundOrderDetailsReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): OutboundOrderDetailsReportList @transaction
|
|
21
23
|
productLabelReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): ProductLabelReportList @transaction
|
|
22
24
|
costingReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): CostingReportList @transaction
|
|
25
|
+
releaseInventoryReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): ReleaseInventoryReportList @transaction
|
|
23
26
|
`;
|
|
24
27
|
exports.Types = [
|
|
25
28
|
inbound_serial_number_report_1.InboundSerialNumberReport,
|
|
@@ -33,6 +36,8 @@ exports.Types = [
|
|
|
33
36
|
product_label_report_1.ProductLabelReport,
|
|
34
37
|
product_label_report_list_1.ProductLabelReportList,
|
|
35
38
|
costing_report_1.CostingReport,
|
|
36
|
-
costing_report_list_1.CostingReportList
|
|
39
|
+
costing_report_list_1.CostingReportList,
|
|
40
|
+
release_inventory_report_1.ReleaseInventoryReport,
|
|
41
|
+
release_inventory_report_list_1.ReleaseInventoryReportList
|
|
37
42
|
];
|
|
38
43
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/index.ts"],"names":[],"mappings":";;;AAAA,iFAA0E;AAC1E,2FAAmF;AACnF,mFAA4E;AAC5E,6FAAqF;AAErF,iFAA0E;AAC1E,2FAAmF;AACnF,mFAA4E;AAC5E,6FAAqF;AACrF,iEAA2D;AAC3D,2EAAoE;AAEpE,qDAAgD;AAChD,+DAAyD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/index.ts"],"names":[],"mappings":";;;AAAA,iFAA0E;AAC1E,2FAAmF;AACnF,mFAA4E;AAC5E,6FAAqF;AAErF,iFAA0E;AAC1E,2FAAmF;AACnF,mFAA4E;AAC5E,6FAAqF;AACrF,iEAA2D;AAC3D,2EAAoE;AAEpE,qDAAgD;AAChD,+DAAyD;AACzD,yEAAmE;AACnE,mFAA4E;AAE/D,QAAA,KAAK,GAAG;;;;;;;;CAQpB,CAAA;AAEY,QAAA,KAAK,GAAG;IACnB,wDAAyB;IACzB,iEAA6B;IAC7B,0DAA0B;IAC1B,mEAA8B;IAC9B,wDAAyB;IACzB,iEAA6B;IAC7B,0DAA0B;IAC1B,mEAA8B;IAC9B,yCAAkB;IAClB,kDAAsB;IACtB,8BAAa;IACb,uCAAiB;IACjB,iDAAsB;IACtB,0DAA0B;CAC3B,CAAA"}
|
|
@@ -11,6 +11,7 @@ exports.OutboundOrderDetailsReport = (0, graphql_tag_1.default) `
|
|
|
11
11
|
doNo: String
|
|
12
12
|
doDeliveryDate: String
|
|
13
13
|
deliveryAddress: String
|
|
14
|
+
manifestNo: String
|
|
14
15
|
roNo: String
|
|
15
16
|
roType: String
|
|
16
17
|
status: String
|
|
@@ -19,12 +20,22 @@ exports.OutboundOrderDetailsReport = (0, graphql_tag_1.default) `
|
|
|
19
20
|
refNo3: String
|
|
20
21
|
exportOption: Boolean
|
|
21
22
|
containerNo: String
|
|
23
|
+
containerSize: String
|
|
24
|
+
transportOption: String
|
|
25
|
+
vehicleNo: String
|
|
26
|
+
driverName: String
|
|
22
27
|
palletQty: Int
|
|
23
28
|
acceptedBy: String
|
|
24
29
|
acceptedAt: String
|
|
25
30
|
orderCreatedAt: String
|
|
26
31
|
pickingStart: String
|
|
27
32
|
pickingComplete: String
|
|
33
|
+
packingStart: String
|
|
34
|
+
packingComplete: String
|
|
35
|
+
sortingStart: String
|
|
36
|
+
sortingComplete: String
|
|
37
|
+
loadingStart: String
|
|
38
|
+
loadingComplete: String
|
|
28
39
|
orderLineItem: Int
|
|
29
40
|
product: Product
|
|
30
41
|
packType: String
|
|
@@ -56,7 +67,9 @@ exports.OutboundOrderDetailsReport = (0, graphql_tag_1.default) `
|
|
|
56
67
|
checkedRemarkAt: String
|
|
57
68
|
loadedAt: String
|
|
58
69
|
loadedBy: String
|
|
59
|
-
|
|
70
|
+
manifestedAt: String
|
|
71
|
+
manifestedBy: String
|
|
72
|
+
dispatchedAt: String
|
|
60
73
|
}
|
|
61
74
|
`;
|
|
62
75
|
//# sourceMappingURL=outbound-order-details-report.js.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkE5C,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ReleaseInventoryReportList = void 0;
|
|
7
|
+
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
8
|
+
exports.ReleaseInventoryReportList = (0, graphql_tag_1.default) `
|
|
9
|
+
type ReleaseInventoryReportList {
|
|
10
|
+
items: [ReleaseInventoryReport]
|
|
11
|
+
total: Int
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
//# sourceMappingURL=release-inventory-report-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"release-inventory-report-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/release-inventory-report-list.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA;;;;;CAK5C,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ReleaseInventoryReport = void 0;
|
|
7
|
+
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
8
|
+
exports.ReleaseInventoryReport = (0, graphql_tag_1.default) `
|
|
9
|
+
type ReleaseInventoryReport {
|
|
10
|
+
bizplace: Bizplace
|
|
11
|
+
product: Product
|
|
12
|
+
packingType: String
|
|
13
|
+
assignedQty: Float
|
|
14
|
+
assignedUomValue: Float
|
|
15
|
+
assignedUom: String
|
|
16
|
+
orderNo: String
|
|
17
|
+
type: String
|
|
18
|
+
orderAt: String
|
|
19
|
+
releaseDate: String
|
|
20
|
+
palletId: String
|
|
21
|
+
cartonId: String
|
|
22
|
+
batchId: String
|
|
23
|
+
batchIdRef: String
|
|
24
|
+
expirationDate: String
|
|
25
|
+
manufactureDate: String
|
|
26
|
+
location: Location
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
29
|
+
//# sourceMappingURL=release-inventory-report.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"release-inventory-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/release-inventory-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,sBAAsB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;CAoBxC,CAAA"}
|
|
@@ -17,6 +17,7 @@ async function rawProductsQuery(tx, params, bizplace) {
|
|
|
17
17
|
Lower(prd.name) LIKE ANY(ARRAY[${productValue}])
|
|
18
18
|
OR Lower(prd.sku) LIKE ANY(ARRAY[${productValue}])
|
|
19
19
|
OR Lower(prd.description) LIKE ANY(ARRAY[${productValue}])
|
|
20
|
+
OR Lower(prd.brand) LIKE ANY(ARRAY[${productValue}])
|
|
20
21
|
OR Lower(prd.brand_sku) LIKE ANY(ARRAY[${productValue}])
|
|
21
22
|
)`;
|
|
22
23
|
}
|
|
@@ -27,13 +28,14 @@ async function rawProductsQuery(tx, params, bizplace) {
|
|
|
27
28
|
await tx.query(`
|
|
28
29
|
create temp table temp_products on commit drop AS
|
|
29
30
|
(
|
|
30
|
-
select prd.id, prd.sku, prd.name, prd.description, prd.type, prd.id::varchar as product_id, prd.brand_sku
|
|
31
|
+
select prd.id, prd.sku, prd.name, prd.description, prd.type, prd.id::varchar as product_id, prd.brand, prd.brand_sku
|
|
32
|
+
from products prd
|
|
31
33
|
inner join bizplaces b on b.id = prd.bizplace_id
|
|
32
34
|
inner join companies c on c.domain_id = b.domain_id
|
|
33
35
|
inner join bizplaces b2 on b2.company_id = c.id
|
|
34
36
|
where b2.id = $1
|
|
35
37
|
${productQuery}
|
|
36
|
-
GROUP BY prd.id, prd.sku, prd.name, prd.description, prd.brand_sku
|
|
38
|
+
GROUP BY prd.id, prd.sku, prd.name, prd.description, prd.brand, prd.brand_sku
|
|
37
39
|
)`, [bizplace.id]);
|
|
38
40
|
}
|
|
39
41
|
exports.rawProductsQuery = rawProductsQuery;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report-query-util.js","sourceRoot":"","sources":["../../server/utils/report-query-util.ts"],"names":[],"mappings":";;;AAIO,KAAK,UAAU,gBAAgB,CAAC,EAAiB,EAAE,MAAiB,EAAE,QAAkB;IAC7F,IAAI,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAA;IAClE,IAAI,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,oBAAoB,CAAC,CAAA;IAEjF,IAAI,YAAY,GAAG,EAAE,CAAA;IACrB,IAAI,OAAO,EAAE;QACX,IAAI,YAAY,GAAG,OAAO,CAAC,KAAK;aAC7B,WAAW,EAAE;aACb,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,IAAI,CAAC,EAAE;YACV,OAAO,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,IAAI,CAAA;QACtD,CAAC,CAAC;aACD,IAAI,CAAC,GAAG,CAAC,CAAA;QACZ,YAAY,GAAG;uCACoB,YAAY;yCACV,YAAY;iDACJ,YAAY;+
|
|
1
|
+
{"version":3,"file":"report-query-util.js","sourceRoot":"","sources":["../../server/utils/report-query-util.ts"],"names":[],"mappings":";;;AAIO,KAAK,UAAU,gBAAgB,CAAC,EAAiB,EAAE,MAAiB,EAAE,QAAkB;IAC7F,IAAI,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAA;IAClE,IAAI,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,oBAAoB,CAAC,CAAA;IAEjF,IAAI,YAAY,GAAG,EAAE,CAAA;IACrB,IAAI,OAAO,EAAE;QACX,IAAI,YAAY,GAAG,OAAO,CAAC,KAAK;aAC7B,WAAW,EAAE;aACb,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,IAAI,CAAC,EAAE;YACV,OAAO,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,IAAI,CAAA;QACtD,CAAC,CAAC;aACD,IAAI,CAAC,GAAG,CAAC,CAAA;QACZ,YAAY,GAAG;uCACoB,YAAY;yCACV,YAAY;iDACJ,YAAY;2CAClB,YAAY;+CACR,YAAY;MACrD,CAAA;KACH;IAED,IAAI,gBAAgB,GAAG,EAAE,CAAA;IACzB,IAAI,WAAW,EAAE;QACf,gBAAgB,GAAG,gCAAgC,GAAG,WAAW,CAAC,KAAK,CAAC,WAAW,EAAE,GAAG,IAAI,CAAA;KAC7F;IAED,MAAM,EAAE,CAAC,KAAK,CACZ;;;;;;;;;QASI,YAAY;;MAEd,EACF,CAAC,QAAQ,CAAC,EAAE,CAAC,CACd,CAAA;AACH,CAAC;AA1CD,4CA0CC"}
|
package/helps/release-note.ko.md
CHANGED
|
@@ -2,26 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 3 August Update
|
|
6
6
|
|
|
7
|
-
#### V4.
|
|
7
|
+
#### V4.7.0 Release Note
|
|
8
8
|
|
|
9
9
|
#### Greetings to all,
|
|
10
10
|
|
|
11
|
-
####
|
|
11
|
+
#### Let’s kickstart this August with our release on Outbound!
|
|
12
12
|
|
|
13
13
|
<div>
|
|
14
|
-
1.
|
|
14
|
+
1. Quick Product Scanning
|
|
15
15
|
</div>
|
|
16
16
|
<div>
|
|
17
|
-
2.
|
|
17
|
+
2. Stock Recall
|
|
18
18
|
</div>
|
|
19
19
|
<div>
|
|
20
|
-
3.
|
|
20
|
+
3. Accumulative Locked Inventory
|
|
21
|
+
</div>
|
|
22
|
+
<div>
|
|
23
|
+
4. Batch Picking Simplification
|
|
24
|
+
</div>
|
|
25
|
+
<div>
|
|
26
|
+
And More enhancements!
|
|
21
27
|
</div>
|
|
22
28
|
<br>
|
|
23
29
|
For additional information about the aspects of the release, see the following link
|
|
24
|
-
<a href="https://bit.ly/
|
|
30
|
+
<a href="https://bit.ly/20220802_Hatio_Release">V4.7.0 Release Note</a>
|
|
25
31
|
<br>
|
|
26
32
|
|
|
27
33
|
Should you have any inquiries, feel free to contact support@hatio.asia! Stay safe and positively negative!
|
package/helps/release-note.md
CHANGED
|
@@ -2,26 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 3 August Update
|
|
6
6
|
|
|
7
|
-
#### V4.
|
|
7
|
+
#### V4.7.0 Release Note
|
|
8
8
|
|
|
9
9
|
#### Greetings to all,
|
|
10
10
|
|
|
11
|
-
####
|
|
11
|
+
#### Let’s kickstart this August with our release on Outbound!
|
|
12
12
|
|
|
13
13
|
<div>
|
|
14
|
-
1.
|
|
14
|
+
1. Quick Product Scanning
|
|
15
15
|
</div>
|
|
16
16
|
<div>
|
|
17
|
-
2.
|
|
17
|
+
2. Stock Recall
|
|
18
18
|
</div>
|
|
19
19
|
<div>
|
|
20
|
-
3.
|
|
20
|
+
3. Accumulative Locked Inventory
|
|
21
|
+
</div>
|
|
22
|
+
<div>
|
|
23
|
+
4. Batch Picking Simplification
|
|
24
|
+
</div>
|
|
25
|
+
<div>
|
|
26
|
+
And More enhancements!
|
|
21
27
|
</div>
|
|
22
28
|
<br>
|
|
23
29
|
For additional information about the aspects of the release, see the following link
|
|
24
|
-
<a href="https://bit.ly/
|
|
30
|
+
<a href="https://bit.ly/20220802_Hatio_Release">V4.7.0 Release Note</a>
|
|
25
31
|
<br>
|
|
26
32
|
|
|
27
33
|
Should you have any inquiries, feel free to contact support@hatio.asia! Stay safe and positively negative!
|