GLACCTVLD – GL Account Validation
- System
- General Ledger Setup (IF)
- Prefix
VLD- Primary key
RECORD-TYPE,CHART-NAME,SUMRY-ACCT-ID,ACCOUNT,SUB-ACCOUNT,COMPANY,ACCT-UNIT,SYSTEM- Fields
- 8
- Updated by
- 14 programs
- Referenced by
- 46 programs
GLACCTVLD is the GL Account Validation table in Lawson General Ledger Setup (prefix VLD). It is indexed by RECORD-TYPE, CHART-NAME, SUMRY-ACCT-ID, ACCOUNT, SUB-ACCOUNT, COMPANY, ACCT-UNIT, SYSTEM (VLDSET1); alternate indexes: VLDSET2 and VLDSET3. It is related 1:1 to GLCODES and SYSTEMCODE. It is updated by GL00.2, GL00.9, GL02.3, GL03.4, GL03.5, GL03.6, GL100, GL110 and 6 more and referenced by AC191, AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 38 more. The table has 8 fields, 3 indexes and 2 documented relations.
About GLACCTVLD
This file is used to validate accounting unit, account, and subsystem information.
Fields (8)
Column = COBOL field name without the VLD- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
VLD-RECORD-TYPE PKRECORD_TYPE | Alpha 1 | This field identifies the type of record defined. Valid values are:
| GL02.3, GL03.4, GL03.5, GL03.6, GL100, GL122, GL124, GL160 |
VLD-CHART-NAME PKCHART_NAME | Alpha 12 | This is the name you assigned to the chart of accounts when you defined your company structure in the General Ledger system. | GL00.9, GL02.3, GL03.4, GL03.5, GL03.6, GL100, GL124, GL160 |
VLD-SUMRY-ACCT-ID PKSUMRY_ACCT_ID | Numeric 6 | The summary account identifier. | GL02.3, GL03.4, GL03.5, GL03.6, GL100, GL124, GL160 |
VLD-ACCOUNT PKACCOUNT | Numeric 6 | This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored. | GL02.3, GL03.4, GL03.5, GL03.6, GL100, GL122, GL124, GL160 |
VLD-SUB-ACCOUNT PKSUB_ACCOUNT | Numeric 4 | This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information are stored. | GL02.3, GL03.4, GL03.5, GL03.6, GL100, GL122, GL124, GL160 |
VLD-COMPANY PKCOMPANY | Numeric 4 | The company number as defined in GL10.1 (Company). | GL02.3, GL03.4, GL03.5, GL03.6, GL110, GL122, GL124, GL160 |
VLD-ACCT-UNIT PKACCT_UNIT | Alpha 15 | The accounting unit is a shorthand notation representing the variable level number. | GL02.3, GL03.4, GL03.5, GL03.6, GL100, GL121, GL122, GL124 +2 more |
VLD-SYSTEM PKSYSTEM | Alpha 2 | A two-character code representing an application used within the Lawson system. (i.e.: GL = General Ledger, AP = Accounts Payable, etc.) | GL02.3, GL03.4, GL03.5, GL03.6, GL100, GL122, GL124, GL160 |
Indexes (3)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
VLDSET1 | RECORD-TYPE, CHART-NAME, SUMRY-ACCT-ID, ACCOUNT, SUB-ACCOUNT, COMPANY, ACCT-UNIT, SYSTEM | Primary | AC191, AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source) | |
VLDSET2 | CHART-NAME, ACCOUNT, SUB-ACCOUNT, SYSTEM | Subset | Where RECORD-TYPE = "D" | AC191, AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source) |
VLDSET3 | COMPANY, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT, SYSTEM | Subset | Where RECORD-TYPE = "M" | AC191, AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source) |
Relations
One to one (2) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Glcodes | GLCODES | Required | When VLD-RECORD-TYPE = "M" | VLD-COMPANY → GCD-COMPANY, VLD-SYSTEM → GCD-SYSTEM |
| Systemcode | SYSTEMCODE | Required | VLD-SYSTEM → SYS-SYSTEM |
Programs
Updated by (14)
- GL00.2 Define Chart
- GL00.9 Chart Copy
- GL02.3 Template Subaccount Definition
- GL03.4 Summary Account System Restriction
- GL03.5 Detail Account System Restriction
- GL03.6 Posting Account System Restriction
- GL100 Mass Chart Account Change Delete
- GL110 Company Copy Delete
- GL121 Mass Account Addition
- GL122 Mass Account Change Delete
- GL124 Mass Accounting Unit Addition
- GL160 Chart of Accounts Interface
- GL20.2 Posting Accounts
- GL20.4 Mass Add Accounts
Referenced by (46)
- AC191 Accounting Unit Balance Post
- AP125 Batch Release
- AP126 Mass Invoice Release
- AP20.1 Basic Invoice
- AP20.2 Taxed Invoice
- AP20.3 Detail Invoice
- AP20.4 Invoice Line Detail
- AP20.5 Multiple Invoice
- AP20.7 Distributions
- AP21.1 View Distributions
- AP23.1 Transit Invoice Entry
- AP25.1 Batch Control
- AP25.2 Batch Review
- AP26.1 Invoice Release
- AP27.1 Single Invoice Release
- API1.1 Add Invoice
- API2.1 Add Invoice
- BR44.1 Mass Transaction Transfer
- CB222 Cash Position Reconciliation
- DR100 Distribution Requirements Report
- GL14.8 Copy Accounting Unit Template
- GL288 GL Grand Livre Report - Period
- IC141 Location Replenishment Report
- IC142 Replenishment by Requisition PO's
- IC222 Unreleased Documents
- IC83.1 Par Location Counts
- IFAC.1 General Ledger Account Edit
- MA41.1 Add-On Cost Detail - Purchase Order
- MA41.2 Add On Cost Lookup
- MA41.4 Miscellaneous Add-On Cost
- MA41.7 AOC Approval Entry
- MA42.2 Memo Line AOC Detail
- MA43.2 Purchase Order Lookup
- MA44.1 Invoice Line Detail - Purchase Order
- MA44.2 Invoice Line Detail- Service
- MA61.1 Match Invoice Approval
- MAI1.1 Invoke for MAMATCH Object
- RQ10.1 Requisition
- RQ10.3 Select and Copy
- RQ11.1 Kit Accessories
- RQ13.2 Direct Line Approval
- RQ35.1 Requisition Returns
- RQ500 Requisition Interface
- RQIB.1 RQRQHUPD Invoke Object
- RQIF.1 RQRLNUPD Invoke Object
- RQIJ.1 Requisition Copy