Hello; I hope someone can offer some assistance..
I need help with the following:
A section of my database contains fields (evalterm_1, through evalterm_5) Currently the fields do not effect the email.
I need to change the code so when the fields are > 60, a specail email notification must be sent. If < 60, just the ordinary email notification (below is the code for the ordinary email that is sent regardless of what is stored in the fields.
Here is the email code:
@PostedCommand([EditDocument]; "1");
@MailSend(salesmgr;Author;coordinator; @Name([CN];@UserName)+" has submitted a request to extend an eval for "+Company+". "+@Name([CN];salesmgr) +" please review and approve or reject extension";"";"";[IncludeDoclink] );
FIELD sentman_3 := "Eval extension request was sent by "+@Name([CN];@UserName)+" on " +@Text(@Today)+" for review";
FIELD Status_1 := "Sent to Manager";
FIELD ext1 := @Today;
@PostedCommand([FileSave]);
@PostedCommand([FileCloseWindow])
Can the current code be edited to send to just the salesmgr and one other person if the values add up to > 60 and just do what it does now if the value < 60?
If anyone can help me , it would be greatly appreciated...
I need help with the following:
A section of my database contains fields (evalterm_1, through evalterm_5) Currently the fields do not effect the email.
I need to change the code so when the fields are > 60, a specail email notification must be sent. If < 60, just the ordinary email notification (below is the code for the ordinary email that is sent regardless of what is stored in the fields.
Here is the email code:
@PostedCommand([EditDocument]; "1");
@MailSend(salesmgr;Author;coordinator; @Name([CN];@UserName)+" has submitted a request to extend an eval for "+Company+". "+@Name([CN];salesmgr) +" please review and approve or reject extension";"";"";[IncludeDoclink] );
FIELD sentman_3 := "Eval extension request was sent by "+@Name([CN];@UserName)+" on " +@Text(@Today)+" for review";
FIELD Status_1 := "Sent to Manager";
FIELD ext1 := @Today;
@PostedCommand([FileSave]);
@PostedCommand([FileCloseWindow])
Can the current code be edited to send to just the salesmgr and one other person if the values add up to > 60 and just do what it does now if the value < 60?
If anyone can help me , it would be greatly appreciated...