5 Replies Latest reply on Jul 2, 2009 4:34 PM by philmodjunk

    Script - Look for field then email someone with other fields.

    WillGonz

      Title

      Script - Look for field then email someone with other fields.

      Post

      I am doing an inventory database.  There is a product name among other fields.  There is an Amount in Stock field and a reorder level with a field that is automatically calculated based on the amount in stock and the reorder level.  So here is what I am trying to do.

       

      Go through all records.

      Find all the ones that have the word reorder in the timetoreorder field.

      If the itemwasreordered checkbox is checked then continue to the next one don't email. 

      Send an email to sally.smith@mycompany.com

      The email should say.  Please order the following...  [ProductName] [ItemNumber] [Vendor].

       

      If it is supported I would like to do it in one email.  If not then an email per item is fine too.

       

      Could this be setup to run automatically every night?

       

      Thanks,

      William