feat(notify): shortage bookings based on time and article type

This commit is contained in:
2025-06-20 11:18:37 -05:00
parent 095d724e65
commit c5bd5a7c0a
5 changed files with 268 additions and 0 deletions

View File

@@ -117,6 +117,30 @@ export const note: any = [
active: false,
notifiySettings: { processTime: 15 },
},
{
name: "palletsRemovedAsWaste",
description:
"Validates stock to make sure, there are no pallets released that have been removed as waste already ",
checkInterval: 15,
timeType: "min",
emails: "blake.matthes@alpla.com",
active: false,
notifiySettings: { prodID: 1 },
},
{
name: "shortageBookings",
description:
"Checks for material shortage bookings by single av type or all types ",
checkInterval: 15,
timeType: "min",
emails: "blake.matthes@alpla.com",
active: false,
notifiySettings: {
time: 15,
type: "all", // change this to something else or leave blank to use the av type
avType: 1,
},
},
];
export const notificationCreate = async () => {