@things-factory/operato-hub 4.3.618 → 4.3.619
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/graphql/resolvers/reports/{aging-report.js → custom/elccl/aging-report.js} +14 -6
- package/dist-server/graphql/resolvers/reports/custom/elccl/aging-report.js.map +1 -0
- package/dist-server/graphql/resolvers/reports/custom/elccl/custom-elccl-fn-dispatch-report.js.map +1 -0
- package/dist-server/graphql/resolvers/reports/{export-report.js → custom/elccl/export-report.js} +14 -7
- package/dist-server/graphql/resolvers/reports/custom/elccl/export-report.js.map +1 -0
- package/dist-server/graphql/resolvers/reports/index.js +3 -3
- package/dist-server/graphql/resolvers/reports/index.js.map +1 -1
- package/dist-server/graphql/types/reports/custom/elccl/agingreport/aging-report-list.js.map +1 -0
- package/dist-server/graphql/types/reports/{aging-report.js → custom/elccl/agingreport/aging-report.js} +2 -0
- package/dist-server/graphql/types/reports/custom/elccl/agingreport/aging-report.js.map +1 -0
- package/dist-server/graphql/types/reports/custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report-list.js.map +1 -0
- package/dist-server/graphql/types/reports/custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report.js.map +1 -0
- package/dist-server/graphql/types/reports/custom/elccl/exportreport/export-report-list.js.map +1 -0
- package/dist-server/graphql/types/reports/{export-report.js → custom/elccl/exportreport/export-report.js} +2 -0
- package/dist-server/graphql/types/reports/custom/elccl/exportreport/export-report.js.map +1 -0
- package/dist-server/graphql/types/reports/index.js +6 -6
- package/dist-server/graphql/types/reports/index.js.map +1 -1
- package/package.json +2 -2
- package/server/graphql/resolvers/reports/{aging-report.ts → custom/elccl/aging-report.ts} +14 -7
- package/server/graphql/resolvers/reports/{export-report.ts → custom/elccl/export-report.ts} +14 -7
- package/server/graphql/resolvers/reports/index.ts +3 -3
- package/server/graphql/types/reports/{aging-report.ts → custom/elccl/agingreport/aging-report.ts} +2 -0
- package/server/graphql/types/reports/{export-report.ts → custom/elccl/exportreport/export-report.ts} +2 -0
- package/server/graphql/types/reports/index.ts +6 -6
- package/dist-server/graphql/resolvers/reports/aging-report.js.map +0 -1
- package/dist-server/graphql/resolvers/reports/custom-elccl-fn-dispatch-report.js.map +0 -1
- package/dist-server/graphql/resolvers/reports/export-report.js.map +0 -1
- package/dist-server/graphql/types/reports/aging-report-list.js.map +0 -1
- package/dist-server/graphql/types/reports/aging-report.js.map +0 -1
- package/dist-server/graphql/types/reports/custom-elccl-fn-dispatch-report-list.js.map +0 -1
- package/dist-server/graphql/types/reports/custom-elccl-fn-dispatch-report.js.map +0 -1
- package/dist-server/graphql/types/reports/export-report-list.js.map +0 -1
- package/dist-server/graphql/types/reports/export-report.js.map +0 -1
- /package/dist-server/graphql/resolvers/reports/{custom-elccl-fn-dispatch-report.js → custom/elccl/custom-elccl-fn-dispatch-report.js} +0 -0
- /package/dist-server/graphql/types/reports/{aging-report-list.js → custom/elccl/agingreport/aging-report-list.js} +0 -0
- /package/dist-server/graphql/types/reports/{custom-elccl-fn-dispatch-report-list.js → custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report-list.js} +0 -0
- /package/dist-server/graphql/types/reports/{custom-elccl-fn-dispatch-report.js → custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report.js} +0 -0
- /package/dist-server/graphql/types/reports/{export-report-list.js → custom/elccl/exportreport/export-report-list.js} +0 -0
- /package/server/graphql/resolvers/reports/{custom-elccl-fn-dispatch-report.ts → custom/elccl/custom-elccl-fn-dispatch-report.ts} +0 -0
- /package/server/graphql/types/reports/{aging-report-list.ts → custom/elccl/agingreport/aging-report-list.ts} +0 -0
- /package/server/graphql/types/reports/{custom-elccl-fn-dispatch-report-list.ts → custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report-list.ts} +0 -0
- /package/server/graphql/types/reports/{custom-elccl-fn-dispatch-report.ts → custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report.ts} +0 -0
- /package/server/graphql/types/reports/{export-report-list.ts → custom/elccl/exportreport/export-report-list.ts} +0 -0
package/dist-server/graphql/resolvers/reports/{aging-report.js → custom/elccl/aging-report.js}
RENAMED
|
@@ -27,6 +27,7 @@ exports.agingReport = {
|
|
|
27
27
|
count(DISTINCT i.pallet_id) as "pallet",
|
|
28
28
|
coalesce(sum(i.qty - coalesce(i.locked_qty,0)),0) as "qty_available",
|
|
29
29
|
i.pallet_id as "lot_id",
|
|
30
|
+
l.name as "location",
|
|
30
31
|
i.batch_id as "batch_id",
|
|
31
32
|
to_char(grn.created_at+interval '8hours','dd/mm/yyyy') as "receipt_date",
|
|
32
33
|
to_char(i.expiration_date,'dd/mm/yyyy') as "exp_date",
|
|
@@ -36,9 +37,11 @@ exports.agingReport = {
|
|
|
36
37
|
extract(day from now()+interval '8 hours'-grn.created_at+interval '8 hours') as "days_in_warehouse",
|
|
37
38
|
extract(day from now()+interval '8 hours'-i.expiration_date+interval '8 hours') as "days_to_expire",
|
|
38
39
|
extract(month from age(now()+interval '8 hours',grn.created_at+interval '8 hours')) as "months_in_warehouse",
|
|
39
|
-
extract(year from age(now()+interval '8 hours',i.expiration_date+interval '8 hours')) * 12 + extract(month from age(now()+interval '8 hours',i.expiration_date+interval '8 hours')) as "months_to_expire"
|
|
40
|
+
extract(year from age(now()+interval '8 hours',i.expiration_date+interval '8 hours')) * 12 + extract(month from age(now()+interval '8 hours',i.expiration_date+interval '8 hours')) as "months_to_expire",
|
|
41
|
+
null as "remarks"
|
|
40
42
|
from inventories i
|
|
41
43
|
inner join products p on p.id = i.product_id
|
|
44
|
+
left join locations l on l.id = i.location_id
|
|
42
45
|
left join order_products op on op.id = i.order_product_id::uuid
|
|
43
46
|
left join arrival_notices an on an.id = op.arrival_notice_id
|
|
44
47
|
left join goods_receival_notes grn on an.id = grn.arrival_notice_id
|
|
@@ -46,8 +49,7 @@ exports.agingReport = {
|
|
|
46
49
|
and p.sku NOT IN ('1310065', '1310433', '1310434', '1310435', '1310436', '1310437')
|
|
47
50
|
and i.status not in ('PUTTING_AWAY','TERMINATED','MISSING')
|
|
48
51
|
and i.expiration_date is not null
|
|
49
|
-
group by p.sku, p.name, i.pallet_id, i.batch_id,
|
|
50
|
-
grn.created_at, i.expiration_date, i.manufacture_date, i.packing_type
|
|
52
|
+
group by p.sku, p.name, l.id, i.pallet_id, i.batch_id, grn.created_at, i.expiration_date, i.manufacture_date, i.packing_type
|
|
51
53
|
having coalesce(sum(i.qty - coalesce(i.locked_qty,0)),0) > 0
|
|
52
54
|
)
|
|
53
55
|
`, [bizplaceIds]);
|
|
@@ -73,6 +75,7 @@ exports.agingReport = {
|
|
|
73
75
|
pallet: itm.pallet,
|
|
74
76
|
qtyAvailable: itm.qty_available,
|
|
75
77
|
lotId: itm.lot_id,
|
|
78
|
+
location: itm.location,
|
|
76
79
|
batchId: itm.batch_id,
|
|
77
80
|
receiptDate: itm.receipt_date,
|
|
78
81
|
expDate: itm.exp_date,
|
|
@@ -82,7 +85,8 @@ exports.agingReport = {
|
|
|
82
85
|
daysInWarehouse: itm.days_in_warehouse,
|
|
83
86
|
daysToExpire: itm.days_to_expire,
|
|
84
87
|
monthsInWarehouse: itm.months_in_warehouse,
|
|
85
|
-
monthsToExpire: itm.months_to_expire
|
|
88
|
+
monthsToExpire: itm.months_to_expire,
|
|
89
|
+
remarks: itm.remarks
|
|
86
90
|
}));
|
|
87
91
|
// Map aggregated totals
|
|
88
92
|
let totalItems = totals.map(total => ({
|
|
@@ -101,6 +105,7 @@ exports.agingReport = {
|
|
|
101
105
|
pallet: total.totalPallet,
|
|
102
106
|
qtyAvailable: total.totalQtyAvailable,
|
|
103
107
|
lotId: null,
|
|
108
|
+
location: null,
|
|
104
109
|
batchId: null,
|
|
105
110
|
receiptDate: null,
|
|
106
111
|
expDate: null,
|
|
@@ -110,7 +115,8 @@ exports.agingReport = {
|
|
|
110
115
|
daysInWarehouse: null,
|
|
111
116
|
daysToExpire: null,
|
|
112
117
|
monthsInWarehouse: null,
|
|
113
|
-
monthsToExpire: null
|
|
118
|
+
monthsToExpire: null,
|
|
119
|
+
remarks: null
|
|
114
120
|
});
|
|
115
121
|
}
|
|
116
122
|
});
|
|
@@ -124,6 +130,7 @@ exports.agingReport = {
|
|
|
124
130
|
pallet: grandTotalPallet,
|
|
125
131
|
qtyAvailable: grandTotalQtyAvailable,
|
|
126
132
|
lotId: null,
|
|
133
|
+
location: null,
|
|
127
134
|
batchId: null,
|
|
128
135
|
receiptDate: null,
|
|
129
136
|
expDate: null,
|
|
@@ -133,7 +140,8 @@ exports.agingReport = {
|
|
|
133
140
|
daysInWarehouse: null,
|
|
134
141
|
daysToExpire: null,
|
|
135
142
|
monthsInWarehouse: null,
|
|
136
|
-
monthsToExpire: null
|
|
143
|
+
monthsToExpire: null,
|
|
144
|
+
remarks: null
|
|
137
145
|
});
|
|
138
146
|
// Return the modified items with inserted totals
|
|
139
147
|
return {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aging-report.js","sourceRoot":"","sources":["../../../../../../server/graphql/resolvers/reports/custom/elccl/aging-report.ts"],"names":[],"mappings":";;;AACA,uDAAmD;AAGtC,QAAA,WAAW,GAAG;IACzB,KAAK,CAAC,WAAW,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACvD,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YAEnD,yCAAyC;YACzC,IAAI,eAAe,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YAE7E,IAAI,CAAC,eAAe,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC;gBAClD,MAAM,yDAAyD,CAAA;YAEjE,oCAAoC;YACpC,MAAM,WAAW,GAAG,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;YAE/D,IAAI,CAAC,WAAW,IAAI,WAAW,CAAC,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,wBAAwB;YACxB,MAAM,gBAAgB,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAA;YAC9F,MAAM,sBAAsB,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAA;YAE1G,wCAAwC;YACxC,KAAK,CAAC,IAAI,CAAC;gBACT,UAAU,EAAE,IAAI;gBAChB,WAAW,EAAE,aAAa;gBAC1B,MAAM,EAAE,gBAAgB;gBACxB,YAAY,EAAE,sBAAsB;gBACpC,KAAK,EAAE,IAAI;gBACX,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,IAAI;gBACjB,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,IAAI;gBACjB,UAAU,EAAE,IAAI;gBAChB,eAAe,EAAE,IAAI;gBACrB,YAAY,EAAE,IAAI;gBAClB,iBAAiB,EAAE,IAAI;gBACvB,cAAc,EAAE,IAAI;gBACpB,OAAO,EAAE,IAAI;aACd,CAAC,CAAA;YAEF,iDAAiD;YACjD,OAAO;gBACL,KAAK;gBACL,MAAM,EAAE,UAAU;aACnB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
package/dist-server/graphql/resolvers/reports/custom/elccl/custom-elccl-fn-dispatch-report.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-elccl-fn-dispatch-report.js","sourceRoot":"","sources":["../../../../../../server/graphql/resolvers/reports/custom/elccl/custom-elccl-fn-dispatch-report.ts"],"names":[],"mappings":";;;AAIa,QAAA,yBAAyB,GAAG;IACvC,KAAK,CAAC,yBAAyB,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACrE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,sDAAsD;YACtD,MAAM,EAAE,CAAC,KAAK,CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BD,CACA,CAAA;YAED,0BAA0B;YAC1B,MAAM,MAAM,GAAQ,MAAM,EAAE,CAAC,KAAK,CAChC;;;OAGD,CACA,CAAA;YAED,iCAAiC;YACjC,IAAI,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;gBAC3B,OAAO;oBACL,YAAY,EAAE,GAAG,CAAC,aAAa;oBAC/B,kBAAkB,EAAE,GAAG,CAAC,oBAAoB;oBAC5C,iBAAiB,EAAE,GAAG,CAAC,mBAAmB;oBAC1C,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,MAAM,EAAE,GAAG,CAAC,OAAO;oBACnB,UAAU,EAAE,GAAG,CAAC,YAAY;oBAC5B,UAAU,EAAE,GAAG,CAAC,IAAI;oBACpB,kBAAkB,EAAE,GAAG,CAAC,WAAW;oBACnC,GAAG,EAAE,GAAG,CAAC,GAAG;oBACZ,KAAK,EAAE,GAAG,CAAC,MAAM;oBACjB,KAAK,EAAE,GAAG,CAAC,KAAK;oBAChB,OAAO,EAAE,GAAG,CAAC,QAAQ;oBACrB,OAAO,EAAE,GAAG,CAAC,QAAQ,CAAC,mBAAmB;iBAC1C,CAAA;YACH,CAAC,CAAC,CAAA;YAEF,+BAA+B;YAC/B,OAAO;gBACL,KAAK;aACN,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
package/dist-server/graphql/resolvers/reports/{export-report.js → custom/elccl/export-report.js}
RENAMED
|
@@ -27,6 +27,7 @@ exports.exportReport = {
|
|
|
27
27
|
count(DISTINCT i.pallet_id) as "pallet",
|
|
28
28
|
coalesce(sum(i.qty - coalesce(i.locked_qty, 0)), 0) as "qty_available",
|
|
29
29
|
i.pallet_id as "lot_id",
|
|
30
|
+
l.name as "location",
|
|
30
31
|
i.batch_id as "batch_id",
|
|
31
32
|
to_char(grn.created_at + interval '8 hours', 'dd/mm/yyyy') as "receipt_date",
|
|
32
33
|
to_char(i.expiration_date, 'dd/mm/yyyy') as "exp_date",
|
|
@@ -36,9 +37,11 @@ exports.exportReport = {
|
|
|
36
37
|
extract(day from now() + interval '8 hours' - grn.created_at + interval '8 hours') as "days_in_warehouse",
|
|
37
38
|
extract(day from now() + interval '8 hours' - i.expiration_date + interval '8 hours') as "days_to_expire",
|
|
38
39
|
extract(month from age(now() + interval '8 hours', grn.created_at + interval '8 hours')) as "months_in_warehouse",
|
|
39
|
-
extract(year from age(now() + interval '8 hours', i.expiration_date + interval '8 hours')) * 12 + extract(month from age(now() + interval '8 hours', i.expiration_date + interval '8 hours')) as "months_to_expire"
|
|
40
|
+
extract(year from age(now() + interval '8 hours', i.expiration_date + interval '8 hours')) * 12 + extract(month from age(now() + interval '8 hours', i.expiration_date + interval '8 hours')) as "months_to_expire",
|
|
41
|
+
null as "remarks"
|
|
40
42
|
from inventories i
|
|
41
43
|
inner join products p on p.id = i.product_id
|
|
44
|
+
left join locations l on l.id = i.location_id
|
|
42
45
|
left join order_products op on op.id = i.order_product_id::uuid
|
|
43
46
|
left join arrival_notices an on an.id = op.arrival_notice_id
|
|
44
47
|
left join goods_receival_notes grn on an.id = grn.arrival_notice_id
|
|
@@ -46,9 +49,7 @@ exports.exportReport = {
|
|
|
46
49
|
and i.bizplace_id in ('f0848540-9d8f-4835-b744-2407db36a14e','226c9c9d-9685-403d-8f05-89b7d3b8691e','157a9653-9f2b-4568-b245-ab8791db98ce')
|
|
47
50
|
and i.status not in('PUTTING_AWAY','TERMINATED','MISSING')
|
|
48
51
|
and i.expiration_date is not null
|
|
49
|
-
group by
|
|
50
|
-
p.sku, p.name, i.pallet_id, i.batch_id,
|
|
51
|
-
grn.created_at, i.expiration_date, i.manufacture_date, i.packing_type
|
|
52
|
+
group by p.sku, p.name, l.id, i.pallet_id, i.batch_id, grn.created_at, i.expiration_date, i.manufacture_date, i.packing_type
|
|
52
53
|
)
|
|
53
54
|
`);
|
|
54
55
|
// Fetch detailed results
|
|
@@ -73,6 +74,7 @@ exports.exportReport = {
|
|
|
73
74
|
pallet: itm.pallet,
|
|
74
75
|
qtyAvailable: itm.qty_available,
|
|
75
76
|
lotId: itm.lot_id,
|
|
77
|
+
location: itm.location,
|
|
76
78
|
batchId: itm.batch_id,
|
|
77
79
|
receiptDate: itm.receipt_date,
|
|
78
80
|
expDate: itm.exp_date,
|
|
@@ -82,7 +84,8 @@ exports.exportReport = {
|
|
|
82
84
|
daysInWarehouse: itm.days_in_warehouse,
|
|
83
85
|
daysToExpire: itm.days_to_expire,
|
|
84
86
|
monthsInWarehouse: itm.months_in_warehouse,
|
|
85
|
-
monthsToExpire: itm.months_to_expire
|
|
87
|
+
monthsToExpire: itm.months_to_expire,
|
|
88
|
+
remarks: itm.remarks
|
|
86
89
|
}));
|
|
87
90
|
// Map aggregated totals
|
|
88
91
|
let totalItems = totals.map(total => ({
|
|
@@ -101,6 +104,7 @@ exports.exportReport = {
|
|
|
101
104
|
pallet: total.totalPallet,
|
|
102
105
|
qtyAvailable: total.totalQtyAvailable,
|
|
103
106
|
lotId: null,
|
|
107
|
+
location: null,
|
|
104
108
|
batchId: null,
|
|
105
109
|
receiptDate: null,
|
|
106
110
|
expDate: null,
|
|
@@ -110,7 +114,8 @@ exports.exportReport = {
|
|
|
110
114
|
daysInWarehouse: null,
|
|
111
115
|
daysToExpire: null,
|
|
112
116
|
monthsInWarehouse: null,
|
|
113
|
-
monthsToExpire: null
|
|
117
|
+
monthsToExpire: null,
|
|
118
|
+
remarks: null
|
|
114
119
|
});
|
|
115
120
|
}
|
|
116
121
|
});
|
|
@@ -124,6 +129,7 @@ exports.exportReport = {
|
|
|
124
129
|
pallet: grandTotalPallet,
|
|
125
130
|
qtyAvailable: grandTotalQtyAvailable,
|
|
126
131
|
lotId: null,
|
|
132
|
+
location: null,
|
|
127
133
|
batchId: null,
|
|
128
134
|
receiptDate: null,
|
|
129
135
|
expDate: null,
|
|
@@ -133,7 +139,8 @@ exports.exportReport = {
|
|
|
133
139
|
daysInWarehouse: null,
|
|
134
140
|
daysToExpire: null,
|
|
135
141
|
monthsInWarehouse: null,
|
|
136
|
-
monthsToExpire: null
|
|
142
|
+
monthsToExpire: null,
|
|
143
|
+
remarks: null
|
|
137
144
|
});
|
|
138
145
|
// Return the modified items with inserted totals
|
|
139
146
|
return {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-report.js","sourceRoot":"","sources":["../../../../../../server/graphql/resolvers/reports/custom/elccl/export-report.ts"],"names":[],"mappings":";;;AACA,uDAAmD;AAGtC,QAAA,YAAY,GAAG;IAC1B,KAAK,CAAC,YAAY,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACxD,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YAEnD,yCAAyC;YACzC,IAAI,eAAe,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YAE7E,IAAI,CAAC,eAAe,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC;gBAClD,MAAM,yDAAyD,CAAA;YAEjE,oCAAoC;YACpC,MAAM,WAAW,GAAG,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;YAE/D,IAAI,CAAC,WAAW,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;gBAAE,MAAM,yCAAyC,CAAA;YAE7F,iEAAiE;YACjE,MAAM,SAAS,GAAe,MAAM,EAAE,CAAC,aAAa,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CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAA;YAC9F,MAAM,sBAAsB,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAA;YAE1G,wCAAwC;YACxC,KAAK,CAAC,IAAI,CAAC;gBACT,UAAU,EAAE,IAAI;gBAChB,WAAW,EAAE,aAAa;gBAC1B,MAAM,EAAE,gBAAgB;gBACxB,YAAY,EAAE,sBAAsB;gBACpC,KAAK,EAAE,IAAI;gBACX,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,IAAI;gBACjB,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,IAAI;gBACjB,UAAU,EAAE,IAAI;gBAChB,eAAe,EAAE,IAAI;gBACrB,YAAY,EAAE,IAAI;gBAClB,iBAAiB,EAAE,IAAI;gBACvB,cAAc,EAAE,IAAI;gBACpB,OAAO,EAAE,IAAI;aACd,CAAC,CAAA;YAEF,iDAAiD;YACjD,OAAO;gBACL,KAAK;gBACL,MAAM,EAAE,UAAU;aACnB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
|
@@ -4,12 +4,12 @@ exports.Query = void 0;
|
|
|
4
4
|
const inbound_order_details_report_1 = require("./inbound-order-details-report");
|
|
5
5
|
const outbound_order_details_report_1 = require("./outbound-order-details-report");
|
|
6
6
|
const shortage_report_1 = require("./shortage-report");
|
|
7
|
-
const custom_elccl_fn_dispatch_report_1 = require("./custom-elccl-fn-dispatch-report");
|
|
8
|
-
const aging_report_1 = require("./aging-report");
|
|
7
|
+
const custom_elccl_fn_dispatch_report_1 = require("./custom/elccl/custom-elccl-fn-dispatch-report");
|
|
8
|
+
const aging_report_1 = require("./custom/elccl/aging-report");
|
|
9
9
|
const asn_report_1 = require("./asn-report");
|
|
10
10
|
const admiral_asn_report_1 = require("./admiral-asn-report");
|
|
11
11
|
const receiving_report_1 = require("./receiving-report");
|
|
12
|
-
const export_report_1 = require("./export-report");
|
|
12
|
+
const export_report_1 = require("./custom/elccl/export-report");
|
|
13
13
|
const custom_posmy_aging_report_1 = require("./custom/posmy/custom-posmy-aging-report");
|
|
14
14
|
exports.Query = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, inbound_order_details_report_1.inboundOrderDetailsReport), outbound_order_details_report_1.outboundOrderDetailsReport), shortage_report_1.shortageReport), custom_elccl_fn_dispatch_report_1.customElcclDispatchReport), aging_report_1.agingReport), asn_report_1.asnReport), admiral_asn_report_1.admiralAsnReport), custom_elccl_fn_dispatch_report_1.customElcclDispatchReport), receiving_report_1.receivingReport), export_report_1.exportReport), custom_posmy_aging_report_1.customPosmyAgingReport);
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/index.ts"],"names":[],"mappings":";;;AAAA,iFAA0E;AAC1E,mFAA4E;AAC5E,uDAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/index.ts"],"names":[],"mappings":";;;AAAA,iFAA0E;AAC1E,mFAA4E;AAC5E,uDAAkD;AAClD,oGAA0F;AAC1F,8DAAyD;AACzD,6CAAwC;AACxC,6DAAuD;AACvD,yDAAoD;AACpD,gEAA2D;AAC3D,wFAAiF;AAEpE,QAAA,KAAK,iKACb,wDAAyB,GACzB,0DAA0B,GAC1B,gCAAc,GACd,2DAAyB,GACzB,0BAAW,GACX,sBAAS,GACT,qCAAgB,GAChB,2DAAyB,GACzB,kCAAe,GACf,4BAAY,GACZ,kDAAsB,EAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aging-report-list.js","sourceRoot":"","sources":["../../../../../../../server/graphql/types/reports/custom/elccl/agingreport/aging-report-list.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,eAAe,GAAG,IAAA,qBAAG,EAAA;;;;;CAKjC,CAAA"}
|
|
@@ -12,6 +12,7 @@ exports.AgingReport = (0, graphql_tag_1.default) `
|
|
|
12
12
|
pallet: Int
|
|
13
13
|
qtyAvailable: Int
|
|
14
14
|
lotId: String
|
|
15
|
+
location: String
|
|
15
16
|
batchId: String
|
|
16
17
|
receiptDate: String
|
|
17
18
|
expDate: String
|
|
@@ -22,6 +23,7 @@ exports.AgingReport = (0, graphql_tag_1.default) `
|
|
|
22
23
|
daysToExpire: Int
|
|
23
24
|
monthsInWarehouse: Int
|
|
24
25
|
monthsToExpire: Int
|
|
26
|
+
remarks: String
|
|
25
27
|
totalPallet: String
|
|
26
28
|
totalQtyAvailable: String
|
|
27
29
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aging-report.js","sourceRoot":"","sources":["../../../../../../../server/graphql/types/reports/custom/elccl/agingreport/aging-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,WAAW,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;CAsB7B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-elccl-fn-dispatch-report-list.js","sourceRoot":"","sources":["../../../../../../../server/graphql/types/reports/custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report-list.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,6BAA6B,GAAG,IAAA,qBAAG,EAAA;;;;;CAK/C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-elccl-fn-dispatch-report.js","sourceRoot":"","sources":["../../../../../../../server/graphql/types/reports/custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,yBAAyB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;CAgB3C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-report-list.js","sourceRoot":"","sources":["../../../../../../../server/graphql/types/reports/custom/elccl/exportreport/export-report-list.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,gBAAgB,GAAG,IAAA,qBAAG,EAAA;;;;;CAKlC,CAAA"}
|
|
@@ -12,6 +12,7 @@ exports.ExportReport = (0, graphql_tag_1.default) `
|
|
|
12
12
|
pallet: Int
|
|
13
13
|
qtyAvailable: Int
|
|
14
14
|
lotId: String
|
|
15
|
+
location: String
|
|
15
16
|
batchId: String
|
|
16
17
|
receiptDate: String
|
|
17
18
|
expDate: String
|
|
@@ -22,6 +23,7 @@ exports.ExportReport = (0, graphql_tag_1.default) `
|
|
|
22
23
|
daysToExpire: Int
|
|
23
24
|
monthsInWarehouse: Int
|
|
24
25
|
monthsToExpire: Int
|
|
26
|
+
remarks: String
|
|
25
27
|
totalPallet: String
|
|
26
28
|
totalQtyAvailable: String
|
|
27
29
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-report.js","sourceRoot":"","sources":["../../../../../../../server/graphql/types/reports/custom/elccl/exportreport/export-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,YAAY,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;CAsB9B,CAAA"}
|
|
@@ -7,18 +7,18 @@ const outbound_order_details_report_1 = require("./outbound-order-details-report
|
|
|
7
7
|
const outbound_order_details_report_list_1 = require("./outbound-order-details-report-list");
|
|
8
8
|
const shortage_report_list_1 = require("./shortage-report-list");
|
|
9
9
|
const shortage_report_type_1 = require("./shortage-report-type");
|
|
10
|
-
const custom_elccl_fn_dispatch_report_1 = require("./custom-elccl-fn-dispatch-report");
|
|
11
|
-
const custom_elccl_fn_dispatch_report_list_1 = require("./custom-elccl-fn-dispatch-report-list");
|
|
12
|
-
const aging_report_1 = require("./aging-report");
|
|
13
|
-
const aging_report_list_1 = require("./aging-report-list");
|
|
10
|
+
const custom_elccl_fn_dispatch_report_1 = require("./custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report");
|
|
11
|
+
const custom_elccl_fn_dispatch_report_list_1 = require("./custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report-list");
|
|
12
|
+
const aging_report_1 = require("./custom/elccl/agingreport/aging-report");
|
|
13
|
+
const aging_report_list_1 = require("./custom/elccl/agingreport/aging-report-list");
|
|
14
14
|
const asn_report_1 = require("./asn-report");
|
|
15
15
|
const asn_report_list_1 = require("./asn-report-list");
|
|
16
16
|
const admiral_asn_report_1 = require("./admiral-asn-report");
|
|
17
17
|
const admiral_asn_report_list_1 = require("./admiral-asn-report-list");
|
|
18
18
|
const receiving_report_1 = require("./receiving-report");
|
|
19
19
|
const receiving_report_list_1 = require("./receiving-report-list");
|
|
20
|
-
const export_report_1 = require("./export-report");
|
|
21
|
-
const export_report_list_1 = require("./export-report-list");
|
|
20
|
+
const export_report_1 = require("./custom/elccl/exportreport/export-report");
|
|
21
|
+
const export_report_list_1 = require("./custom/elccl/exportreport/export-report-list");
|
|
22
22
|
const custom_posmy_aging_report_1 = require("./custom/posmy/custom-posmy-aging-report");
|
|
23
23
|
const custom_posmy_aging_report_list_1 = require("./custom/posmy/custom-posmy-aging-report-list");
|
|
24
24
|
exports.Query = `
|
|
@@ -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;AACrF,iEAA2D;AAC3D,iEAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/index.ts"],"names":[],"mappings":";;;AAAA,iFAA0E;AAC1E,2FAAmF;AACnF,mFAA4E;AAC5E,6FAAqF;AACrF,iEAA2D;AAC3D,iEAAuD;AACvD,mHAAyG;AACzG,6HAAkH;AAClH,0EAAqE;AACrE,oFAA8E;AAC9E,6CAAwC;AACxC,uDAAiD;AACjD,6DAAuD;AACvD,uEAAgE;AAChE,yDAAoD;AACpD,mEAA6D;AAC7D,6EAAwE;AACxE,uFAAiF;AACjF,wFAAiF;AACjF,kGAA0F;AAE7E,QAAA,KAAK,GAAG;;;;;;;;;;;CAWpB,CAAA;AAEY,QAAA,KAAK,GAAG;IACnB,wDAAyB;IACzB,iEAA6B;IAC7B,0DAA0B;IAC1B,mEAA8B;IAC9B,qCAAc;IACd,yCAAkB;IAClB,2DAAyB;IACzB,oEAA6B;IAC7B,kCAAe;IACf,2CAAmB;IACnB,0BAAW;IACX,mCAAe;IACf,sBAAS;IACT,+BAAa;IACb,qCAAgB;IAChB,8CAAoB;IACpB,4BAAY;IACZ,qCAAgB;IAChB,kDAAsB;IACtB,2DAA0B;CAC3B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-hub",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.619",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"resolutions": {
|
|
123
123
|
"core-js": "^3.16.0"
|
|
124
124
|
},
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "9b0fbb0c802a1429e9e961d835c9a2af2e7fa387"
|
|
126
126
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EntityManager } from 'typeorm'
|
|
2
|
-
|
|
3
2
|
import { Bizplace } from '@things-factory/biz-base'
|
|
4
3
|
import { ListParam } from '@things-factory/shell'
|
|
5
4
|
|
|
@@ -34,6 +33,7 @@ export const agingReport = {
|
|
|
34
33
|
count(DISTINCT i.pallet_id) as "pallet",
|
|
35
34
|
coalesce(sum(i.qty - coalesce(i.locked_qty,0)),0) as "qty_available",
|
|
36
35
|
i.pallet_id as "lot_id",
|
|
36
|
+
l.name as "location",
|
|
37
37
|
i.batch_id as "batch_id",
|
|
38
38
|
to_char(grn.created_at+interval '8hours','dd/mm/yyyy') as "receipt_date",
|
|
39
39
|
to_char(i.expiration_date,'dd/mm/yyyy') as "exp_date",
|
|
@@ -43,9 +43,11 @@ export const agingReport = {
|
|
|
43
43
|
extract(day from now()+interval '8 hours'-grn.created_at+interval '8 hours') as "days_in_warehouse",
|
|
44
44
|
extract(day from now()+interval '8 hours'-i.expiration_date+interval '8 hours') as "days_to_expire",
|
|
45
45
|
extract(month from age(now()+interval '8 hours',grn.created_at+interval '8 hours')) as "months_in_warehouse",
|
|
46
|
-
extract(year from age(now()+interval '8 hours',i.expiration_date+interval '8 hours')) * 12 + extract(month from age(now()+interval '8 hours',i.expiration_date+interval '8 hours')) as "months_to_expire"
|
|
46
|
+
extract(year from age(now()+interval '8 hours',i.expiration_date+interval '8 hours')) * 12 + extract(month from age(now()+interval '8 hours',i.expiration_date+interval '8 hours')) as "months_to_expire",
|
|
47
|
+
null as "remarks"
|
|
47
48
|
from inventories i
|
|
48
49
|
inner join products p on p.id = i.product_id
|
|
50
|
+
left join locations l on l.id = i.location_id
|
|
49
51
|
left join order_products op on op.id = i.order_product_id::uuid
|
|
50
52
|
left join arrival_notices an on an.id = op.arrival_notice_id
|
|
51
53
|
left join goods_receival_notes grn on an.id = grn.arrival_notice_id
|
|
@@ -53,8 +55,7 @@ export const agingReport = {
|
|
|
53
55
|
and p.sku NOT IN ('1310065', '1310433', '1310434', '1310435', '1310436', '1310437')
|
|
54
56
|
and i.status not in ('PUTTING_AWAY','TERMINATED','MISSING')
|
|
55
57
|
and i.expiration_date is not null
|
|
56
|
-
group by p.sku, p.name, i.pallet_id, i.batch_id,
|
|
57
|
-
grn.created_at, i.expiration_date, i.manufacture_date, i.packing_type
|
|
58
|
+
group by p.sku, p.name, l.id, i.pallet_id, i.batch_id, grn.created_at, i.expiration_date, i.manufacture_date, i.packing_type
|
|
58
59
|
having coalesce(sum(i.qty - coalesce(i.locked_qty,0)),0) > 0
|
|
59
60
|
)
|
|
60
61
|
`,
|
|
@@ -85,6 +86,7 @@ export const agingReport = {
|
|
|
85
86
|
pallet: itm.pallet,
|
|
86
87
|
qtyAvailable: itm.qty_available,
|
|
87
88
|
lotId: itm.lot_id,
|
|
89
|
+
location: itm.location,
|
|
88
90
|
batchId: itm.batch_id,
|
|
89
91
|
receiptDate: itm.receipt_date,
|
|
90
92
|
expDate: itm.exp_date,
|
|
@@ -94,7 +96,8 @@ export const agingReport = {
|
|
|
94
96
|
daysInWarehouse: itm.days_in_warehouse,
|
|
95
97
|
daysToExpire: itm.days_to_expire,
|
|
96
98
|
monthsInWarehouse: itm.months_in_warehouse,
|
|
97
|
-
monthsToExpire: itm.months_to_expire
|
|
99
|
+
monthsToExpire: itm.months_to_expire,
|
|
100
|
+
remarks: itm.remarks
|
|
98
101
|
}))
|
|
99
102
|
|
|
100
103
|
// Map aggregated totals
|
|
@@ -116,6 +119,7 @@ export const agingReport = {
|
|
|
116
119
|
pallet: total.totalPallet,
|
|
117
120
|
qtyAvailable: total.totalQtyAvailable,
|
|
118
121
|
lotId: null,
|
|
122
|
+
location: null,
|
|
119
123
|
batchId: null,
|
|
120
124
|
receiptDate: null,
|
|
121
125
|
expDate: null,
|
|
@@ -125,7 +129,8 @@ export const agingReport = {
|
|
|
125
129
|
daysInWarehouse: null,
|
|
126
130
|
daysToExpire: null,
|
|
127
131
|
monthsInWarehouse: null,
|
|
128
|
-
monthsToExpire: null
|
|
132
|
+
monthsToExpire: null,
|
|
133
|
+
remarks: null
|
|
129
134
|
})
|
|
130
135
|
}
|
|
131
136
|
})
|
|
@@ -141,6 +146,7 @@ export const agingReport = {
|
|
|
141
146
|
pallet: grandTotalPallet,
|
|
142
147
|
qtyAvailable: grandTotalQtyAvailable,
|
|
143
148
|
lotId: null,
|
|
149
|
+
location: null,
|
|
144
150
|
batchId: null,
|
|
145
151
|
receiptDate: null,
|
|
146
152
|
expDate: null,
|
|
@@ -150,7 +156,8 @@ export const agingReport = {
|
|
|
150
156
|
daysInWarehouse: null,
|
|
151
157
|
daysToExpire: null,
|
|
152
158
|
monthsInWarehouse: null,
|
|
153
|
-
monthsToExpire: null
|
|
159
|
+
monthsToExpire: null,
|
|
160
|
+
remarks: null
|
|
154
161
|
})
|
|
155
162
|
|
|
156
163
|
// Return the modified items with inserted totals
|
|
@@ -33,6 +33,7 @@ export const exportReport = {
|
|
|
33
33
|
count(DISTINCT i.pallet_id) as "pallet",
|
|
34
34
|
coalesce(sum(i.qty - coalesce(i.locked_qty, 0)), 0) as "qty_available",
|
|
35
35
|
i.pallet_id as "lot_id",
|
|
36
|
+
l.name as "location",
|
|
36
37
|
i.batch_id as "batch_id",
|
|
37
38
|
to_char(grn.created_at + interval '8 hours', 'dd/mm/yyyy') as "receipt_date",
|
|
38
39
|
to_char(i.expiration_date, 'dd/mm/yyyy') as "exp_date",
|
|
@@ -42,9 +43,11 @@ export const exportReport = {
|
|
|
42
43
|
extract(day from now() + interval '8 hours' - grn.created_at + interval '8 hours') as "days_in_warehouse",
|
|
43
44
|
extract(day from now() + interval '8 hours' - i.expiration_date + interval '8 hours') as "days_to_expire",
|
|
44
45
|
extract(month from age(now() + interval '8 hours', grn.created_at + interval '8 hours')) as "months_in_warehouse",
|
|
45
|
-
extract(year from age(now() + interval '8 hours', i.expiration_date + interval '8 hours')) * 12 + extract(month from age(now() + interval '8 hours', i.expiration_date + interval '8 hours')) as "months_to_expire"
|
|
46
|
+
extract(year from age(now() + interval '8 hours', i.expiration_date + interval '8 hours')) * 12 + extract(month from age(now() + interval '8 hours', i.expiration_date + interval '8 hours')) as "months_to_expire",
|
|
47
|
+
null as "remarks"
|
|
46
48
|
from inventories i
|
|
47
49
|
inner join products p on p.id = i.product_id
|
|
50
|
+
left join locations l on l.id = i.location_id
|
|
48
51
|
left join order_products op on op.id = i.order_product_id::uuid
|
|
49
52
|
left join arrival_notices an on an.id = op.arrival_notice_id
|
|
50
53
|
left join goods_receival_notes grn on an.id = grn.arrival_notice_id
|
|
@@ -52,9 +55,7 @@ export const exportReport = {
|
|
|
52
55
|
and i.bizplace_id in ('f0848540-9d8f-4835-b744-2407db36a14e','226c9c9d-9685-403d-8f05-89b7d3b8691e','157a9653-9f2b-4568-b245-ab8791db98ce')
|
|
53
56
|
and i.status not in('PUTTING_AWAY','TERMINATED','MISSING')
|
|
54
57
|
and i.expiration_date is not null
|
|
55
|
-
group by
|
|
56
|
-
p.sku, p.name, i.pallet_id, i.batch_id,
|
|
57
|
-
grn.created_at, i.expiration_date, i.manufacture_date, i.packing_type
|
|
58
|
+
group by p.sku, p.name, l.id, i.pallet_id, i.batch_id, grn.created_at, i.expiration_date, i.manufacture_date, i.packing_type
|
|
58
59
|
)
|
|
59
60
|
`
|
|
60
61
|
)
|
|
@@ -83,6 +84,7 @@ export const exportReport = {
|
|
|
83
84
|
pallet: itm.pallet,
|
|
84
85
|
qtyAvailable: itm.qty_available,
|
|
85
86
|
lotId: itm.lot_id,
|
|
87
|
+
location: itm.location,
|
|
86
88
|
batchId: itm.batch_id,
|
|
87
89
|
receiptDate: itm.receipt_date,
|
|
88
90
|
expDate: itm.exp_date,
|
|
@@ -92,7 +94,8 @@ export const exportReport = {
|
|
|
92
94
|
daysInWarehouse: itm.days_in_warehouse,
|
|
93
95
|
daysToExpire: itm.days_to_expire,
|
|
94
96
|
monthsInWarehouse: itm.months_in_warehouse,
|
|
95
|
-
monthsToExpire: itm.months_to_expire
|
|
97
|
+
monthsToExpire: itm.months_to_expire,
|
|
98
|
+
remarks: itm.remarks
|
|
96
99
|
}))
|
|
97
100
|
|
|
98
101
|
// Map aggregated totals
|
|
@@ -114,6 +117,7 @@ export const exportReport = {
|
|
|
114
117
|
pallet: total.totalPallet,
|
|
115
118
|
qtyAvailable: total.totalQtyAvailable,
|
|
116
119
|
lotId: null,
|
|
120
|
+
location: null,
|
|
117
121
|
batchId: null,
|
|
118
122
|
receiptDate: null,
|
|
119
123
|
expDate: null,
|
|
@@ -123,7 +127,8 @@ export const exportReport = {
|
|
|
123
127
|
daysInWarehouse: null,
|
|
124
128
|
daysToExpire: null,
|
|
125
129
|
monthsInWarehouse: null,
|
|
126
|
-
monthsToExpire: null
|
|
130
|
+
monthsToExpire: null,
|
|
131
|
+
remarks: null
|
|
127
132
|
})
|
|
128
133
|
}
|
|
129
134
|
})
|
|
@@ -139,6 +144,7 @@ export const exportReport = {
|
|
|
139
144
|
pallet: grandTotalPallet,
|
|
140
145
|
qtyAvailable: grandTotalQtyAvailable,
|
|
141
146
|
lotId: null,
|
|
147
|
+
location: null,
|
|
142
148
|
batchId: null,
|
|
143
149
|
receiptDate: null,
|
|
144
150
|
expDate: null,
|
|
@@ -148,7 +154,8 @@ export const exportReport = {
|
|
|
148
154
|
daysInWarehouse: null,
|
|
149
155
|
daysToExpire: null,
|
|
150
156
|
monthsInWarehouse: null,
|
|
151
|
-
monthsToExpire: null
|
|
157
|
+
monthsToExpire: null,
|
|
158
|
+
remarks: null
|
|
152
159
|
})
|
|
153
160
|
|
|
154
161
|
// Return the modified items with inserted totals
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { inboundOrderDetailsReport } from './inbound-order-details-report'
|
|
2
2
|
import { outboundOrderDetailsReport } from './outbound-order-details-report'
|
|
3
3
|
import { shortageReport } from './shortage-report'
|
|
4
|
-
import { customElcclDispatchReport } from './custom-elccl-fn-dispatch-report'
|
|
5
|
-
import { agingReport } from './aging-report'
|
|
4
|
+
import { customElcclDispatchReport } from './custom/elccl/custom-elccl-fn-dispatch-report'
|
|
5
|
+
import { agingReport } from './custom/elccl/aging-report'
|
|
6
6
|
import { asnReport } from './asn-report'
|
|
7
7
|
import { admiralAsnReport } from './admiral-asn-report'
|
|
8
8
|
import { receivingReport } from './receiving-report'
|
|
9
|
-
import { exportReport } from './export-report'
|
|
9
|
+
import { exportReport } from './custom/elccl/export-report'
|
|
10
10
|
import { customPosmyAgingReport } from './custom/posmy/custom-posmy-aging-report'
|
|
11
11
|
|
|
12
12
|
export const Query = {
|
package/server/graphql/types/reports/{aging-report.ts → custom/elccl/agingreport/aging-report.ts}
RENAMED
|
@@ -7,6 +7,7 @@ export const AgingReport = gql`
|
|
|
7
7
|
pallet: Int
|
|
8
8
|
qtyAvailable: Int
|
|
9
9
|
lotId: String
|
|
10
|
+
location: String
|
|
10
11
|
batchId: String
|
|
11
12
|
receiptDate: String
|
|
12
13
|
expDate: String
|
|
@@ -17,6 +18,7 @@ export const AgingReport = gql`
|
|
|
17
18
|
daysToExpire: Int
|
|
18
19
|
monthsInWarehouse: Int
|
|
19
20
|
monthsToExpire: Int
|
|
21
|
+
remarks: String
|
|
20
22
|
totalPallet: String
|
|
21
23
|
totalQtyAvailable: String
|
|
22
24
|
}
|
package/server/graphql/types/reports/{export-report.ts → custom/elccl/exportreport/export-report.ts}
RENAMED
|
@@ -7,6 +7,7 @@ export const ExportReport = gql`
|
|
|
7
7
|
pallet: Int
|
|
8
8
|
qtyAvailable: Int
|
|
9
9
|
lotId: String
|
|
10
|
+
location: String
|
|
10
11
|
batchId: String
|
|
11
12
|
receiptDate: String
|
|
12
13
|
expDate: String
|
|
@@ -17,6 +18,7 @@ export const ExportReport = gql`
|
|
|
17
18
|
daysToExpire: Int
|
|
18
19
|
monthsInWarehouse: Int
|
|
19
20
|
monthsToExpire: Int
|
|
21
|
+
remarks: String
|
|
20
22
|
totalPallet: String
|
|
21
23
|
totalQtyAvailable: String
|
|
22
24
|
}
|
|
@@ -4,18 +4,18 @@ import { OutboundOrderDetailsReport } from './outbound-order-details-report'
|
|
|
4
4
|
import { OutboundOrderDetailsReportList } from './outbound-order-details-report-list'
|
|
5
5
|
import { ShortageReportList } from './shortage-report-list'
|
|
6
6
|
import { ShortageReport } from './shortage-report-type'
|
|
7
|
-
import { CustomElcclDispatchReport } from './custom-elccl-fn-dispatch-report'
|
|
8
|
-
import { CustomElcclDispatchReportList } from './custom-elccl-fn-dispatch-report-list'
|
|
9
|
-
import { AgingReport } from './aging-report'
|
|
10
|
-
import { AgingReportList } from './aging-report-list'
|
|
7
|
+
import { CustomElcclDispatchReport } from './custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report'
|
|
8
|
+
import { CustomElcclDispatchReportList } from './custom/elccl/dispatchreport/custom-elccl-fn-dispatch-report-list'
|
|
9
|
+
import { AgingReport } from './custom/elccl/agingreport/aging-report'
|
|
10
|
+
import { AgingReportList } from './custom/elccl/agingreport/aging-report-list'
|
|
11
11
|
import { AsnReport } from './asn-report'
|
|
12
12
|
import { AsnReportList } from './asn-report-list'
|
|
13
13
|
import { AdmiralAsnReport } from './admiral-asn-report'
|
|
14
14
|
import { AdmiralAsnReportList } from './admiral-asn-report-list'
|
|
15
15
|
import { ReceivingReport } from './receiving-report'
|
|
16
16
|
import { ReceivingReportList } from './receiving-report-list'
|
|
17
|
-
import { ExportReport } from './export-report'
|
|
18
|
-
import { ExportReportList } from './export-report-list'
|
|
17
|
+
import { ExportReport } from './custom/elccl/exportreport/export-report'
|
|
18
|
+
import { ExportReportList } from './custom/elccl/exportreport/export-report-list'
|
|
19
19
|
import { CustomPosmyAgingReport } from './custom/posmy/custom-posmy-aging-report'
|
|
20
20
|
import { CustomPosmyAgingReportList } from './custom/posmy/custom-posmy-aging-report-list'
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aging-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/aging-report.ts"],"names":[],"mappings":";;;AAEA,uDAAmD;AAGtC,QAAA,WAAW,GAAG;IACzB,KAAK,CAAC,WAAW,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;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d,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-elccl-fn-dispatch-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/custom-elccl-fn-dispatch-report.ts"],"names":[],"mappings":";;;AAIa,QAAA,yBAAyB,GAAG;IACvC,KAAK,CAAC,yBAAyB,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACrE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,sDAAsD;YACtD,MAAM,EAAE,CAAC,KAAK,CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BD,CACA,CAAA;YAED,0BAA0B;YAC1B,MAAM,MAAM,GAAQ,MAAM,EAAE,CAAC,KAAK,CAChC;;;OAGD,CACA,CAAA;YAED,iCAAiC;YACjC,IAAI,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;gBAC3B,OAAO;oBACL,YAAY,EAAE,GAAG,CAAC,aAAa;oBAC/B,kBAAkB,EAAE,GAAG,CAAC,oBAAoB;oBAC5C,iBAAiB,EAAE,GAAG,CAAC,mBAAmB;oBAC1C,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,MAAM,EAAE,GAAG,CAAC,OAAO;oBACnB,UAAU,EAAE,GAAG,CAAC,YAAY;oBAC5B,UAAU,EAAE,GAAG,CAAC,IAAI;oBACpB,kBAAkB,EAAE,GAAG,CAAC,WAAW;oBACnC,GAAG,EAAE,GAAG,CAAC,GAAG;oBACZ,KAAK,EAAE,GAAG,CAAC,MAAM;oBACjB,KAAK,EAAE,GAAG,CAAC,KAAK;oBAChB,OAAO,EAAE,GAAG,CAAC,QAAQ;oBACrB,OAAO,EAAE,GAAG,CAAC,QAAQ,CAAC,mBAAmB;iBAC1C,CAAA;YACH,CAAC,CAAC,CAAA;YAEF,+BAA+B;YAC/B,OAAO;gBACL,KAAK;aACN,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/export-report.ts"],"names":[],"mappings":";;;AACA,uDAAmD;AAGtC,QAAA,YAAY,GAAG;IAC1B,KAAK,CAAC,YAAY,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACxD,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YAEnD,yCAAyC;YACzC,IAAI,eAAe,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YAE7E,IAAI,CAAC,eAAe,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC;gBAClD,MAAM,yDAAyD,CAAA;YAEjE,oCAAoC;YACpC,MAAM,WAAW,GAAG,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;YAE/D,IAAI,CAAC,WAAW,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;gBAAE,MAAM,yCAAyC,CAAA;YAE7F,iEAAiE;YACjE,MAAM,SAAS,GAAe,MAAM,EAAE,CAAC,aAAa,CAAC,mBAAQ,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,CAAA;YAErF,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;gBAAE,MAAM,0DAA0D,CAAA;YAE1G,oCAAoC;YACpC,MAAM,EAAE,CAAC,KAAK,CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SA+BC,CACF,CAAA;YAED,yBAAyB;YACzB,MAAM,MAAM,GAAQ,MAAM,EAAE,CAAC,KAAK,CAAC;;;OAGlC,CAAC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;gBACb,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,IAAI;gBACjB,UAAU,EAAE,IAAI;gBAChB,eAAe,EAAE,IAAI;gBACrB,YAAY,EAAE,IAAI;gBAClB,iBAAiB,EAAE,IAAI;gBACvB,cAAc,EAAE,IAAI;aACrB,CAAC,CAAA;YAEF,iDAAiD;YACjD,OAAO;gBACL,KAAK;gBACL,MAAM,EAAE,UAAU;aACnB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aging-report-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/aging-report-list.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,eAAe,GAAG,IAAA,qBAAG,EAAA;;;;;CAKjC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aging-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/aging-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,WAAW,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;CAoB7B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-elccl-fn-dispatch-report-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/custom-elccl-fn-dispatch-report-list.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,6BAA6B,GAAG,IAAA,qBAAG,EAAA;;;;;CAK/C,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-elccl-fn-dispatch-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/custom-elccl-fn-dispatch-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,yBAAyB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;CAgB3C,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export-report-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/export-report-list.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,gBAAgB,GAAG,IAAA,qBAAG,EAAA;;;;;CAKlC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/export-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,YAAY,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;CAoB9B,CAAA"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|