EEADVANCE – Employee Advance

System
Accounts Payable (AP)
Prefix
EEA
Primary key
COMPANY, VENDOR, ADVANCE-NBR
Fields
34
Updated by
9 programs
Referenced by
301 programs

EEADVANCE is the Employee Advance table in Lawson Accounts Payable (prefix EEA). It is indexed by COMPANY, VENDOR, ADVANCE-NBR (EEASET1); alternate indexes: EEASET2 and EEASET3. It is related 1:1 to APCOMPANY, APINVOICE, APPAYMENT, APVENMAST, CBCHECK, CBTRANS, EEAPPROVAL and GLSYSTEM and 1:M to EEMATCHING. It is updated by AP30.4, AP300, AP305, AP55.1, EE135, EE20.1, EE35.1, EE35.2 and 1 more and referenced by AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 and 293 more. The table has 34 fields, 3 indexes and 13 documented relations.

About EEADVANCE

The Employee Advance file contains employee advance records created in the Lawson Employee Expense system.

Fields (34)

Column = COBOL field name without the EEA- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
EEA-COMPANY PK
COMPANY
Numeric 4The company number. Must be a valid record in the Accounts Payable Company file.EE20.1
EEA-VENDOR PK
VENDOR
Alpha 9 (Right Justified)The employee number. Must be a valid vendor record in the Accounts Payable Vendor file.EE20.1
EEA-ADVANCE-NBR PK
ADVANCE_NBR
Alpha 10A unique number assigned to the employee advance.EE20.1
EEA-ADV-DESC
ADV_DESC
Alpha 30The description of the advance.EE20.1
EEA-REC-STATUS
REC_STATUS
Numeric 1The record status of the advance. Valid values are:
  • 0 Unreleased.
  • 1 Released.
EE135, EE20.1, EE35.1, EE35.2, EE520
EEA-APPROVAL-CODE
APPROVAL_CODE
Alpha 3The approval code assigned to the employee advance. Used for approving advances and expenses before they can be released to the Accounts Payable system. Must be a valid record in the Approval Code file.EE20.1, EE35.1
EEA-PROC-LEVEL
PROC_LEVEL
Alpha 5The process level assigned to the employee advance. Must be a valid record in the Accounts Payable Process Level file.EE20.1
EEA-TRAN-ADV-AMT
TRAN_ADV_AMT
Signed 18.2The amount of the employee advance. Must be entered in company base currency. This field contains the same value as the Base Advance Amount field.EE20.1
EEA-TRAN-ND
TRAN_ND
Numeric 1The number of decimal positions defined for the currency of the advance.EE20.1
EEA-BASE-ADV-AMT
BASE_ADV_AMT
Signed 18.2The amount of the employee advance in the company base currency.EE20.1
EEA-ADV-CURRENCY
ADV_CURRENCY
Alpha 5The currency of the employee advance. Defaults the company base currency. Must be a valid record in the Currency Code file.EE20.1
EEA-CURR-RATE
CURR_RATE
Signed 14.7The exchange rate used to convert the transaction advance amount to the company base currency.EE20.1
EEA-CURR-EFF-DATE
CURR_EFF_DATE
Numeric 8 (yyyymmdd)The effective date for the currency exchange rate.
EEA-ADVANCE-DATE
ADVANCE_DATE
Numeric 8 (yyyymmdd)The date the employee advance was authorized. Used when updating the employee's balance (vendor balance).EE20.1
EEA-CASH-CODE
CASH_CODE
Alpha 4The cash code assigned to the employee advance. Represents the bank account the advance is paid from. Must be a valid record in the Cash Code file.EE20.1
EEA-ACCR-CODE
ACCR_CODE
Alpha 4The invoice accrual code assigned to the employee advance. Used to default a general ledger accrual account to the advance. Must be a valid record in the Invoice Accrual Code file.EE20.1
EEA-HLD-CODE
HLD_CODE
Alpha 4The hold code assigned to the employee advance, if assigned. Used to prevent the advance from being scheduled for payment in the Lawson Accounts Payable system. Must be a valid invoice hold code record in the Hold Code file.EE20.1, EE35.1
EEA-HOLD-TYPE
HOLD_TYPE
Alpha 1Indicates the type of invoice hold code assigned to the employee advance. Valid values are: Payable, the advance will be held for only one payment cycle. AP170 (Payment Closing) removes the hold code from the advance record. Payable, the advance will be held until you remove the hold code from the advance record. Blank. A hold code is not assigned to the employee advance.
  • T Temporary. Upon release to Accounts
  • P Permanent. Upon release to Accounts
EE20.1, EE35.1
EEA-REL-FOR-PMT
REL_FOR_PMT
Alpha 1Indicates whether the advance can be released to Accounts Payable. Valid values are:
  • Y Yes.
  • N No.
EE20.1, EE35.1
EEA-TRANS-NBR
TRANS_NBR
Alpha 10 (Right Justified)The payment number assigned to the employee advance if paid with a manual payment. This field is zero for an advance payment issued with a system payment in Accounts Payable.AP55.1, EE20.1
EEA-BANK-INST-CODE
BANK_INST_CODE
Alpha 3The payment code assigned to the employee advance. Represents a type of cash payment. Must be a valid cash payment type bank transaction code record in the Bank Transaction Code file.EE20.1
EEA-CHECK-DATE
CHECK_DATE
Numeric 8 (yyyymmdd)The date assigned to the manual payment. This date is assigned to general ledger transactions created for the payment.AP55.1, EE20.1
EEA-CHECK-AMT
CHECK_AMT
Signed 18.2The manual payment amount issued for the employee advance. Defaults the company base currency advance amount.EE20.1
EEA-TRANS-IDENT
TRANS_IDENT
Numeric 10A unique system-generated identification value assigned to the transaction to make this record unique.AP55.1, EE20.1
EEA-APPROVED-FLAG
APPROVED_FLAG
Alpha 1Indicates whether the invoice is approved for payment.EE20.1
EEA-REMIT-TO-CODE
REMIT_TO_CODE
Alpha 4A user-defined code that represents a vendor's remittance address.EE20.1
EEA-JRNL-BOOK-NBR
JRNL_BOOK_NBR
Alpha 12The journal book assigned to the transaction.
EEA-PAY-GROUP
PAY_GROUP
Alpha 4The pay group associated with the employee advance. Must be a valid record in the Pay Group file.EE20.1
EEA-CREATE-DATE
CREATE_DATE
Numeric 8 (yyyymmdd)The creation date.EE20.1
EEA-AP-STATUS
AP_STATUS
DerivedThe record status of the employee advance in the Lawson Accounts Payable system. Used when matching paid advances to expenses. Valid values are: Blank. Not released to Accounts Payable.
  • 1 Released.
  • 9 Historical.
EEA-ACTIVITY
ACTIVITY
Alpha 15EE20.1
EEA-ACCT-CATEGORY
ACCT_CATEGORY
Alpha 5EE20.1
EEA-GLT-OBJ-ID
GLT_OBJ_ID
Numeric 12
EEA-ATN-OBJ-ID
ATN_OBJ_ID
Numeric 12

Indexes (3)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
EEASET1COMPANY, VENDOR, ADVANCE-NBRPrimaryAC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +22 more (list truncated in source)
EEASET2COMPANY, REC-STATUS, VENDOR, ADVANCE-NBRKeyChangeAP55.1, EE20.1, EE230
EEASET3COMPANY, APPROVAL-CODE, VENDOR, ADVANCE-NBRKeyChange, SubsetWhere (REC-STATUS = Zeroes)EE135, EE220, EE235, EE35.1

Relations

One to one (12) — lookups and parents

RelationTableRulesConditionField map
ApcompanyAPCOMPANYRequiredEEA-COMPANYCPY-COMPANY
Apinvoice1APINVOICENot RequiredEEA-COMPANYAPI-COMPANY, EEA-VENDORAPI-VENDOR, EEA-ADVANCE-NBRAPI-INVOICE, ZeroesAPI-SUFFIX, ZeroesAPI-CANCEL-SEQ
Apinvoice2APINVOICENot RequiredEEA-COMPANYAPI-COMPANY, EEA-VENDORAPI-VENDOR, EEA-ADVANCE-NBRAPI-INVOICE, 1API-SUFFIX, ZeroesAPI-CANCEL-SEQ
Appayment1APPAYMENTRequiredEEA-COMPANYAPP-COMPANY, EEA-VENDORAPP-VENDOR, EEA-ADVANCE-NBRAPP-INVOICE, ZeroesAPP-SUFFIX, ZeroesAPP-CANCEL-SEQ, 1APP-SEQ-NBR, ZeroesAPP-VOID-SEQ
Appayment2APPAYMENTNot RequiredEEA-COMPANYAPP-COMPANY, EEA-VENDORAPP-VENDOR, EEA-ADVANCE-NBRAPP-INVOICE, 1APP-SUFFIX, ZeroesAPP-CANCEL-SEQ, 1APP-SEQ-NBR, ZeroesAPP-VOID-SEQ
ApvenmastAPVENMASTRequiredCPY-VENDOR-GROUPVEN-VENDOR-GROUP, EEA-VENDORVEN-VENDOR
Cbcheck1CBCHECKNot RequiredValid When API- = EEA- And API-TRAN-INV-AMT = EEA-TRAN-PAID-AMTAPP-CASH-CODECHK-CASH-CODE, APP-BANK-INST-CODECHK-BANK-INST-CODE, APP-TRANS-IDENTCHK-TRANS-IDENT
Cbcheck2CBCHECKNot RequiredAPP-CASH-CODECHK-CASH-CODE, APP-BANK-INST-CODECHK-BANK-INST-CODE, APP-TRANS-IDENTCHK-TRANS-IDENT
Cbtrans1CBTRANSNot RequiredAPP-BANK-INST-CODECBT-BANK-INST-CODE, APP-TRANS-IDENTCBT-TRANS-IDENT
Cbtrans2CBTRANSNot RequiredAPP-BANK-INST-CODECBT-BANK-INST-CODE, APP-TRANS-IDENTCBT-TRANS-IDENT
EeapprovalEEAPPROVALRequiredEEA-COMPANYEAP-COMPANY, EEA-APPROVAL-CODEEAP-APPROVAL-CODE
GlsystemGLSYSTEMRequiredEEA-COMPANYGLS-COMPANY

One to many (1) — child tables

RelationTableRulesConditionField map
EematchingEEMATCHINGEEA-COMPANYEEM-COMPANY, EEA-VENDOREEM-VENDOR, EEA-ADVANCE-NBREEM-ADVANCE-NBR, EEM-EXPENSE-NBR

Programs

Updated by (9)

Referenced by (301)