ACDETAIL – Cost Allocation Detail
- System
- General Ledger (GL)
- Prefix
ALD- Primary key
ALLOC-CODE,COMPANY,ACCT-UNIT- Fields
- 5
- Updated by
- 3 programs
- Referenced by
- 67 programs
ACDETAIL is the Cost Allocation Detail table in Lawson General Ledger (prefix ALD). It is indexed by ALLOC-CODE, COMPANY, ACCT-UNIT (ALDSET1). It is related 1:1 to GLNAMES, ACHEADER and GLSYSTEM and 1:M to ACDETAILAU. It is updated by CA05.1, CA05.2 and CA160 and referenced by AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 and 59 more. The table has 5 fields, 1 index and 6 documented relations.
About ACDETAIL
This file contains the allocation code detail information.
Fields (5)
Column = COBOL field name without the ALD- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
ALD-ALLOC-CODE PKALLOC_CODE | Alpha 12 | The allocation code name as defined in CA05.1 (Allocation Code). | CA05.1, CA160 |
ALD-COMPANY PKCOMPANY | Numeric 4 | The General Ledger company number for which the allocation code is defined. | CA05.1, CA160 |
ALD-ACCT-UNIT PKACCT_UNIT | Alpha 15 | The Post To accounting unit. | CA05.1, CA160 |
ALD-VALUEVALUE | Numeric 13 | The value determines the percentage allocated to the company and accounting unit. The percentage is calculated by dividing the line value by the total value. | CA05.1, CA160 |
ALD-VALUE-PERCENTVALUE_PERCENT | Derived | The percentage of the allocated amount that is allocated to the company and accounting unit. | — |
Indexes (1)
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 |
|---|---|---|---|---|
ALDSET1 | ALLOC-CODE, COMPANY, ACCT-UNIT | Primary | AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +22 more (list truncated in source) |
Relations
One to one (5) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Accountunit | GLNAMES | Required | ALD-COMPANY → GLN-COMPANY, ALD-ACCT-UNIT → GLN-ACCT-UNIT | |
| Acct Unit | GLNAMES | Required | ALD-COMPANY → GLN-COMPANY, ALD-ACCT-UNIT → GLN-ACCT-UNIT | |
| Acheader | ACHEADER | Required | ALD-ALLOC-CODE → ALH-ALLOC-CODE | |
| Company | GLSYSTEM | Required | ALD-COMPANY → GLS-COMPANY | |
| Header | ACHEADER | Required | ALD-ALLOC-CODE → ALH-ALLOC-CODE |
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Acdetailau | ACDETAILAU | ALD-ALLOC-CODE → ALU-ALLOC-CODE, ALD-COMPANY → ALU-COMPANY, ALD-ACCT-UNIT → ALU-ACCT-UNIT, → ALU-ACTION, → ALU-DATE, → ALU-TIME, → ALU-UNIQUE-I-D |
Programs
Updated by (3)
Referenced by (67)
- 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
- AP30.2 Distribution Adjustments
- AP30.4 Invoice Cancel
- CA00.1 Allocation Group
- CA00.2 Allocation Groups
- CA10.1 Allocation
- CA10.2 Define Allocation
- CA10.4 Line Copy
- CA10.6 Allocation Copy
- CA10.7 Allocation Detail
- CA110 Allocation Calculation
- CA15.1 Allocation Control
- CA15.2 Allocation Group Control
- CA205 Allocation Code Listing
- GL110 Company Copy Delete
- GL145 Journal Entry Hold Release
- GL146 Batch Journal Control
- GL148 Zone Rebalancing
- GL167 Balance Interface
- GL170 Recurring Journal Interface
- GL190 Journal Posting
- GL191 Currency Revaluation
- GL196 Report Currency Translation
- GL197 Period, Year End GL Commitments Processing
- GL199 Period Closing
- GL300 General Ledger History Delete
- GL40.1 Journal Entry
- GL40.2 Define Journal
- GL40.3 Speed Entry
- GL40.6 Journal Copy
- GL40.7 Totals
- GL40.8 Journal Entry
- GL41.4 Workflow Journal Entry Update
- GL44.1 Report Currency Entry
- GL45.1 Journal Control
- GL500 Fiscal Year Change
- GL70.1 Recurring Journal
- GL70.2 Define Recurring Journal
- GL70.3 Amounts Only
- GL70.6 Recurring Copy
- GL75.1 Recurring Journal Control
- IFGT.1 GLTRANS Interface
- 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
- MA70.1 Invoice Unmatch
- MA75.1 PO Invoice Cancel
- MAI1.1 Invoke for MAMATCH Object