Share via


JmgJobBundleProjStartupForm.onClose Method [AX 2012]

Saves the entered values back to the JmgJobBundle object.

Syntax

public void onClose(JmgTmpJobBundleProjStartup _jobBundleProjStartup)

Run On

Called

Parameters

  • _jobBundleProjStartup
    Type: JmgTmpJobBundleProjStartup Table
    An instance of the JmgTmpJobBundleProjStartup temporary table that contains the values to be saved in the JmgJobBundle object.

Remarks

This method is called from the close method of the JmgJobBundleProjStartup form. Each record in the JmgTmpJobBundleStartupProj table contains the registration parameters for a job. These are saved back to the JmgJobBundle object.

Examples

The following code example shows how the onClose method is used from the close method on the JmgJobBundleProjStartup form.

public void close() 
{ 
    if (closeCancel) 
    { 
        element.args().parmEnum(NoYes::Yes); 
    } 
    else 
    { 
        startupForm.onClose(jmgTmpJobBundleProjStartup); 
        element.args().parmEnum(NoYes::No); 
    } 
    super(); 
} 

See Also

JmgJobBundleProjStartupForm Class

JmgJobBundleProjStartupForm.canClose Method

JmgJobBundle Class