FormRun.send Method [AX 2012]

Prints an automatic report from the contents of a form.

public void send()

Run On

Client

To override this method on a form, right-click the Methods node below the form, click Override Method, and then click Send.

For information about best practices for forms and code, see No Code in Forms.

The following examples shows a call to the send method.

void runForm(Form form) 
{ 
    Args args; 
    FormRun formRun; 
  
    args = new Args(); 
    args.object(form); 
 
    // Create the run-time form. 
    formRun = classfactory.formRunClass(args); 
 
    formRun.run(); 
    formRun.detach(); 
    formRun.send(); 
}

Community Additions

ADD
Show: