APACCRCODE – Invoice Accrual Code

System
Accounts Payable (AP)
Prefix
ACR
Primary key
COMPANY, ACCR-CODE
Fields
7
Updated by
20 programs
Referenced by
420 programs

APACCRCODE is the Invoice Accrual Code table in Lawson Accounts Payable (prefix ACR). It is indexed by COMPANY, ACCR-CODE (ACRSET1); alternate indexes: ACRSET2 and ACRSET3. It is updated by AP00.4, AP05.2, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.6 and 12 more and referenced by AC160, AC56.1, AC560, AM115, AM117, AM15.1, AM15.2, AM15.3 and 412 more. The table has 7 fields, 3 indexes and 0 documented relations.

About APACCRCODE

The Invoice Accrual Code file contains invoice accrual codes. An invoice accrual code is used to link a general ledger invoice accrual account to an invoice.

Fields (7)

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

Field / columnTypeDescription & valuesUpdated by
ACR-COMPANY PK
COMPANY
Numeric 4The company number. Must be a valid record in the Accounts Payable Company file.AP00.4, AP05.2
ACR-ACCR-CODE PK
ACCR_CODE
Alpha 4The user-defined invoice accrual code. Accrual codes are used to link a general ledger invoice accrual account to an invoice.AP00.4, AP05.2
ACR-VENDOR-GROUP
VENDOR_GROUP
Alpha 4The vendor group the company is assigned to. Must be a valid record in the Vendor Group file.AP00.4, AP05.2
ACR-APA-ACCT-UNIT
APA_ACCT_UNIT
Alpha 15The general ledger accrual accounting unit assigned to the invoice accrual code. Must be a valid general ledger accounting unit in the Lawson General Ledger system.AP00.4, AP05.2
ACR-APA-ACCOUNT
APA_ACCOUNT
Numeric 6The general ledger accrual account number assigned to the invoice accrual code. Must be a valid account number in the Lawson General Ledger system.AP00.4, AP05.2
ACR-APA-SUB-ACCT
APA_SUB_ACCT
Numeric 4The general ledger accrual subaccount number assigned to the invoice accrual code. Must be a valid subaccount in the Lawson General Ledger system.AP00.4, AP05.2
ACR-ACTIVITY-FLAG
ACTIVITY_FLAG
Alpha 1Indicates that the invoice accrual code has been used. Valid values are:
  • A Active
  • I Inactive
AP00.4, AP05.2, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.6 +11 more

Indexes (3)

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

IndexKeysFlagsConditionUsed in
ACRSET1COMPANY, ACCR-CODEPrimaryAC160, AC56.1, AC560, AM115, AM117, AM15.1, AM15.2, AM15.3 +22 more (list truncated in source)
ACRSET2VENDOR-GROUP, ACCR-CODE, COMPANYKeyChangeAC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +22 more (list truncated in source)
ACRSET3ACCR-CODE, COMPANYKeyChangeAP205

Programs

Updated by (20)

Referenced by (420)