JmgEmplSignedInForm Class [AX 2012]

The JmgEmplSignedInForm class is the supportive class for the shop floor control attendance.

Syntax

class JmgEmplSignedInForm

Run On

Called

Methods

  Method Description
Gg738382.pubmethod(en-us,AX.60).gif absenceRegisteredValue Retrieves the integer value, which corresponds to registered absence.
Gg738382.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg738382.pubmethod(en-us,AX.60).gif clockedInValue Retrieves the integer value that corresponds with the clocked in value.
Gg738382.pubmethod(en-us,AX.60).gif clockedOutValue Retrieves the integer value that corresponds to the clocked out value.
Gg738382.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg738382.pubmethod(en-us,AX.60).gif getAbsenceSums Retrieves the number of absent workers at the specified date and calculation group.
Gg738382.pubmethod(en-us,AX.60).gif getRecordSet Retrieve information about clocked in workers and their current activity.
Gg738382.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg738382.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg738382.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg738382.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.)
Gg738382.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.)
Gg738382.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg738382.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg738382.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg738382.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg738382.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.)
Gg738382.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg738382.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg738382.pubmethod(en-us,AX.60).gif Gg738382.static(en-us,AX.60).gif ::addWorker Adds a record that contains the worker attendance information to the JmgTmpEmplSignedIn temporary buffer that is specified.
Gg738382.pubmethod(en-us,AX.60).gif Gg738382.static(en-us,AX.60).gif ::getData Retrieves attendance data for a calculation group and date.
Gg738382.pubmethod(en-us,AX.60).gif Gg738382.static(en-us,AX.60).gif ::getDataFromQuery Retrieves attendance data from a specified query.

Top

Remarks

This class is only used with the attendance form in the shop floor control. The main use is to fetch attendance information in a JmgTmpEmplSignedIn temporary table.

Examples

The following example demonstrates the use of this class.

// From \Forms\JmgEmplSignedIn\methods\changeGroup 
 
void changeGroup() 
{ 
    Dialog      dialog; 
    DialogField dialogField; 
 
    dialog  = new Dialog("@SYS38468"); 
 
    dialogField = dialog.addField(extendedTypeStr(JmgGroupCalcId)); 
    dialogField.value(jmgGroupCalcId); 
 
    if (dialog.run())
    {
        jmgGroupCalcId = dialogField.value();
        jmgTmpEmplSignedIn.setTmpData(JmgEmplSignedInForm::getData(
                                    jmgGroupCalcId, 
                                    JmgProfileSeconds::getSysDate()));
        jmgTmpEmplSignedIn_ds.executeQuery();
        xSysLastValue::saveLast(this);
     }
}

Inheritance Hierarchy

Object Class
  JmgEmplSignedInForm Class

See Also

JmgTmpEmplSignedIn Table