PayrollTaxEngineUtil Class [AX 2012]
The PayrollTaxEngineUtil class is a wrapper utility class around the Symmetry tax engine.
| 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.) |
| 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.) |
| ::checkInTaxEngine | Returns an instance of the Symmetry tax engine to the proxy pool. |
| ::checkOutTaxEngine | Creates an instance of the Symmetry tax engine from the proxy pool. |
| ::fileExists | Determines whether or not a file exists on the server |
| ::getGNISLocations | Populates the PrlTmpGNIS table with all the Geographic Names Information System (GNIS) locations from the Symmetry tax engine that match the input parameters. |
| ::getLogisticsCityFromSymmetryCity | Retrieves a city that is formatted for the Logistics module. |
| ::getMunicipalities | Populates the PrlTmpMunSchool table with municipalities that meet the specified criteria. |
| ::getPoliticalSubDivision | Retrieves the political sub-division id from the tax engine for the given parameters |
| ::getPoliticalSubDivisionByTaxCode | Retrieves the political sub-division id from the tax engine for the given parameter |
| ::getPreTaxBasisForSymmetry | Maps the pre-tax basis to the Symmetry-specific benefit type values. |
| ::getSchoolDistricts | Populates the PrlTmpMunSchool table with school districts that meet the specified criteria. |
| ::getTaxCodeSegment | Returns the value of the tax code at the specified segment. |
| ::getTaxEngineCodeCompatibilityVersion | Retrieves the tax engine code compatibility version that is currently installed on the server in the base tax data xml file. |
| ::getTaxEngineLocationCodeList | Retrieves a list of Symmetry.TaxEngine.LocationCode objects that match the postal location and the lookup type, as determined from the _symmetryLocationCode parameter. |
| ::getTaxEngineVersion | Retrieves the version of the Symmetry Tax Engine. |
| ::getTaxTableVersion | Gets the version of the tax tables that are currently installed on the server. |
| ::int2Int16 | Converts a .NET Int32 value to a .NET Int16 value. |
| ::loadBaseTaxDataXmlDocument | Loads the xml document |
| ::money2Real | Returns an amount type that is initialized to the value of the passed-in money amount. |
| ::parseTaxTableVersion | Determines and retrieves the tax table version from a version string that is supplied by the tax engine. |
| ::real2Hours | Returns a Symmetry.TaxEngine.Hours type that is initialized to the value of the passed-in hours. |
| ::real2Money | Returns a Symmetry.TaxEngine.Money type that is initialized to the value of the passed-in money amount. |
| ::real2Rate | Returns a Symmetry.TaxEngine.Rate type that is initialized to the value of the passed-in rate. |
| ::refreshWorkerTaxCodes | Updates the worker tax codes, based on the passed-in worker tax region value. |
| ::setupMunicipalitiesLookup | Retrieves a formRun object that can be used to perform a lookup on municipalities by using the PayrollMunicipalitySchoolLookup form. |
| ::setupSchoolDistrictsLookup | Retrieves a formRun object that can be used to perform a lookup on school districts by using the PayrollMunicipalitySchoolLookup form. |
| ::showTaxAdditionsForWorker | Displays, in an Infolog, the tax codes and tax code parameters that have been added for a worker. |
| ::str2String | Converts a str value to a System.String object. |
| ::str2TaxType | Get the PayrollTaxCodeType value, based on a valid tax code. |
| ::taxCalculation2TaxCode | Returns the tax code that corresponds to the specified tax calculation that is returned by the tax engine. |
| ::taxCodeStr2GnisStr | Returns the GNIS location code part of the specified Symmetry tax code. |
This class has been created for several purposes:
-
To make the tax engine easier to use by hiding some of the implementation details from the consumers of this class.
-
To provide a single place to hold code that is related to working with the Symmetry tax engine, to make the implementation of new code easier for developers.
Community Additions
ADD
Show: