Lawson Insight Technical Documentation


ERDs Tables Elements Libraries App Forms

                            EMPACHDIST FILE

                       Employee ACH Distribution

The Employee ACH Distribution file contains the employee ACH distribution
account information. When you generate a payment, the system creates a record
in the Employee Payment file record for every employee ACH account to which
pay is distributed. Employee ACH account information is stored in the Employee
ACH Account file. PR140 (Earnings and Deductions Calculation) is the primary
program that updates this file. A record is also created in this file when the
account prenotification is created by PR160 (Payment Print).

REFERENCED BY

HR170     HR70.1    PR141     PR142     PR150     PR155
PR162     PR195     PR260     PR82.1

UPDATED BY

PR140     PR160     PR199     PR300     PR36.1    PR45.1
PR85.1

FIELD NAME           DESCRIPTION/VALID VALUES                    UPDATED BY

ACD-COMPANY          Numeric 4                                   PR140   PR160
Company              The company number represents an
                     established company and is entered on
                     all function codes.

ACD-EMPLOYEE         Numeric 9                                   PR140   PR160
Employee             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.

ACD-CHECK-ID         Numeric 12                                  PR140   PR160
Internal Check ID    Contains the payment identification         PR85.1
Number               number. When you create a payment
                     record, the system moves the payment ID
                     to this field to serve as the link
                     between the Employee Payment file record
                     and the Employee Pay/Hours History file
                     record.

ACD-ACH-DIST-NBR     Numeric 2                                   PR140   PR160
Default ACH          Contains the value that identifies the
                     default distribution account. The
                     account that serves as the default
                     distribution account must have 100
                     percent distribution to allow the system
                     to distribute the total balance of net
                     pay.

ACD-DIST-AMOUNT      Signed 11.2                                 PR140   PR85.1
Distribution Amount  Contains the amount of pay distributed
                     to the account. It is determined using
                     the Percent of Net and the Deposit
                     Amount fields in the Employee ACH
                     Account file.

ACD-BANK-ACCT-NBR    Alpha 17                                    PR140
Bank Account Number  The bank-assigned account number
                     identification to be used for the cash
                     code.


ACD-PARTIAL-ACH      Alpha 1                                     PR140
Partial Ach          Identifies whether an ACH distribution
                     payment is part of a system check.
                     Y = Yes
                     N = No

ACD-ACH-BANK         Alpha 1                                     PR140
ACH Bank             Identifies whether the bank account
                     number for the ACH portion of the
                     payment is different than from the
                     check portion of the payment.
                     Y = Yes
                     N = No

ACD-CHECK-NBR        Numeric 8                                   PR160
Payment Number       Contains the check number.

ACD-STATUS           Numeric 1                                   PR140   PR160
Status               This field contains the status of the       PR199   PR300
                     transaction.                                PR85.1
                     1 = Created
                     2 = Open
                     3 = Reconciled
                     4 = Void
                     6 = Historical
                     7 = Void Reversal

ACD-RECON-DATE       Numeric 8  (yyyymmdd)                       PR199   PR85.1
Reconciliation or    Represents the date the transaction
Void Date            cleared the bank or was voided.

                     Y = System checked has been purged

ACD-RECON-AMOUNT     Signed 11.2                                 PR199   PR85.1
Reconciled Amount    Contains the employee ACH distribution.

ACD-RECON-PRT-ST     Numeric 1                                   PR85.1
Reconciliation
Print Status

ACD-REVERSAL-ID      Numeric 8                                   PR85.1
Reversal Check ID    Used if the ACH record (EMPACHDIST) is
                     from a partial payment and the
                     EMPACHDIST is being voided, therefore
                     creating PRDISTR records.

ACD-CURRENT-FLAG     Alpha 1                                     PR160   PR199
Current Flag         Y = Yes                                     PR85.1
                     N = No

                         EMPACHDIST FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

ACDSET1   COMPANY                                                HR170   HR70.1
          EMPLOYEE                                               PR140   PR141
          CHECK-ID                                               PR142   PR150
          ACH-DIST-NBR                                           PR155   PR160
                                                                 PR162   PR195
                                                                 PR199   PR260
                                                                 PR300   PR36.1
                                                                 PR45.1  PR82.1
                                                                 PR85.1  PR85.2

ACDSET2   BANK-ACCT-NBR KeyChange, Subset                        PR155   PR85.1
          CHECK-NBR     Where PARTIAL-ACH = "Y"                  PR85.2
          COMPANY       And   ACH-BANK    = "Y"
          EMPLOYEE
          ACH-DIST-NBR

ACDSET3   COMPANY       Subset                                   PR140   PR141
          EMPLOYEE      Where STATUS       = 4                   PR142   PR150
          CHECK-ID      And   CURRENT-FLAG = "Y"                 PR199   PR85.1
          ACH-DIST-NBR

                         EMPACHDIST FILE RELATIONS

ONE TO ONE RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Company        PRSYSTEM     Required

                            ACD-COMPANY         -> PRS-COMPANY
                            Spaces              -> PRS-PROCESS-LEVEL

Emp Ach Depst  EMACHDEPST   Required

                            ACD-COMPANY         -> EAD-COMPANY
                            ACD-EMPLOYEE        -> EAD-EMPLOYEE
                            ACD-ACH-DIST-NBR    -> EAD-ACH-DIST-NBR

Employee       EMPLOYEE     Required

                            ACD-COMPANY         -> EMP-COMPANY
                            ACD-EMPLOYEE        -> EMP-EMPLOYEE