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
Gg739172.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif canClose Retrieves whether the user is allowed to close the JmgJobBundleProjStartup form.
Gg739172.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif 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.
Gg739172.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif new Creates a new instance of the JmgJobBundleProjStartupForm Class.
Gg739172.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif onClose Saves the entered values back to the JmgJobBundle object.
Gg739172.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg739172.privmethod(en-us,AX.60).gif validateCategoryId Retrieves whether a legal cost category was entered by the user.
Gg739172.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg739172.pubmethod(en-us,AX.60).gif 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

See Also

JmgJobBundle Class

JmgJobBundleStartup Class

JmgTmpJobBundleProjStartup Table