PREMPGARN – Used to store information to identify a particular garnishment per employee per company.
- System
- Payroll (PR)
- Prefix
PEG- Primary key
COMPANY,EMPLOYEE,CASE-NUMBER,FILE-NUMBER- Fields
- 70
- Updated by
- 12 programs
- Referenced by
- 20 programs
PREMPGARN is the Used to store information to identify a particular garnishment per employee per company. table in Lawson Payroll (prefix PEG). It is indexed by COMPANY, EMPLOYEE, CASE-NUMBER, FILE-NUMBER (PEGSET1); alternate indexes: PEGSET2 and PEGSET4. It is related 1:1 to DEDCODE, EMDEDMASTR, EMPLOYEE, PRGARNRULE, PRGARNTYPE, PRSYSTEM and PRTAXAUTH and 1:M to PRGARNHIST. It is updated by HR11.1, PA115, PR195, PR197, PR26.1, PR26.2, PR47.1, PR47.2 and 4 more and referenced by BN66.1, PR05.1, PR115, PR139, PR140, PR141, PR189, PR198 and 12 more. The table has 70 fields, 3 indexes and 12 documented relations.
About PREMPGARN
Used to store information to identify a particular garnishment per employee per company. Information in this file is used to determine the priority, calculation, limits, balances, and fees for this garnishment, as well as information to be passed to AP for paying the garnishment and printing the check stub.
Fields (70)
Column = COBOL field name without the PEG- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PEG-COMPANY PKCOMPANY | Numeric 4 | — | PR26.1, PR47.1, PR514 |
PEG-EMPLOYEE PKEMPLOYEE | Numeric 9 | Contains the employee number. Each person employed by the company is assigned a unique number. The system uses the employee number to correlate all of the information related to that person. | PR26.1, PR47.1, PR514 |
PEG-CASE-NUMBER PKCASE_NUMBER | Alpha 20 | Identifies the particular garnishment. A unique ID is required for each garnishment. (For example, case number in child support case, social security number for the IRS.) | PR26.1, PR47.1, PR514 |
PEG-FILE-NUMBER PKFILE_NUMBER | Alpha 15 | Used with the case number to identify the garnishment. Used to break out different orders with same case number. | PR26.1, PR47.1, PR514 |
PEG-DESCDESC | Alpha 30 (Lower Case) | Contains a detail description of the garnishment. Used in reporting. | PR26.1, PR47.1, PR514 |
PEG-TAX-ID-CODETAX_ID_CODE | Alpha 10 | Contains the state, county, or province that governs the attachment. Determines the rules that apply to this garnishment. | PR26.1, PR47.1, PR514 |
PEG-TYPETYPE | Alpha 2 | Defines the garnishment and determines which set of rules apply from the Garnishment table. | PR26.1, PR47.1, PR514 |
PEG-GARN-OBJ-IDGARN_OBJ_ID | Numeric 12 | Assigned when an employee garnishment table (PREMPGARN) is added and deductions are created. This ID links the employee deductions to this garnishment (case number/file number). If the same deduction is created for this employee, this ID along with the sequence number keeps the record unique. | PR26.1, PR47.1, PR514 |
PEG-DED-CODEDED_CODE | Alpha 4 | Defines which deduction will be used in withholding the garnishment amount. | PR26.1, PR47.1, PR514 |
PEG-SEQ-NBRSEQ_NBR | Numeric 4 | An automatically assigned sequence number. | PR26.1, PR47.1, PR514 |
PEG-VENDORVENDOR | Alpha 9 (Right Justified) | Contains the vendor for AP invoices created for the amount to be withheld. | PR26.1, PR47.1, PR514 |
PEG-ORIG-BALANCEORIG_BALANCE | Signed 13.2 | Contains the beginning balance for garnishments that are for a total amount to be paid in installments. This is the maximum amount that can be deducted. | PR26.1, PR47.1, PR514 |
PEG-EXEM-FORMEXEM_FORM | Alpha 2 | Defines how exempt earnings (protected income) is calculated. If entered, this overrides the rules table. | PR26.1, PR47.1, PR514 |
PEG-RATE-X-FED-MINRATE_X_FED_MIN | Numeric 3 | This number is multiplied by the federal minimum wage to determine exempt wages. If entered, this number overrides the rules table. | PR26.1, PR47.1, PR514 |
PEG-FACTOR-1FACTOR_1 | Signed 7.2 | Parameter used to calculate exempt wages. If entered, this number overrides the rules table. | PR26.1, PR47.1, PR514 |
PEG-FACTOR-2FACTOR_2 | Signed 7.2 | Parameter used to calculate the exempt wages. If entered, this number overrides the rules table. | PR26.1, PR47.1, PR514 |
PEG-FACTOR-3FACTOR_3 | Signed 7.2 | Parameter used to calculate exempt wages. If entered, this number overrides the rules table. | PR26.1, PR47.1, PR514 |
PEG-FACTOR-4FACTOR_4 | Signed 7.2 | Parameter used to calculate exempt wages. If entered, this number overrides the rules table. | PR26.1, PR47.1, PR514 |
PEG-SND-FAM-YESSND_FAM_YES | Signed 5.2 | Contains the percent to be deducted for employee with a second family. If entered, this number overrides the rules table. | PR26.1, PR47.1, PR514 |
PEG-SND-FAM-NOSND_FAM_NO | Signed 5.2 | Contains the percent deducted if the employee does not have a second family. If entered, this number overrides the rules table. | PR26.1, PR47.1, PR514 |
PEG-ARR-ADD-PCTARR_ADD_PCT | Signed 5.2 | Contains the additional percent if outstanding arrears are more than 12 weeks old. This is used with child support or alimony garnishments. If entered, this number overrides the rules table. | PR26.1, PR47.1, PR514 |
PEG-PCT-PER-DEPPCT_PER_DEP | Signed 7.2 | Defines the amount or percent per dependent used to calculate exempt earnings. If entered, this number overrides the rules table. | PR26.1, PR47.1, PR514 |
PEG-CALC-TYPECALC_TYPE | Alpha 1 | Determines if the value in the Per Dependent field is an amount or a percent. If entered, this value overrides the rules table.
| PR26.1, PR47.1, PR514 |
PEG-NUM-OF-DEPNUM_OF_DEP | Numeric 2 | Contains the number of dependents. This can be used to calculate the wage exception rule. | PR26.1, PR47.1, PR514 |
PEG-SND-FAMILYSND_FAMILY | Alpha 1 | Indicates whether the employee has a second family. This can be used to calculate the wage exemption rule. | PR26.1, PR47.1, PR514 |
PEG-HEAD-OF-FAMHEAD_OF_FAM | Alpha 1 | Indicates whether employee is the head of the family. This can be used to calculate the wage exemption rule.
| PR26.1, PR47.1, PR514 |
PEG-ARR-DED-CODEARR_DED_CODE | Alpha 4 | Contains the deduction code that will be used to track arrears withheld for this order. | PR26.1, PR47.1, PR514 |
PEG-ARR-SEQ-NBRARR_SEQ_NBR | Numeric 4 | An automatically assigned sequence number. | PR26.1, PR47.1, PR514 |
PEG-ARR-ORIG-BALARR_ORIG_BAL | Signed 13.2 | Contains the beginning balance for the arrears that are for a total given amount to be paid in installments. This is the maximum amount that can be deducted. | PR26.1, PR47.1, PR514 |
PEG-OVER-12-WEEKSOVER_12_WEEKS | Alpha 1 | Indicates whether the arrears are in arrears more than 12 weeks. If so, a different formula is used. This is used in calculating the exempt wage formula.
| PR26.1, PR47.1, PR514 |
PEG-FEES-DED-CODEFEES_DED_CODE | Alpha 4 | Displays the deduction description from the DEDCODE file for the fees deduction if entered on Garnishment Rules. | PR26.1, PR47.1, PR514 |
PEG-FEES-SEQ-NBRFEES_SEQ_NBR | Numeric 4 | An automatically assigned sequence number. | PR26.1, PR47.1, PR514 |
PEG-FEES-OVERRIDEFEES_OVERRIDE | Alpha 1 | Indicates whether the fees in the XXX field override the Rules table. | PR26.1, PR47.1, PR514 |
PEG-EXCL-PAY-CODEEXCL_PAY_CODE | Alpha 4 Occurs 30 Times ×30 | Excludes certain pay in calculating disposable income. If anything is entered, it will override the rules table. | PR26.1, PR47.1, PR514 |
PEG-EXCL-DED-CODEEXCL_DED_CODE | Alpha 4 Occurs 30 Times ×30 | Excludes certain deductions in calculating disposable income. If anything is entered, it will override the rules table. | PR26.1, PR47.1, PR514 |
PEG-COUNTRY-CODECOUNTRY_CODE | Alpha 2 | Distinguishes the records by country code. | PR26.1, PR47.1, PR514 |
PEG-EFF-DATE-ORDEREFF_DATE_ORDER | Numeric 8 (yyyymmdd) | Contains the effective date of the order. Used as an informational field for the user. | PR26.1, PR47.1, PR514 |
PEG-TAX-DED-ORDERTAX_DED_ORDER | Alpha 1 | Defines whether or not the order is to be a tax deductible order. Used to validate tax status on deduction code. | PR26.1, PR47.1, PR514 |
PEG-CA-GRN-MARITALCA_GRN_MARITAL | Alpha 2 | Contains the Canadian marital statuses for purpose of calculating wages exempt from seizure. | PR26.1, PR47.1, PR514 |
PEG-BASIC-EXEMPTBASIC_EXEMPT | Signed 7.2 | Contains the value that represents the basic exempt amount or percent of the employee wages that is exempt from seizure. | PR26.1, PR47.1, PR514 |
PEG-BASIC-CALC-TYPBASIC_CALC_TYP | Numeric 1 | Contains the value that determines if the basic exempt factor is a percent or amount. | PR26.1, PR47.1, PR514 |
PEG-WAGE-LEVELWAGE_LEVEL | Numeric 7 | Contains the starting value of a range of the employee wages that an additional exempt amount is calculated on. | PR26.1, PR47.1, PR514 |
PEG-ADDL-EXEMPTADDL_EXEMPT | Signed 7.2 | Contains the value that represents the additional exempt amount or percent of the employee wages that is exempt from seizure. | PR26.1, PR47.1, PR514 |
PEG-ADDL-CALC-TYPEADDL_CALC_TYPE | Numeric 1 | Contains the value that determines if the additional exempt factor is a percent or amount. | PR26.1, PR47.1, PR514 |
PEG-MIN-EXEMPTMIN_EXEMPT | Signed 7.2 | Contains the value that represents the minimum exempt amount or percent of the employee wages that is exempt from seizure. | PR26.1, PR47.1, PR514 |
PEG-MIN-CALC-TYPEMIN_CALC_TYPE | Numeric 1 | Contains the value that determines if the minimum exempt factor is a percent or amount. | PR26.1, PR47.1, PR514 |
PEG-MAX-EXEMPTMAX_EXEMPT | Signed 7.2 | Contains the value that represents the maximum exempt amount or percent of the employee wages that is exempt from seizure. | PR26.1, PR47.1, PR514 |
PEG-MAX-CALC-TYPEMAX_CALC_TYPE | Numeric 1 | Contains the value that determines if the maximum exempt factor is a percent or amount. | PR26.1, PR47.1, PR514 |
PEG-INCL-ADD-NETINCL_ADD_NET | Alpha 4 Occurs 10 Times ×10 | Contains the deduction code for the add to net deductions that should be included in calculating the wages available for garnishment. | PR26.1, PR47.1, PR514 |
PEG-CA-OVR-MARITALCA_OVR_MARITAL | Alpha 2 | —
| PR26.1, PR47.1, PR514 |
PEG-DEP-CALC-TYPEDEP_CALC_TYPE | Numeric 1 | Contains the value that determines whether the value in PEG-DEP-AMOUNT is an amount or percent.
| PR26.1, PR47.1, PR514 |
PEG-COURT-FEECOURT_FEE | Signed 11.2 | Contains the value which determines the amount that should be deducted from the employee for a court ordered fee. This amount is added to the garnishment deduction amount and is remitted to the court. This fee is court ordered vs an employer fee deducted to cover the administrative costs. | PR26.1, PR47.1, PR514 |
PEG-CRT-CALC-TYPECRT_CALC_TYPE | Numeric 1 | Contains the value that determines whether the value in PEG-COURT-FEE is an amount or percent and whether it is a continuous or one time fee.
| PR26.1, PR47.1, PR514 |
PEG-COURT-ARR-FEECOURT_ARR_FEE | Signed 11.2 | Contains the value to determine the amount that should be deducted from the employee for an arrears court ordered fee. This amount is added to the arrears deduction amount and is remitted to the court. This fee is court ordered vs an employer fee deducted to cover the administrative costs. | PR26.1, PR47.1, PR514 |
PEG-ARR-CALC-TYPEARR_CALC_TYPE | Numeric 1 | Contains the value that determines whether the value in PEG-COURT-ARR-FEE is an amount or percent and whether it is a continuous or one time fee.
| PR26.1, PR47.1, PR514 |
PEG-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code established in Company (GL10.1 ). | — |
PEG-CURR-NDCURR_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | — |
PEG-EXEMPT-ARRS-TDEXEMPT_ARRS_TD | Signed 7.2 | — | PR195, PR197, PR582, PR82.1, PR85.1 |
PEG-EXEMPT-ARRS-TPEXEMPT_ARRS_TP | Signed 7.2 | — | PR195, PR197, PR582, PR82.1, PR85.1 |
PEG-DED-FREQDED_FREQ | Alpha 1 | — | — |
PEG-DED-ARRS-TDDED_ARRS_TD | Signed 7.2 | — | PR195, PR197, PR582, PR82.1, PR85.1 |
PEG-DED-ARRS-TPDED_ARRS_TP | Signed 7.2 | — | PR195, PR197, PR582, PR82.1, PR85.1 |
PEG-REMIT-TO-CODEREMIT_TO_CODE | Alpha 4 | A user-defined code that represents a vendor's remittance address. | PR26.1, PR47.1, PR514 |
PEG-DED-FROM-GARNDED_FROM_GARN | Alpha 1 | — | PR26.1, PR47.1, PR514 |
PEG-CH-DED-CODECH_DED_CODE | Alpha 4 | — | PR26.1, PR47.1, PR514 |
PEG-CLEARHOUSE-FEECLEARHOUSE_FEE | Signed 11.2 | — | PR26.1, PR47.1, PR514 |
PEG-CHFEE-OVERRIDECHFEE_OVERRIDE | Alpha 1 | — | PR26.1, PR47.1, PR514 |
PEG-FIPS-CODEFIPS_CODE | Alpha 7 | — | PR26.1, PR47.1, PR514 |
PEG-MED-DED-CODEMED_DED_CODE | Alpha 4 | — | — |
PEG-SUPP-PRIORITYSUPP_PRIORITY | Numeric 1 | — | — |
Indexes (3)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
PEGSET1 | COMPANY, EMPLOYEE, CASE-NUMBER, FILE-NUMBER | Primary | HR11.1, PA115, PR05.1, PR195, PR197, PR226, PR247, PR26.1 +10 more | |
PEGSET2 | GARN-OBJ-ID | BN66.1, PR139, PR140, PR141, PR189, PR195, PR198, PR275 +6 more | ||
PEGSET4 | COMPANY, TAX-ID-CODE, EMPLOYEE, GARN-OBJ-ID | PR115, PR25.2 |
Relations
One to one (11) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Arr Ded | DEDCODE | Required | PEG-COMPANY → DDC-COMPANY, PEG-ARR-DED-CODE → DDC-DED-CODE | |
| Arr Emded | EMDEDMASTR | Required | PEG-COMPANY → EDM-COMPANY, PEG-EMPLOYEE → EDM-EMPLOYEE, PEG-ARR-DED-CODE → EDM-DED-CODE, PEG-ARR-SEQ-NBR → EDM-SEQ-NBR | |
| Employee | EMPLOYEE | Required | PEG-COMPANY → EMP-COMPANY, PEG-EMPLOYEE → EMP-EMPLOYEE | |
| Fees Ded | DEDCODE | Required | PEG-COMPANY → DDC-COMPANY, PEG-FEES-DED-CODE → DDC-DED-CODE | |
| Fees Emded | EMDEDMASTR | Required | PEG-COMPANY → EDM-COMPANY, PEG-EMPLOYEE → EDM-EMPLOYEE, PEG-FEES-DED-CODE → EDM-DED-CODE, PEG-FEES-SEQ-NBR → EDM-SEQ-NBR | |
| Garn Ded | DEDCODE | Required | PEG-COMPANY → DDC-COMPANY, PEG-DED-CODE → DDC-DED-CODE | |
| Garn Emded | EMDEDMASTR | Required | PEG-COMPANY → EDM-COMPANY, PEG-EMPLOYEE → EDM-EMPLOYEE, PEG-DED-CODE → EDM-DED-CODE, PEG-SEQ-NBR → EDM-SEQ-NBR | |
| Garn Rule | PRGARNRULE | Required | PEG-COMPANY → PGR-COMPANY, PEG-COUNTRY-CODE → PGR-COUNTRY-CODE, PEG-TAX-ID-CODE → PGR-TAX-ID-CODE, GRT-GARN-CAT → PGR-GARN-CAT, PEG-TYPE → PGR-TYPE | |
| Prgarntype | PRGARNTYPE | Required | PEG-COUNTRY-CODE → GRT-COUNTRY-CODE, PEG-TYPE → GRT-TYPE | |
| Prsystem | PRSYSTEM | Required | PEG-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Prtaxauth | PRTAXAUTH | Required | PEG-TAX-ID-CODE → PRX-TAX-ID-CODE |
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Emp Garn Hist | PRGARNHIST | PEG-COMPANY → GRH-COMPANY, PEG-EMPLOYEE → GRH-EMPLOYEE, PEG-GARN-OBJ-ID → GRH-GARN-OBJ-ID, → GRH-CREATE-DATE, → GRH-CHECK-ID |
Programs
Updated by (12)
- HR11.1 Employee
- PA115 Employee Purge
- PR195 Accrual Program
- PR197 Payroll Close
- PR26.1 United States Employee Garnishment
- PR26.2 United States Employee Garnishment Inquiry
- PR47.1 Canada Employee Garnishment
- PR47.2 Canada Employee Garnishment Inquiry
- PR514 Employee Deduction Master Load
- PR582 Mass Adjustment Load
- PR82.1 Adjustment
- PR85.1 Bank Account Reconciliation
Referenced by (20)
- BN66.1 Estimated Pay Calculation
- PR05.1 Deduction
- PR115 Deduction, Garnishment Fee, Pay Summary Grp Update
- PR139 Arrears Automation
- PR140 Earnings and Deductions Calculation
- PR141 Payroll Register
- PR189 Gross Up Calculation
- PR198 General Ledger Posting
- PR226 United States Employee Garnishment Listing
- PR247 Canada Employee Garnishment Listing
- PR25.2 United States Garnishment Rules
- PR275 Deduction Report
- PR277 Garnishment History Report
- PR39.3 Select Garnishment
- PR539 One Time Deduction Load
- PR560 Payroll History Load CSV
- PR80.1 Manual Check
- PR80.4 Manual Payment
- PR89.1 Payment Modeling
- PRAT.1 Alltax connection test