ACCUAMT – Activity Currency Amount

System
Activity Management (AC)
Prefix
ACU
Primary key
ACTIVITY-GRP, ACTIVITY, CURRENCY-CODE, BUDGET-NBR, FISCAL-YEAR, ACCT-CATEGORY
Fields
24
Updated by
18 programs
Referenced by
19 programs

ACCUAMT is the Activity Currency Amount table in Lawson Activity Management (prefix ACU). It is indexed by ACTIVITY-GRP, ACTIVITY, CURRENCY-CODE, BUDGET-NBR, FISCAL-YEAR, ACCT-CATEGORY (ACUSET1); alternate indexes: ACUSET2, ACUSET3, ACUSET4 and ACUSET5. It is related 1:1 to ACACCTCAT, ACACTGRP, ACACTIVITY, ACBUDDTL, ACBUDHDR, ACMASTER and CUCODES and 1:M to ACCOMMIT, ACCOMMITX and ACTRANS. It is updated by AC120, AC121, AC123, AC127, AC145, AC20.1, AC20.2, AC20.3 and 10 more and referenced by AC130, AC190, AC220, AC297, AC310, AC32.1, AC37.1, AC421 and 11 more. The table has 24 fields, 5 indexes and 10 documented relations.

About ACCUAMT

This file holds values for both budgets and actual amounts only when multicurrency is an issue because the activity currency is different from the activity group currency. Budget information is stored in the budget's currency because the base currency values are stored in the Activity Budget and Activity Budget Detail files. Actual amount information is stored in the base (activity group) currency because the transaction currency values are stored in the Activity Master file.

Fields (24)

Column = COBOL field name without the ACU- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.

Field / columnTypeDescription & valuesUpdated by
#ACU-ACTIVITY-GRP PK
ACTIVITY_GRP
Alpha 15Required key. This is the activity group for the budget and actual amount information.AC120, AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4 +6 more
#ACU-ACTIVITY PK
ACTIVITY
Alpha 15Required key. This is the activity for the budget and actual amount information.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-BUDGET-NBR PK
BUDGET_NBR
Numeric 3Required key. This is the budget number for the budget and actual amount information.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-FISCAL-YEAR PK
FISCAL_YEAR
Numeric 4Required key. This is the fiscal year for the budget and actual amount information..AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-ACCT-CATEGORY PK
ACCT_CATEGORY
Alpha 5Required key. This is the account category for the budget and actual amount information.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-CURRENCY-CODE PK
CURRENCY_CODE
Alpha 5Required key. This field contains the base currency code for the activity group. It is defined in AC00.1 (Activity Group).AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-VAR-LEVELS
VAR_LEVELS
Alpha 30This is the variable level for the budget and actual amount information.AC120, AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4 +6 more
#ACU-PARENT-ACTV SET5
PARENT_ACTV
Alpha 15The parent activity field contains the activity name of the member parent.AC120, AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4 +6 more
#ACU-CURR-ND
CURR_ND
Numeric 1This field defines the number of decimals for the budget currency.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-BALANCE-AMOUNT
BALANCE_AMOUNT
Signed 18.2This is the amount balance for the current year.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-BALANCE-UNIT
BALANCE_UNIT
Signed 17.2This is the unit balance for the current year.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-BEGIN-BAL-AMT
BEGIN_BAL_AMT
Signed 18.2This is the life-to-date amount up until the start of the current year.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-BEGIN-BAL-UNT
BEGIN_BAL_UNT
Signed 15.2This is the life-to-date units up until the start of the current year.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-LTD-AMOUNT
LTD_AMOUNT
DerivedThis is the sum of the Amount Balance and the Amount Beginning Balance fields for the fiscal year.—
#ACU-LTD-UNIT
LTD_UNIT
DerivedThis is the sum of the Unit Balance and the Unit Beginning Balance fields for the fiscal year.—
#ACU-FACTOR
FACTOR
Alpha 15The element that affects the budget change.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-FACTOR-RATE
FACTOR_RATE
Signed 14.7You can type or select the rate that affects the factor. For example, you could type the inflation rate. If you select units and amounts, the rate is calculated.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-MAINT-DATE
MAINT_DATE
Numeric 8 (yyyymmdd)The date last changed.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-MAINT-TIME
MAINT_TIME
Numeric 6 (hhmmss)—AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-ACCT-CAT-TYPE
ACCT_CAT_TYPE
Derived——
#ACU-PERIOD-AMT
PERIOD_AMT
Signed 18.2 Occurs 13 Times ×13—AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-PERIOD-UNIT
PERIOD_UNIT
Signed 15.2 Occurs 13 Times ×13—AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-PERIOD-RATE
PERIOD_RATE
Signed 14.7 Occurs 13 Times ×13You can type or select the rate that affects the factor. For example, you could type the inflation rate. If you select units and amounts, the rate is calculated.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more
#ACU-PERIOD-FACTOR
PERIOD_FACTOR
Alpha 15 Occurs 13 Times ×13The element that affects the budget change.AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +5 more

Indexes (5)

Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
ACUSET1
  1. ACTIVITY-GRP
  2. ACTIVITY
  3. CURRENCY-CODE
  4. BUDGET-NBR
  5. FISCAL-YEAR
  6. ACCT-CATEGORY
PrimaryAC120, AC121, AC123, AC127, AC130, AC145, AC20.1, AC20.2 +22 more (list truncated in source)
ACUSET2
  1. ACTIVITY-GRP
  2. ACTIVITY
  3. CURRENCY-CODE
  4. BUDGET-NBR
  5. ACCT-CATEGORY
  6. FISCAL-YEAR
AC121, AC123, AC127, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +8 more
ACUSET3
  1. ACTIVITY-GRP
  2. ACTIVITY
  3. CURRENCY-CODE
  4. BUDGET-NBR
  5. ACCT-CATEGORY
  6. FISCAL-YEAR ↓
AC121, AC123, AC127, AC130, AC145, AC190, AC20.1, AC20.2 +20 more
ACUSET4
  1. ACTIVITY-GRP
  2. ACTIVITY
  3. BUDGET-NBR
  4. CURRENCY-CODE
  5. FISCAL-YEAR
  6. ACCT-CATEGORY
AC20.6, AC20.7, AC311
ACUSET5
  1. ACTIVITY-GRP
  2. PARENT-ACTV
  3. CURRENCY-CODE
  4. BUDGET-NBR
  5. ACCT-CATEGORY
  6. FISCAL-YEAR
  7. ACTIVITY
KeyChange—

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
ACACCTCATACACTGRPACACTIVITYACBUDDTLACBUDHDRACMASTERCUCODESACCOMMITACCOMMITXACTRANSACCUAMT

One to one (7) — lookups and parents

RelationTableRulesConditionField map
AcacctcatACACCTCATRequired
ACU-ACCT-CATEGORY→AAX-ACCT-CATEGORY (AAXSET1)
AcactgrpACACTGRPRequired
ACU-ACTIVITY-GRP→AGP-ACTIVITY-GRP
AcactivityACACTIVITYRequired
ACU-ACTIVITY-GRP→ACV-ACTIVITY-GRP
ACU-ACTIVITY→ACV-ACTIVITY
AcbuddtlACBUDDTLNot Required
ACU-ACTIVITY-GRP→BDT-ACTIVITY-GRP
ACU-ACTIVITY→BDT-ACTIVITY
ACU-BUDGET-NBR→BDT-BUDGET-NBR
ACU-ACCT-CATEGORY→BDT-ACCT-CATEGORY
ACU-FISCAL-YEAR→BDT-FISCAL-YEAR
AcbudhdrACBUDHDRRequired
ACU-ACTIVITY-GRP→BDH-ACTIVITY-GRP
ACU-ACTIVITY→BDH-ACTIVITY
ACU-BUDGET-NBR→BDH-BUDGET-NBR
AcmasterACMASTERNot Required
ACU-ACTIVITY-GRP→MST-ACTIVITY-GRP
ACU-ACTIVITY→MST-ACTIVITY
ACU-ACCT-CATEGORY→MST-ACCT-CATEGORY
ACU-FISCAL-YEAR→MST-FISCAL-YEAR
CucodesCUCODESNot Required
ACU-CURRENCY-CODE→CUC-CURRENCY-CODE

One to many (3) — child tables

RelationTableRulesConditionField map
AccommitACCOMMIT
ACU-ACTIVITY-GRP→MIT-ACTIVITY-GRP
ACU-ACTIVITY→MIT-ACTIVITY
ACU-ACCT-CATEGORY→MIT-ACCT-CATEGORY
ACU-FISCAL-YEAR→MIT-FISCAL-YEAR
—→MIT-PERIOD
—→MIT-SYSTEM
—→MIT-COMPANY
—→MIT-CURRENCY-CODE
AccommitxACCOMMITX
ACU-ACTIVITY-GRP→MIX-ACTIVITY-GRP
ACU-ACTIVITY→MIX-ACTIVITY
ACU-ACCT-CATEGORY→MIX-ACCT-CATEGORY
ACU-FISCAL-YEAR→MIX-FISCAL-YEAR
—→MIX-PERIOD
—→MIX-SYSTEM
—→MIX-COMPANY
—→MIX-CURRENCY-CODE
—→MIX-ATN-OBJ-ID
ActransACTRANS
ACU-ACTIVITY→ATN-ACTIVITY
ACU-ACCT-CATEGORY→ATN-ACCT-CATEGORY
ACU-FISCAL-YEAR→ATN-FISCAL-YEAR
—→ATN-PERIOD
—→ATN-OBJ-ID

Programs

Updated by (18)

Referenced by (19)