JmgJobBundleProjStartupForm Class [AX 2012]
The JmgJobBundleProjStartupForm class supports the JmgJobBundleProjStartup form. The form requests that the user input a cost category when making a start registration on a project job.
Syntax
class JmgJobBundleProjStartupForm
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
canClose | Retrieves whether the user is allowed to close the JmgJobBundleProjStartup form. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
getTmpJobBundleProjStartup | 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. | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
new | Creates a new instance of the JmgJobBundleProjStartupForm Class. | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
onClose | Saves the entered values back to the JmgJobBundle object. | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
validateCategoryId | Retrieves whether a legal cost category was entered by the user. | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Top
Remarks
Based on an instance of the JmgJobBundle class, the JmgJobBundleProjStartupForm class initializes the JmgTmpJobBundleProjStartup temporary table, which is shown to the user. When they close the form, the entered values are saved to the JmgJobBundle object. Use the JmgJobBundleProjStartupForm class only from the JmgJobBundleProjStartup form.
Examples
The following example shows how the JmgJobBundleProjStartupForm class 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);
}
Inheritance Hierarchy
Object Class
JmgJobBundleProjStartupForm Class