PayrollSetup Class [AX 2012]
The PayrollSetup class sets up default payroll data, including all the payroll tax data.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| 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.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| loadCalculationFrequencies | Loads the default calculation frequency records |
| loadData | Loads all the default data for the Payroll module |
| loadXmlDocument | Loads the base tax data xml document |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| 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.) |
| 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.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::getXmlDocumentForResource | Retrieves the XML stored in the specified AOT Resource. |
| ::loadBaseTaxData | Loads and updates the base tax payroll data tables based on the current XML stored in the PayrollBaseTaxData Resource. This is data that is shipped as part of the application and is updated via regular tax updates. |
| ::main | Loads all the base tax data used in the Payroll module and then creates all the necessary tax setup records for applicable workers. |
| ::refreshAllWorkerTaxRegionTaxes | Iterates through all worker tax regions and refreshes worker taxes for each one. |
| ::refreshWorkerTaxRegionTaxes | Ensures that the specified worker has all tax codes and their parameter values that are applicable to the specified tax region. |
| ::refreshWorkerTaxRegionTaxesAllTime | Updates worker tax region for any tax changes for the previous and coming year. |
| ::setupImmutableTaxGroup | Loops through the PayrollTaxCodeType base enum items to create the immutable tax group if it does not already exist. The tax group is created using the Name property of the base enum item as the tax group name and the Label property as the tax group description. |
Community Additions
ADD
Show: