Hey all, looking for some ideas.. when an item fir...
# suitescript
g
Hey all, looking for some ideas.. when an item first hits backorder for a specific location/s, need an event to occur.. trying to think whats the best way to do this? Don't think that can be driven off the item record as it doesn't store location specific events of quantity available reducing or item hitting backordered for a location so think this has to be driven by sales orders? Whats the best way of doing this? output needs to be internal ID of the item to an endpoint.. thoughts please.. assuming restlet post but a bit more info on how to achieve would be helpful... thanks
b
map/reduce script
g
@battk assuming you are thinking this would be based of a search with the output that I need? This would also be on a schedule so every 15mins? is there anything more instantaneous? i.e. it hits zero, comes up on a search which then triggers to an endpoint?
b
not really unless you want to deploy a script on every inventory impacting transaction
and even that wont catch everything
you would need very specific requirements to make sure a user event script is good enough
g
ah okay, what are you thinking in that case?