ACALLOC – Activity Allocation
- System
- Activity Management (AC)
- Prefix
AOC- Primary key
ALLOC-NAME- Fields
- 34
- Updated by
- 8 programs
- Referenced by
- 2 programs
ACALLOC is the Activity Allocation table in Lawson Activity Management (prefix AOC). It is indexed by ALLOC-NAME (AOCSET1); alternate indexes: AOCSET2. It is related 1:1 to ACACCTCAT, ACACTIVITY and ACPOOLHDR and 1:M to ACALLOCX and ACCATRANS. It is updated by AC130, AC131, AC30.1, AC30.2, AC30.3, AC30.4, AC37.1 and AC37.2 and referenced by AC230 and AC32.1. The table has 34 fields, 2 indexes and 6 documented relations.
About ACALLOC
The Activity Allocation file stores information on new allocations from AC30.3 (New Allocation).
Fields (34)
Column = COBOL field name without the AOC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
AOC-ALLOC-NAME PKALLOC_NAME | Alpha 12 | This is the allocation name. Allocation name is defined in AC30.1 (Allocation). | AC30.4 |
AOC-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This is the allocation description. | AC30.4 |
AOC-POOL-NAMEPOOL_NAME | Alpha 12 | This is the name assigned to the pool (or amount to be allocated). A pool consists of posted monetary amounts or statistical units found in ranges of activities and account categories, or ranges of companies, accounting units, accounts, and subaccounts specified in AC32.1 (Allocation Pool). Pool balances can be accumulated on a period, year-to-date, or life-to-date (for activity pools only) basis. A pool is attached to an allocation in AC30.1 (Allocation) or to individual allocation lines in AC30.2 (Multiple Pool Allocation). | AC30.1, AC30.2, AC30.3 |
AOC-ALLOC-TYPEALLOC_TYPE | Alpha 1 | This field defines where the allocation will take place.
| AC30.4 |
AOC-OPERATOROPERATOR | Alpha 10 | This field displays the login ID of the person who entered an allocation record. | AC30.1, AC30.2, AC30.3, AC30.4 |
AOC-AUTO-ZEROAUTO_ZERO | Alpha 1 | If you set this field to Yes (Y), percents you enter in AC30.1 (Allocation) are zeroed out after the allocation is processed.
| AC30.4 |
AOC-AUTO-REVAUTO_REV | Alpha 1 | If you set this field to Yes (Y), a reversing entry is created by AC131 (Allocation Update) in the run following the run that creates the original entry.
| AC30.4 |
AOC-STATUSSTATUS | Numeric 1 | This is the allocation status.
| AC130, AC131, AC30.1, AC30.2, AC30.3, AC30.4, AC37.1, AC37.2 |
AOC-DEFAULT-DESCDEFAULT_DESC | Alpha 30 (Lower Case) | This description becomes the transaction description for each transaction whose Description field in AC30.6 (Entry) has been left blank. If this field is left blank in AC30.3 (New Allocation), the allocation description defaults into this field. | AC30.4 |
AOC-PF-ACTIVITYPF_ACTIVITY | Alpha 15 | Optional. This field specifies the activity to which an offsetting transaction is posted. | AC30.4 |
AOC-PF-ACCT-CATPF_ACCT_CAT | Alpha 5 | This is the account category of the post-from activity, to which an offsetting transaction is posted. | AC30.4 |
AOC-CONTROL-GROUPCONTROL_GROUP | Numeric 8 | This is the control group number assigned to the transactions created by the most recent run of AC131 (Allocation Update). | AC131, AC30.4 |
AOC-MAINT-DATEMAINT_DATE | Numeric 8 (yyyymmdd) | This is the date the allocation was last changed. | AC30.1, AC30.2, AC30.3, AC30.4 |
AOC-MAINT-TIMEMAINT_TIME | Numeric 6 (hhmmss) | This is the time the allocation was last changed. | AC30.1, AC30.2, AC30.3, AC30.4 |
AOC-RUN-DATERUN_DATE | Numeric 8 (yyyymmdd) | This is the date of the most recent processing run of AC131 (Allocation Update). | AC130 |
AOC-RUN-TIMERUN_TIME | Numeric 6 (hhmmss) | This is the time of the most recent processing run of AC131 (Allocation Update). | AC130 |
AOC-ALLOCATED-DATEALLOCATED_DATE | Numeric 8 (yyyymmdd) | This is the date the allocation amount was allocated. | AC131 |
AOC-ALLOCATED-TIMEALLOCATED_TIME | Numeric 6 (hhmmss) | This is the time the allocation amount was allocated. | AC131 |
AOC-TOTAL-PCTTOTAL_PCT | Signed 11.4 | This is the sum of the percent values entered in the detail lines of AC30.1 (Allocation). | AC131, AC30.1, AC30.2, AC30.3 |
AOC-LAST-CMT-SEQLAST_CMT_SEQ | Numeric 4 | This is the sequence number of the last comment for the allocation. | — |
AOC-LAST-LINE-NBRLAST_LINE_NBR | Numeric 6 | This is the number of the last line item added to the allocation. It is used to determine the line number when the next line is added to the allocation. | AC30.1, AC30.3 |
AOC-NBR-LINESNBR_LINES | Numeric 6 | This field indicates the number of detail lines for the allocation. | — |
AOC-NBR-CMT-LINESNBR_CMT_LINES | Numeric 6 | This field indicates the number of comment lines for the allocation. | — |
AOC-PT-COMPANYPT_COMPANY | Numeric 4 | This is the company to post the allocation to. | AC30.4 |
AOC-PT-ACCT-UNITPT_ACCT_UNIT | Alpha 15 | This is the accounting unit to post the allocation to. | AC30.4 |
AOC-PT-ACCOUNTPT_ACCOUNT | Numeric 6 | This is the account to post the allocation to. | AC30.4 |
AOC-PT-SUB-ACCTPT_SUB_ACCT | Numeric 4 | This is the subaccount to post the allocation to. | AC30.4 |
AOC-PT-LISTPT_LIST | Alpha 12 | This is the list to post the allocation to. | AC30.3 |
AOC-PF-COMPANYPF_COMPANY | Numeric 4 | This is the company for the post-from activity, to which an offsetting transaction is posted. | AC30.4 |
AOC-PF-ACCT-UNITPF_ACCT_UNIT | Alpha 15 | This is the accounting unit of the post-from activity, to which an offsetting transaction is posted. | AC30.4 |
AOC-PF-ACCOUNTPF_ACCOUNT | Numeric 6 | This is the account for the post-from activity, to which an offsetting transaction is posted. | AC30.4 |
AOC-PF-SUB-ACCTPF_SUB_ACCT | Numeric 4 | This is the subaccount for the post-from activity, to which an offsetting transaction is posted. | AC30.4 |
AOC-POOL-LISTPOOL_LIST | Alpha 1 | Valid values are Yes or No.
| AC30.3 |
AOC-OFFSET-TYPEOFFSET_TYPE | Alpha 1 | —
| — |
Indexes (2)
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 |
|---|---|---|---|---|
AOCSET1 | ALLOC-NAME | Primary | AC130, AC131, AC230, AC30.1, AC30.2, AC30.3, AC30.4, AC32.1 +2 more | |
AOCSET2 | CONTROL-GROUP*, ALLOC-NAME | KeyChange | AC131, AC30.4 |
Relations
One to one (3) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Acacctcat | ACACCTCAT | Not Required | AOC-PF-ACCT-CAT → AAX-ACCT-CATEGORY | |
| Acactivity | ACACTIVITY | Not Required | AOC-PF-ACTIVITY → ACV-ACTIVITY | |
| Acpoolhdr | ACPOOLHDR | Required | AOC-POOL-NAME → POL-POOL-NAME |
One to many (3) — child tables
Programs
Updated by (8)
- AC130 Allocation Calculation
- AC131 Allocation Update
- AC30.1 Allocation
- AC30.2 Multiple Pool Allocation
- AC30.3 List Allocation
- AC30.4 New Allocation
- AC37.1 Allocation Group
- AC37.2 Allocation Group by Step