@things-factory/worksheet-base 4.3.412 → 4.3.413
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/dist-server/entities/active-worksheet-picking-view.js +1 -2
- package/dist-server/entities/active-worksheet-picking-view.js.map +1 -1
- package/dist-server/entities/warehouse-bizplace-onhand-inventory.js +2 -2
- package/package.json +2 -2
- package/server/entities/active-worksheet-picking-view.ts +1 -2
- package/server/entities/warehouse-bizplace-onhand-inventory.ts +2 -2
|
@@ -141,7 +141,7 @@ ActiveWorksheetPickingView = ActiveWorksheetPickingView_1 = __decorate([
|
|
|
141
141
|
i.id as "inventoryId",
|
|
142
142
|
i.carton_id as "inventoryCartonId",
|
|
143
143
|
i.status as "inventoryStatus",
|
|
144
|
-
|
|
144
|
+
NULL::text as "inventoryCheckItemStatus",
|
|
145
145
|
rg.name as "releaseGoodName",
|
|
146
146
|
rg.ref_no as "refNo"
|
|
147
147
|
FROM worksheet_details wd
|
|
@@ -150,7 +150,6 @@ ActiveWorksheetPickingView = ActiveWorksheetPickingView_1 = __decorate([
|
|
|
150
150
|
inner JOIN order_products op ON op.id = oi.order_product_id
|
|
151
151
|
inner join inventories i on i.id = oi.inventory_id
|
|
152
152
|
inner join release_goods rg on rg.id = oi.release_good_id
|
|
153
|
-
left join inventory_check_items ici on ici.inventory_id = oi.inventory_id
|
|
154
153
|
inner join products p on p.id = oi.product_id
|
|
155
154
|
left join product_bundles pb2 on pb2.id = op.product_bundle_id
|
|
156
155
|
LEFT JOIN product_barcodes pb ON pb.product_detail_id = oi.product_detail_id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"active-worksheet-picking-view.js","sourceRoot":"","sources":["../../server/entities/active-worksheet-picking-view.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qCAAqF;
|
|
1
|
+
{"version":3,"file":"active-worksheet-picking-view.js","sourceRoot":"","sources":["../../server/entities/active-worksheet-picking-view.ts"],"names":[],"m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AC,IAAA,oBAAU,GAAE;;mEACU;AAEvB;IAAC,IAAA,oBAAU,GAAE;;4DACG;AAEhB;IAAC,IAAA,oBAAU,GAAE;;oEACW;AAExB;IAAC,IAAA,oBAAU,GAAE;;wDACD;AAEZ;IAAC,IAAA,oBAAU,GAAE;;gGACuC;AAEpD;IAAC,IAAA,oBAAU,GAAE;;iEACQ;AAErB;IAAC,IAAA,oBAAU,GAAE;;mEACU;AAEvB;IAAC,IAAA,oBAAU,GAAE;;yDACA;AAEb;IAAC,IAAA,oBAAU,GAAE;;oEACW;AAExB;IAAC,IAAA,oBAAU,GAAE;;wEACe;AAE5B;IAAC,IAAA,oBAAU,GAAE;;+DACM;AAEnB;IAAC,IAAA,oBAAU,GAAE;;qEACY;AAEzB;IAAC,IAAA,oBAAU,GAAE;;mEACU;AAEvB;IAAC,IAAA,oBAAU,GAAE;;4EACmB;AAvFrB,0BAA0B;IAtCtC,IAAA,oBAAU,EAAC;QACV,YAAY,EAAE,IAAI;QAClB,UAAU,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAkC+B;KAC5C,CAAC;GACW,0BAA0B,CAwFtC;AAxFY,gEAA0B"}
|
|
@@ -91,7 +91,7 @@ WarehouseBizplaceOnhandInventory = __decorate([
|
|
|
91
91
|
COALESCE(sum(COALESCE(i.transfer_uom_value, 0::double precision))) AS "transfer_uom_value",
|
|
92
92
|
'SINGLE' AS "group_type"
|
|
93
93
|
FROM inventories i
|
|
94
|
-
INNER JOIN locations l2 ON i.location_id = l2.id AND i.domain_id = l2.domain_id AND l2.type NOT IN ('QUARANTINE', 'RESERVE')
|
|
94
|
+
INNER JOIN locations l2 ON i.location_id = l2.id AND i.domain_id = l2.domain_id AND l2.type NOT IN ('QUARANTINE', 'RESERVE', 'DAMAGE')
|
|
95
95
|
INNER JOIN products p ON p.id = i.product_id
|
|
96
96
|
INNER JOIN product_details pd ON pd.id = i.product_detail_id
|
|
97
97
|
LEFT JOIN product_detail_stocks pds on pds.product_detail_id = i.product_detail_id
|
|
@@ -139,7 +139,7 @@ WarehouseBizplaceOnhandInventory = __decorate([
|
|
|
139
139
|
LEFT JOIN product_details pd ON pd.id = i.product_detail_id
|
|
140
140
|
LEFT JOIN product_detail_stocks pds ON pds.product_detail_id = i.product_detail_id
|
|
141
141
|
INNER JOIN products p ON p.id = pbs.product_id AND CASE WHEN i.expiration_date is not null and p.min_outbound_shelf_life is not null then CURRENT_DATE < i.expiration_date - p.min_outbound_shelf_life else true end
|
|
142
|
-
INNER JOIN locations l ON i.location_id = l.id AND i.domain_id = l.domain_id AND l.type NOT IN ('QUARANTINE', 'RESERVE')
|
|
142
|
+
INNER JOIN locations l ON i.location_id = l.id AND i.domain_id = l.domain_id AND l.type NOT IN ('QUARANTINE', 'RESERVE', 'DAMAGE')
|
|
143
143
|
GROUP by
|
|
144
144
|
i.domain_id,
|
|
145
145
|
i.bizplace_id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/worksheet-base",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.413",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"puppeteer": "21.0.3",
|
|
46
46
|
"uuid": "^9.0.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "8032f1e44446277514eb3b93cb5bed29f8c7d7c3"
|
|
49
49
|
}
|
|
@@ -22,7 +22,7 @@ import { EntityManager, getConnection, Index, ViewColumn, ViewEntity } from 'typ
|
|
|
22
22
|
i.id as "inventoryId",
|
|
23
23
|
i.carton_id as "inventoryCartonId",
|
|
24
24
|
i.status as "inventoryStatus",
|
|
25
|
-
|
|
25
|
+
NULL::text as "inventoryCheckItemStatus",
|
|
26
26
|
rg.name as "releaseGoodName",
|
|
27
27
|
rg.ref_no as "refNo"
|
|
28
28
|
FROM worksheet_details wd
|
|
@@ -31,7 +31,6 @@ import { EntityManager, getConnection, Index, ViewColumn, ViewEntity } from 'typ
|
|
|
31
31
|
inner JOIN order_products op ON op.id = oi.order_product_id
|
|
32
32
|
inner join inventories i on i.id = oi.inventory_id
|
|
33
33
|
inner join release_goods rg on rg.id = oi.release_good_id
|
|
34
|
-
left join inventory_check_items ici on ici.inventory_id = oi.inventory_id
|
|
35
34
|
inner join products p on p.id = oi.product_id
|
|
36
35
|
left join product_bundles pb2 on pb2.id = op.product_bundle_id
|
|
37
36
|
LEFT JOIN product_barcodes pb ON pb.product_detail_id = oi.product_detail_id
|
|
@@ -21,7 +21,7 @@ import { ViewColumn, ViewEntity } from 'typeorm'
|
|
|
21
21
|
COALESCE(sum(COALESCE(i.transfer_uom_value, 0::double precision))) AS "transfer_uom_value",
|
|
22
22
|
'SINGLE' AS "group_type"
|
|
23
23
|
FROM inventories i
|
|
24
|
-
INNER JOIN locations l2 ON i.location_id = l2.id AND i.domain_id = l2.domain_id AND l2.type NOT IN ('QUARANTINE', 'RESERVE')
|
|
24
|
+
INNER JOIN locations l2 ON i.location_id = l2.id AND i.domain_id = l2.domain_id AND l2.type NOT IN ('QUARANTINE', 'RESERVE', 'DAMAGE')
|
|
25
25
|
INNER JOIN products p ON p.id = i.product_id
|
|
26
26
|
INNER JOIN product_details pd ON pd.id = i.product_detail_id
|
|
27
27
|
LEFT JOIN product_detail_stocks pds on pds.product_detail_id = i.product_detail_id
|
|
@@ -69,7 +69,7 @@ import { ViewColumn, ViewEntity } from 'typeorm'
|
|
|
69
69
|
LEFT JOIN product_details pd ON pd.id = i.product_detail_id
|
|
70
70
|
LEFT JOIN product_detail_stocks pds ON pds.product_detail_id = i.product_detail_id
|
|
71
71
|
INNER JOIN products p ON p.id = pbs.product_id AND CASE WHEN i.expiration_date is not null and p.min_outbound_shelf_life is not null then CURRENT_DATE < i.expiration_date - p.min_outbound_shelf_life else true end
|
|
72
|
-
INNER JOIN locations l ON i.location_id = l.id AND i.domain_id = l.domain_id AND l.type NOT IN ('QUARANTINE', 'RESERVE')
|
|
72
|
+
INNER JOIN locations l ON i.location_id = l.id AND i.domain_id = l.domain_id AND l.type NOT IN ('QUARANTINE', 'RESERVE', 'DAMAGE')
|
|
73
73
|
GROUP by
|
|
74
74
|
i.domain_id,
|
|
75
75
|
i.bizplace_id,
|