This formula worked in R5 but for some reason R6 clients are having a problem
setting the value in the Status field. Any ideas would be appreciated.
@Command([EditDocument];“1”) ;
@Prompt([OK];“Approval”;“An approval message will be sent to " +
@Name([CN];Name));
FIELD Status :=“Approved”; {]<—This is the line in
question!{]
@SetField(“StatusDate”; @Today);
FIELD SendTo :=SendBack;
@MailSend(SendTo;”“;”“;“Your Vacation Request”;”“;Manager+” has approved your
vacation request. Please review: ";[IncludeDoclink]);
@PostedCommand([FileSave]) ;
@PostedCommand([FileCloseWindow])