JmgProfiles Class [AX 2012]
The JmgProfiles class is used as part of the calculation process when calculating a set of registrations against a profile setup.
| Method | Description | |
|---|---|---|
| bundleAddStack | Adds a registration to the internal bundles. |
| bundleSlizeTime | Updates registrations with the time calculated in the internal bundles. |
| bundleSlizeTime_NetTime | Updates registrations with the time calculated in internal bundles by using the net time allocation key. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| checkDelimitations | Checks delimitations on the pay agreement line. |
| checkEventCodesIsSet | Indicates whether the worker has created a registration on the specified switch code. |
| checkPayDeduction | Indicates whether pay must be deducted. |
| checkWorkerSkillAndCertificate | Validates that the worker has the specified skill and certificate. |
| chkAbsenceErr | Indicates whether a calculation error caused by missing absence has been detected. |
| chkChronologyErr | Indicates whether a calculation error caused by chronology has been detected. |
| chkClockInOutErr | Indicates whether a calculation error because of missing clock in or clock out registrations has been detected. |
| chkCreateAbsRec | Creates an absence registration for the specified time. |
| chkError | Indicates whether a calculation error has been detected. |
| chkTimeGaps | Creates time gaps in the internal event table. |
| chkTimeGapsAbsence | Creates absence registrations for all detected time gaps. |
| chkTransIdErr | Retrieves whether a calculation error because of a missing transaction ID has been detected. |
| clearTimeEvents | Resets the internal event table. |
| countProfileTimeEvent | Calculates profile time, break time, and absence time in the specified time interval. |
| enterTimeGapsAbsence | Adds time gaps in the internal event table. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getBreaks | Retrieves the JmgBreaks object, which handles calculation of break time. |
| getProfile | Loads the profile setup into internal variables. |
| getProfileLoadArray | Loads a single profile specification line into the internal variables. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getToleranceAdjustedTime | Retrieves a container of the specified date and time, which has been adjusted according to the profile setup. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| handleNormTime | Handles calculation of norm-time profiles. |
| handleNormTimeProfile | Handles calculation of norm time profiles. |
| initStampJournalTable | Initializes a JmgStampJournalTable record with calculation results. |
| insertProfileTimeEvent | Inserts a profile time event into the internal event table. |
| insertTimeGaps | Inserts a time gap into the internal event table for the specified time interval. |
| insertTimeGapsPlannedAbs | Inserts a time gap based on planned absence into the internal event table for the specified time interval. |
| isFlexProfile | Indicates whether the loaded profile is a flex profile. |
| loadEventCodes | Loads switch codes, which have been registered by the worker at the profile date. |
| manipulateTimeEvents | Converts events in the internal event table from one profile specification type to another. |
| new | Initializes a new instance of the JmgProfiles 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.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| roundOvertime | Modifies the internal event table to account for rounding of overtime. |
| setAllocationKey | Sets the allocation key to use, when allocating time to registrations in a bundle. |
| setClockInOutErr | Updates whether an error is caused by missing clock in or clock out registrations has occurred. |
| setNewTransId | Creates a new transaction ID for a bundle. |
| setSignInOutTransId | Checks the registration for chronology errors |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setTmpJobIdAbs | Sets the absence job ID used to create absence registrations in time gaps. |
| setTmpvariables | Updates the last added transaction ID, record ID, and registration time. |
| shiftSignInOutBundle | Adjust all the bundles based on adjusted specified start date and time of clock-in or clock-out which has been adjusted according to the profile setup. |
| signInStatus | Retrieves the clocked in status of the last added registration. |
| signOutStatus | Retrieves the clocked out status of the last added registration. |
| simulateSetSignInOutTransId | Checks the registration for chronology errors when a simulated calculation run. |
| simulatesetTmpvariables | Updates the last added transaction ID, record ID, and registration time when a simulated calculation is run. |
| simulationMode | Indicates whether the class is run in simulation mode. |
| slizeProfileFlexMinus | Inserts flex-events into the internal event table. |
| sumerizeCalc | Summarizes the events in the internal event table and writes the calculation result to the JmgStampJournalTable record. |
| sumerizeCalcTimeCodes | Summarizes the events in the internal event table |
| sumPayEventsSec | Calculates the amount of seconds, for which pay should be generated for the specified pay agreement line. |
| timeEventBreakTimePay | Retrieves the amount of the calculated paid break time. |
| timeEventStampTime | Retrieves the amount of the calculated job time. |
| timeGapsResetArray | Resets the internal time gap table. |
| 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.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::date2DayId | Retrieves the day ID of the specified date. |
| ::noTransID | Retrieves the ID that is used in the event tables, when no transaction ID has been assigned to the event. |
Community Additions
ADD
Show: