how can i send an email to a user when item quanti...
# suitescript
l
how can i send an email to a user when item quantity (on hand) changes? Do i need a scheduled script?
d
try a saved search alert
l
that wont work
d
Are you basing this on an order or on the item? The qty on hand changes with inventory adjustments or item receipts. You could use a UE to alert immediate changes or use the scheduled script as you suggested.
l
yeah i would need to consider fulfillments, receipts, adjustments, return to vendors... i guess i can do that
s
This sounds like an awful process/request tbh
And idk why you think a saved search alert won't work, you could look for inventory posting transactions, nothing else should change the on hand
l
i would need to explain the whole process and why we are doing this, and that would make a lot of sense. this is just the first step...
b
this requirement is significantly easier if you want changes to quantity available instead of quantity on hand
the last quantity available change column from an item search or query stores the datetime representing when the quantity available changes