PayrollAccrualProcess Class [AX 2012]

The PayrollAccrualProcess class provides functions for accrual and usage validation and calculation.

class PayrollAccrualProcess

Run On

Called

  MethodDescription
JJ724473.privmethod(en-us,AX.60).gif calculateAllHoursEligibleForAccrual Calculates the number of hours that are eligible for an accrual balance for the pay statement lines that have an earning code for which the quantity unit is hours.
JJ724473.privmethod(en-us,AX.60).gif calculateNonUsageHoursEligibleForAccrual Calculates the number of hours that are eligible for an accrual balance for the pay statement lines that have an earning code for which the quantity unit is hours and differs from the usage earning code.
JJ724473.privmethod(en-us,AX.60).gif calculatePayPeriodAccruedHours Calculates the number of hours that are eligible for an accrual balance from the pay statement for an accrual enrollment.
JJ724473.privmethod(en-us,AX.60).gif calculatePayPeriodUsedHours Calculates the usage balance from the pay statement for an accrual enrollment.
JJ724473.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
JJ724473.privmethod(en-us,AX.60).gif createCarryforwardAdjustmentRecord Creates a record in the PayrollWorkerAccrualAdjustment table while the plan year is reset.
JJ724473.privmethod(en-us,AX.60).gif createPayStatementAccrualBalanceRecord Creates a record in the PayrollPayStatementAccrualBalance table.
JJ724473.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
JJ724473.privmethod(en-us,AX.60).gif getPayPeriod Finds a record in the PayrollPayPeriod table.
JJ724473.privmethod(en-us,AX.60).gif getPlanYearUsageBalance Determines the plan year usage balance to validate the earning statement line usage balance.
JJ724473.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
JJ724473.privmethod(en-us,AX.60).gif getWorker Finds a record in the HcmWorker table.
JJ724473.privmethod(en-us,AX.60).gif getWorkerMonthsOfEmployment Calculates the number of months of employment for a worker as of pay period end date.
JJ724473.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
JJ724473.privmethod(en-us,AX.60).gif initializeAccrualBalances Initializes the variable, with 0 (zero) holding the accrual balances for an accrual enrollment.
JJ724473.privmethod(en-us,AX.60).gif initializeDateRange Initializes the start date and end date of the accrual plan year for the pay period.
JJ724473.privmethod(en-us,AX.60).gif isPlanYearResetRequired Determines whether the accrual plan year reset is required to occur while accrual for the pay statement is processed.
JJ724473.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
JJ724473.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.)
JJ724473.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.)
JJ724473.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
JJ724473.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
JJ724473.pubmethod(en-us,AX.60).gif processAccrual Creates accrual and usage transactions for the specified pay statement, and resets the accrual plan year if a reset is required.
JJ724473.privmethod(en-us,AX.60).gif resetAccrualPlanYear Resets the accrual plan year by updating the AccrualYearStartDate field of the PayrollWorkerEnrolledAccrual table and creating a carry-forward adjustment record.
JJ724473.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
JJ724473.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
JJ724473.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.)
JJ724473.pubmethod(en-us,AX.60).gif validateUsage Validates the usage according to usage rules when an attempt is made to release the specified earning statement line.
JJ724473.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
JJ724473.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Top

Object Class
  PayrollAccrualProcess Class

Community Additions

ADD
Show: