Forum Discussion

BrianDunk's avatar
BrianDunk
Qrew Cadet
7 years ago

Best way to trigger notification email

I have an application that has a parent child table relationship.  After the user sets up the Shipment (Parent) they will add Items (Child) to the shipment.  The amount of items can be different every time a Shipment is created.  When the user is done adding items to the shipment I want to send an email notification.  My question is what is the best way to trigger the notification when the user is finished adding items?  I do not want to send a notification every time an item is added and sending a notification when the Shipment is set up does not actually mean the shipment is ready for processing as the user needs to still add Items to the shipment.  Any suggestions is much appreciated.

19 Replies

  • Ok here is what I received:


    Require Application tokens check box under Security Options is unchecked.
  • OK, yes I left out the most important part of the formula, which record to edit!

    var text URL = urlroot() & "db/" & dbid() & "?act=API_EditRecord"
    & "&rid=" & [Record ID#]
    & "&_fid_xx=" & ToText(now());


    "javascript:" &
    "$.get('" & 
    $URL & 
    "',function(){" &
    "location.reload(true);" &
    "});" 
    & "void(0);"
  • Still nothing happening.  EmailSent date/time field still blank. 

    Error with no Java:  




  • That as a success message. The original button will now work if you add in that extra line like I suggested.