Lawson Insight Technical Documentation


ERDs Tables Elements Libraries App Forms

                             EEEXPENSE FILE

                            Employee Expense

The Employee Expense file contains employee expense records, including cash
paybacks, created in the Lawson Employee Expense system.

REFERENCED BY

AP10.1    AP20.1    AP20.2    AP20.5    AP20.7    AP23.1
AP285     AP32.1    AP55.1    EE175     EE275     EE30.1
EE90.2    MA40.1    MA40.2    MA41.1    MA41.2    MA41.4
MA41.5    MA41.6    MA43.1    MA43.2    MA43.3    MA43.4
MA52.1    MA530     MA540     PO30.1    PO31.1    PO530
EE230     EE220     EE235

UPDATED BY

AP300     AP305     AP960     EE135     EE20.2    EE20.3
EE20.4    EE35.1    EE35.2    EE520

FIELD NAME           DESCRIPTION/VALID VALUES                    UPDATED BY

EXP-COMPANY          Numeric 4                                   AP960   EE20.2
Company              The company number. Must be a valid         EE20.4  EE520
                     record in the Accounts Payable Company
                     file.

EXP-VENDOR           Alpha 9                                     AP960   EE20.2
Employee             The employee number. Must be a valid        EE20.4  EE520
                     vendor record in the Accounts Payable
                     Vendor file.

EXP-EXPENSE-NBR      Alpha 10                                    AP960   EE20.2
Expense Number       A unique number assigned to the             EE20.4  EE520
                     employee expense.

EXP-EXPENSE-TYPE     Alpha 1                                     AP960   EE20.2
Expense Type         Identifies the type of employee             EE20.4  EE520
                     expense. Valid values are:

                     E = Expense.
                     P = Cash Payback.

EXP-DESCRIPTION      Alpha 30  (Lower Case)                      AP960   EE20.2
Description          The description assigned to the             EE20.4  EE520
                     employee expense report.

EXP-REC-STATUS       Numeric 1                                   AP960   EE135
Record Status        The record status of the expense. Valid     EE20.2  EE20.4
                     values are:                                 EE35.1  EE35.2
                                                                 EE520
                     0 = Unreleased.
                     1 = Released.
                     9 = Posted by EE175 (for company-paid
                     expenses only).

EXP-APPROVAL-CODE    Alpha 3                                     AP960   EE20.2
Approval Code        The approval code assigned to the           EE20.4  EE35.2
                     employee expense. Used for approving        EE520
                     advances and expenses before they can be
                     released to the Accounts Payable system.
                     Must be a valid record in the Approval
                     Code file.

EXP-EXPENSE-DATE     Numeric 8  (yyyymmdd)                       AP960   EE20.2
Expense Date         The date the expense was incurred.          EE20.4  EE520

EXP-DUE-DATE         Numeric 8  (yyyymmdd)                       AP960   EE20.2
Due Date             This field is not used.                     EE20.4  EE520

EXP-DISTRIB-DATE     Numeric 8  (yyyymmdd)                       AP960   EE20.2
Post Date            The date used for posting expense           EE20.4  EE520
                     distributions to the general ledger.

EXP-TRAN-EXP-AMT     Signed 15.2                                 AP960   EE20.2
Transaction Expense  The total amount the employee expense.      EE20.4  EE520
Amount               Includes both company-paid and
                     employee-paid expenses. Must be entered
                     in company base currency. This field
                     contains the same value as the Base
                     Currency Expense Amount field.

EXP-TRAN-ND          Numeric 1                                   AP960   EE20.2
Transaction Number   The number of decimal positions defined     EE20.4  EE520
of Decimals          for the currency of the expense.

EXP-BASE-EXP-AMT     Signed 15.2                                 AP960   EE20.2
Base Currency        The amount of the employee expense in       EE20.4  EE520
Expense Amount       the company base currency.

EXP-BASE-TAX-AMT     Signed 15.2                                 AP960   EE20.2
Base Currency Tax    The total tax amount of the expense in      EE520
Amount               the company base currency.

EXP-BASE-EMP-PAID    Signed 15.2                                 AP960   EE20.2
Base Curr Employee   The total employee-paid amount of the       EE20.4  EE520
Paid Amount          expense in the company base currency.

EXP-PROC-LEVEL       Alpha 5                                     AP960   EE20.2
Process Level        The process level assigned to the           EE20.4  EE520
                     employee expense. Must be a valid record
                     in the Accounts Payable Process Level
                     file.

EXP-DEF-ACCT-UNIT    Alpha 15                                    AP960   EE20.2
Default Accounting   The default general ledger accounting       EE20.4  EE520
Unit                 unit assigned to the employee expense.
                     Defaults on all distributions entered
                     for the expense.

EXP-ACTIVITY         Alpha 15                                    AP960   EE20.2
Activity             The default activity assigned to the        EE20.4  EE520
                     expense. Defaults on detail lines
                     entered for the expense. Must be a valid
                     record in the Lawson Activity Management
                     system.

EXP-BILLABLE         Alpha 1                                     AP960   EE20.2
Billable Indicator   Indicates whether the expense is            EE20.4  EE520
                     billable to a third party. Used for
                     informational purposes only. Valid
                     values are:

                     N = No.
                     Y = Yes.

EXP-CASH-CODE        Alpha 4                                     AP960   EE20.2
Cash Code            The cash code assigned to the employee      EE20.4  EE520
                     expense. Represents the bank account the
                     expense is paid from. Must be a valid
                     record in the Cash Code file.

EXP-ACCR-CODE        Alpha 4                                     AP960   EE20.2
Invoice Accrual Code The invoice accrual code assigned to        EE20.4  EE520
                     the employee expense. Used to default a
                     general ledger accrual account to the
                     expense. Must be a valid record in the
                     Invoice Accrual Code file.

EXP-HLD-CODE         Alpha 4                                     AP960   EE20.2
Hold Code            The hold code assigned to the employee      EE20.4  EE35.2
                     expense, if assigned. Used to prevent       EE520
                     the expense from being scheduled for
                     payment in the Lawson Accounts Payable
                     system. Must be a valid invoice hold
                     code record in the Hold Code file.

EXP-HOLD-TYPE        Alpha 1                                     AP960   EE20.2
Hold Type            Indicates the type of invoice hold code     EE20.4  EE35.2
                     assigned to the employee expense. Valid     EE520
                     values are:

                     T = Temporary. Upon release to Accounts
                     Payable, the expense will be held for
                     only one payment cycle. AP170 (Payment
                     Closing) removes the hold code from the
                     expense record.

                     P = Permanent. Upon release to Accounts
                     Payable, the expense will be held until
                     you remove the hold code from the
                     expense record.

                     Blank. A hold code is not assigned to
                     the employee expense.

EXP-REL-FOR-PMT      Alpha 1                                     AP960   EE20.2
Release For Payment  Indicates whether the expense can be        EE20.4  EE35.2
                     released to Accounts Payable. Valid         EE520
                     values are:

                     Y = Yes.
                     N = No.

EXP-REFERENCE        Alpha 10  (Lower Case)                      AP960   EE20.2
Reference            The default reference assigned to the       EE20.4  EE520
                     employee expense. Defaults on
                     distributions entered for the expense.

EXP-DIST-DESCRIPT    Alpha 30  (Lower Case)                      AP960   EE20.2
Distribution         The default description assigned to the     EE20.4  EE520
Description          expense. Defaults on distributions
                     entered for the expense.

EXP-DIST-COMPANY     Numeric 4                                   AP960   EE20.2
Posting Company      The company the expense will be posted      EE20.4  EE520
                     to. Must be a valid record in the
                     General Ledger Company file.

EXP-CURRENCY-CODE    Alpha 5                                     AP960   EE20.2
Currency Code        This field contains the company base        EE20.4  EE520
                     currency code established in GL10.1
                     (Company).

EXP-DEF-CNV-RATE     Percent 14.6  (Percent)                     AP960   EE20.2
Default Exchange     The exchange rate used to convert the       EE20.4  EE520
Rate                 transaction expense amount to the
                     company base currency.

EXP-CURR-EFF-DATE    Numeric 8  (yyyymmdd)                       AP960   EE20.2
Currency Effective   The effective date for the currency         EE20.4  EE520
Date                 exchange rate.

EXP-TRANS-NBR        Alpha 10  (Right Justified)                 AP960   EE20.2
Expense Number       The payment number assigned to the
                     employee expense if paid with a manual
                     payment. This field is zero for an
                     expense payment issued with a system
                     payment in Accounts Payable.

EXP-BANK-INST-CODE   Alpha 3                                     AP960   EE20.2
Cash Payment         The payment code assigned to the            EE20.4  EE520
Transaction Code     employee expense. Represents a type of
                     cash payment. Must be a valid cash
                     payment type transaction code record in
                     the Bank Transaction Code file.

EXP-CHECK-DATE       Numeric 8  (yyyymmdd)                       AP960   EE20.2
Payment Date         The date assigned to the manual
                     payment. This date is assigned to
                     general ledger transactions created for
                     the payment.

EXP-CHECK-AMT        Signed 15.2                                 AP960   EE20.2
Payment Amount       The manual payment amount issued for
                     the employee expense. Defaults the
                     company base currency employee-paid
                     expense amount.

EXP-CROSS-REF        Alpha 10                                    AP960   EE20.2
Cross Reference      The cross reference value assigned to       EE20.4  EE520
                     the employee expense.

EXP-LAST-DIST-SEQ    Numeric 4                                   AP960   EE20.3
Last Distribution    A system-assigned number used to track      EE20.4  EE520
Sequence Nbr         the last distribution entered for the
                     employee expense.

EXP-BASE-DIST-TOT    Signed 15.2                                 AP960   EE20.3
Base Curr            The total expense distribution amount       EE20.4  EE520
Distribution Amount  entered for the employee expense. This
                     amount is in the company base currency.

EXP-BASE-EMP-TOT     Signed 15.2                                 AP960   EE20.3
Base Curr Employee   The total employee-paid expense amount      EE20.4  EE520
Paid Amount          in the company base currency.

EXP-BASE-TAX-TOT     Signed 15.2                                 AP960   EE20.3
Base Currency Tax    The total tax amount for the employee       EE20.4  EE520
Amount               expense in the company base currency.

EXP-TRANS-IDENT      Numeric 10                                  AP960   EE20.2
Transaction ID       A unique system-generated                   EE520
                     identification value assigned to the
                     transaction to make this record unique.


EXP-INVOICE-GROUP    Alpha 4                                     AP960   EE20.2
Invoice Group        The user-defined invoice group assigned     EE20.4  EE520
                     to the employee expense. AP150 (Cash
                     Requirements) has an option to select
                     all transactions assigned the same
                     invoice group.

EXP-ACCT-CATEGORY    Alpha 5                                     AP960   EE20.2
Account Category     The default account category assigned       EE20.4  EE520
                     to the employee expense. Defaults on
                     detail lines entered for the expense.
                     Must be a valid record in the Lawson
                     Activity Management system.

EXP-APPROVED-FLAG    Alpha 1                                     AP960   EE20.2
Approved             Indicates whether the expense is            EE20.4  EE520
                     approved for payment. Valid values are:

                     Y = Yes.
                     N = No.
                     D = Disapproved.

EXP-REMIT-TO-CODE    Alpha 4                                     AP960   EE20.2
Remit To Location    The remit to location assigned to the       EE20.4  EE520
Code                 expense. Represents an alternate
                     remittance address for the employee.
                     Must be a valid record in the Vendor
                     Location file.

EXP-JRNL-BOOK-NBR    Alpha 12                                    AP960   EE20.2
Journal Book         The journal book assigned to the            EE20.4  EE520
                     transaction.


EXP-PAY-GROUP        Alpha 4                                     AP960   EE20.2
Pay Group            The pay group associated with the           EE20.4  EE520
                     expense. Must be a valid record in the
                     Pay Group file.

EXP-OUT-BAL-DIST     Derived
Out of Balance       Indicates that distributions for the
Distributions        employee expense are out of balance.

EXP-OUT-BAL-EMP      Derived
Out of Balance       Indicates that employee-paid
Employee Dist        distributions for the expense are out of
                     balance.

EXP-OUT-BAL-TAX      Derived
Out of Balance Tax   Indicates that tax distributions for
                     the employee expense are out of balance.


EXP-AP-STATUS        Derived
AP Record Status     The record status of the employee
                     expense in the Lawson Accounts Payable
                     system. Valid values are:

                     1 = Released.
                     9 = Historical.
                     Blank. Not released to Accounts
                     Payable.

EXP-JBK-SEQ-NBR      Numeric 10                                  AP960   EE20.2
Journal Book         The journal book sequence number            EE520
Sequence Number      assigned to a journal book transaction
                     when it is added or interfaced to the
                     Lawson system. Used only when  Auto
                     Journal Book Seq Nbr is set to Yes in
                     GL10.1 (Company).


EXP-CB-CHECK-DATE    Derived
Check Date           Used by Lawson SEA programs.

                         EEEXPENSE FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

EXPSET1   COMPANY       This index is used to access employee    AP10.1  AP20.1
          VENDOR        expense records for a specific employee  AP20.2  AP20.5
          EXPENSE-NBR   and company.                             AP20.7  AP23.1
                                                                 AP285   AP300
                                                                 AP305   AP32.1
                                                                 AP55.1  EE135
                                                                 EE175   EE20.1
                                                                 EE20.3  EE20.4
                                                                 EE275   EE30.1
                                                                 EE35.1  EE35.2
                                                                 EE520   EE90.2
                                                                 MA40.1  MA40.2
                                                                 MA41.1  MA41.2
                                                                 MA41.4  MA41.5
                                                                 MA41.6  MA43.1
                                                                 ...

EXPSET2   COMPANY       This index is used to access unreleased  EE20.2  EE20.3
          REC-STATUS    expense records for an employee.         EE20.4  EE230
          VENDOR        KeyChange
          EXPENSE-NBR
          EXPENSE-TYPE

EXPSET3   COMPANY       This index is used to access unreleased  EE135   EE220
          APPROVAL-CODE employee expense records for a specific  EE235   EE35.2
          VENDOR        approval code.
          EXPENSE-NBR   KeyChange, Subset
                        Where (REC-STATUS = Zeroes )

EXPSET4   COMPANY       Used by SEA programs to retrieve
          VENDOR        expense date in descending order.
          EXPENSE-DATE*
          EXPENSE-NBR

                         EEEXPENSE FILE RELATIONS

ONE TO ONE RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Apcompany      APCOMPANY    Required

                            EXP-COMPANY           -> CPY-COMPANY  (CPYSET1)

Apinvoice      APINVOICE    Not Required

                            EXP-COMPANY           -> API-COMPANY
                            EXP-VENDOR            -> API-VENDOR
                            EXP-EXPENSE-NBR       -> API-INVOICE
                            Zeroes                -> API-SUFFIX
                            Zeroes                -> API-CANCEL-SEQ

Appayment      APPAYMENT    Not Required

                            EXP-COMPANY           -> APP-COMPANY
                            EXP-VENDOR            -> APP-VENDOR
                            EXP-EXPENSE-NBR       -> APP-INVOICE
                            Zeroes                -> APP-SUFFIX
                            Zeroes                -> APP-CANCEL-SEQ
                            1                     -> APP-SEQ-NBR
                            Zeroes                -> APP-VOID-SEQ

Apvenmast      APVENMAST    Required

                            CPY-VENDOR-GROUP      -> VEN-VENDOR-GROUP
                            EXP-VENDOR            -> VEN-VENDOR

Cbcashform     CBCASHFORM   Required

                            APP-CASH-CODE         -> CCF-CASH-CODE
                            APP-BANK-INST-CODE    -> CCF-BANK-INST-CODE

Cbcheck        CBCHECK      Not Required

                            APP-CASH-CODE         -> CHK-CASH-CODE
                            APP-BANK-INST-CODE    -> CHK-BANK-INST-CODE
                            APP-TRANS-IDENT       -> CHK-TRANS-IDENT

Eeapproval     EEAPPROVAL   Not Required

                            EXP-COMPANY           -> EAP-COMPANY
                            EXP-APPROVAL-CODE     -> EAP-APPROVAL-CODE

Glsystem       GLSYSTEM     Required

                            EXP-COMPANY           -> GLS-COMPANY

                         EEEXPENSE FILE RELATIONS

ONE TO MANY RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Eeadvance      EEADVANCE

                            EXP-COMPANY           -> EEA-COMPANY
                            EXP-VENDOR            -> EEA-VENDOR
                                                     EEA-ADVANCE-NBR

Eedistrib      EEDISTRIB    Delete Cascades

                            EXP-COMPANY           -> EED-COMPANY
                            EXP-VENDOR            -> EED-VENDOR
                            EXP-EXPENSE-NBR       -> EED-EXPENSE-NBR
                                                     EED-SEQ-NBR

Eematching     EEMATCHING

                            EXP-COMPANY           -> EEM-COMPANY
                            EXP-VENDOR            -> EEM-VENDOR
                            EXP-EXPENSE-NBR       -> EEM-EXPENSE-NBR
                                                     EEM-ADVANCE-NBR