JmgJobBundleProjStartupForm.getTmpJobBundleProjStartup Method [AX 2012]
Retrieves an instance of the JmgTmpJobBundleProjStartup temporary table that contains a record for each job found in the JmgJobBundle object as specified in the JmgJobBundleProjStartupForm.new method.
Syntax
public JmgTmpJobBundleProjStartup getTmpJobBundleProjStartup()
Run On
Called
Return Value
Type: JmgTmpJobBundleProjStartup Table
An instance of the JmgTmpJobBundleProjStartup temporary table that contains the data to show in the JmgTmpJobBundleProjStartup form.
Examples
The following code example shows how the getTmpJobBundleProjStartup method is used in the init method of the JmgJobBundleProjStartup form.
public void init()
{
JmgRegistrationSetupId registrationSetupId;
if (!SysDictClass::isEqualOrSuperclass(
classidget(element.args().parmObject()), classnum(JmgJobBundle)))
{
throw error(strfmt("@SYS22862", formstr(JmgJobBundleProjStartup)));
}
super();
closeCancel = false;
startupForm = new JmgJobBundleProjStartupForm(element.args().parmObject());
jmgTmpJobBundleProjStartup.setTmpData(
startupForm.getTmpJobBundleProjStartup());
if (element && element.args())
{
registrationSetupId = element.args().parm();
}
fKeyHandler = new JmgFKeyHandler(registrationSetupId);
fKeyHandler.disableFKeys();
this.initButton(button_1, 1, registrationSetupId);
this.initButton(button_2, 2, registrationSetupId);
this.initButton(button_3, 3, registrationSetupId);
this.initButton(button_4, 4, registrationSetupId);
this.initButton(button_5, 5, registrationSetupId);
}