Lawson Software

Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

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     PR155     PR162
PR195     PR260     PR82.1

UPDATED BY

PR197     PR300     PR36.1    PR45.1    PR560     PR85.1

FIELD NAME           DESCRIPTION/VALID VALUES                    UPDATED BY

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

ACD-EMPLOYEE         Numeric 9                                   PR560
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                                  PR560   PR85.1
Internal Check ID    Contains the payment identification
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                                   PR560
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 13.2                                 PR560   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                                    PR560
Bank Account Number  The bank-assigned account number
                     identification to be used for the cash
                     code.


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

ACD-ACH-BANK         Alpha 1                                     PR560
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                                   PR560
Payment Number       Contains the check number.

ACD-STATUS           Numeric 1                                   PR197   PR300
Status               This field displays the status of the       PR560   PR85.1
                     transaction.
                     1 = Created
                     2 = Open
                     3 = Reconciled
                     4 = Void
                     6 = Historical
                     7 = Void Reversal

ACD-RECON-DATE       Numeric 8  (yyyymmdd)                       PR197   PR560
Reconciliation or    Represents the date the transaction         PR85.1
Void Date            cleared the bank or was voided.
                     Y = System checked has been purged

ACD-RECON-AMOUNT     Signed 13.2                                 PR197   PR560
Reconciled Amount    Contains the employee ACH distribution.     PR85.1

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

ACD-REVERSAL-ID      Numeric 8                                   PR560   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                                     PR197   PR560
Current Flag         Y = Yes                                     PR85.1
                     N = No

ACD-CURRENCY-CODE    Alpha 5                                     PR560
Currency Code        This field contains the company base
                     currency code established in Company
                     (GL10.1 ).

ACD-CURR-ND          Numeric 1                                   PR560
Currency Number of   Represents the number of decimals
Decimals             defined for the currency of the object.

ACD-EBANK-ID         Numeric 9                                   PR560
Employee ACH         The value of EAD-EBANK-ID is moved
Account Bank Id      to this field.

ACD-EBNK-ACCT-NBR    Alpha 17                                    PR560
Employee ACH Bank    This is the employee's bank account to
Account Nbr          which the pay is distributed. The value
                     of EAD-EBNK-ACCT-NBR is moved to this
                     field.

ACD-ACCOUNT-TYPE     Alpha 1                                     PR560
Account Type         The value of the EAD-ACCOUNT-TYPE is
                     moved to this field.  The type of
                     account is identified on the ACH tape
                     created by PR160 (Check Print) as "23"
                     for checking  accounts and "33" for
                     savings accounts.
                     C = Checking
                     S = Savings

ACD-CA-INST-NBR      Numeric 4
Ca Inst Nbr

ACD-CA-TRANSIT-NBR   Numeric 5
Ca Transit Nbr

ACD-BANK-ROLL-NO     Alpha 20
Bank Roll No

ACD-DRILL-EBANK-ID   Derived
Drill Ebank Id

ACD-DRILL-EBANK-AC   Derived
Drill Ebank Ac

ACD-DRILL-ACCT-TYP   Derived
Drill Acct Typ

                         EMPACHDIST FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

ACDSET1   COMPANY                                                HR170   HR70.1
          EMPLOYEE                                               PR141   PR142
          CHECK-ID                                               PR155   PR162
          ACH-DIST-NBR                                           PR195   PR197
                                                                 PR260   PR300
                                                                 PR36.1  PR45.1
                                                                 PR560   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
          CHECK-ID

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

                         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